Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [catalog]

It should be used for questions regarding the catalog module.

3
votes
2answers
54 views

How to add group product into the cart individually?

I have two simple products associated with a group product at the product description page and have a separate add to cart button with each product I want to add these products to the cart ...
0
votes
0answers
7 views

Where to edit magento 2 catalog pages

So I have a magento 2 installation on Ubuntu (aws lightsail) and I am using the pearl theme. I have ftp/server/ssh access. I am trying to add some custom html to the catalog pages to have the banner (...
0
votes
1answer
26 views

Magento 2.3 products not visible

After migrating data and products from Magento 1.9 I can see all my categories and products available in the backend. But not on the frontend. I've checked all options; Products are "enabled" ...
0
votes
1answer
35 views

add new column to catalog product entity table

I add new column to catalog_product_entity. so when i want to add new filter to collection i get this error The "user_id" attribute name is invalid. Reset the name and try again. $subject->...
1
vote
2answers
33 views

Get Product Id On Product Page

How can i get product id on product page without registry? Such as class registry is deprecated in magento 2.3
0
votes
0answers
20 views

set default filter to admin product grid

i wanna set a filter to admin grid collection by creating plugin or override Block class . for example show all product that price are more than 1 $ how i can do this.
2
votes
1answer
20 views

How to fix the related product issue in admin after migrated to magento 1 to magento 2.3

I am using Magento 2.3.0 I have migrated products from Magento 1 to Magento 2. I can see related products in product detail page in the front end and it is proper and also I can find related products ...
1
vote
0answers
14 views

'Migration Meta Information' is not updating when I edit product title/name in magento 2.3

Previous question title: same 'Migration Meta Information' is displaying for all product edit page in magento 2.3 Edited question title: 'Migration Meta Information' is not updating when I edit ...
0
votes
3answers
80 views

Magento 2 : get custom attribute value display blank

In Magento2 , I need to get eav attribute value in category data. I used this below code. But, it's not working. /** \Magento\Catalog\Model\CategoryFactory $categoryFactory**/ $category = $this->...
0
votes
0answers
16 views

How to not use attribute default value over rest API in magento2

Im working on api integration between one store of magento2 multi store installation and product db of a client. Our current problem is that part of the items for in our store are duplicated (same sku)...
0
votes
2answers
29 views

Magento 2: catalog_product_save_after only for new products?

Ive made an observer for the catalog_product_save_after event, but I want to only fire it when a new product is added to the catalog. I did the same for the sales_order_save_after event and just ...
1
vote
1answer
47 views

How to override product model files in Magento 2?

I am using Magento 2.3 I have override below core file. vendor/magento/module-catalog/Model/ProductLink/CollectionProvider.php To override this file I have created a new custom module in app/code ...
0
votes
2answers
32 views

Is it possible to resize catalog image for only one product in magento?

I want to resize only one catalog product images. Is it possible in magento2? I already know the command for resizing catalog image: php bin/magento catalog:images:resize but i want to do this ...
0
votes
1answer
13 views

Wrong number of result in toolbar after overriding ListProduct

I've overrided the ListProduct.php file for the catalog, to show product based on customer attribute. But now I have the wrong number of element in the toolbar (I have 3 products displayed but still ...
0
votes
1answer
25 views

Create attribute for several product

I have many hundred products and I want to create a product attribute to apply to all of them but with different value. But I don't want to change the attribute product by product, it would take so ...
0
votes
1answer
18 views

Show product catalog based on Customer

how can I show catalog products based on customer custom field ? I've done di.xml I've done this but is doesn't filter . This is what I have in ListProduct.php (used in di.xml) protected function ...
0
votes
0answers
9 views

How to customize the keyword search query in magento1

Example - Suppose if Product name is "abc-def" then search result will come who start with that name(abc-def) but i need if user search "abcdef" then my result would be come which product name start ...
0
votes
2answers
39 views

Show product based on customer attributes

I've added a field for my customer (called "Group"). I want to show the product from the catalog based on this group (I have added a "group" field in my product). What do I need to override to do ...
1
vote
2answers
24 views

Magento 2: How to filter category by store id?

I want to filter category by store id. Used the following code, but it is not working. $collection = $this->categoryCollectionFactory->create(); $collection->addAttributeToSelect('*') ...
2
votes
0answers
29 views

Customer specific product offering - Best practice

To build an e-commerce site that offers a specific set of products for each state of a country, what would be the best practice to be followed from below listed approaches (or another approach) to ...
1
vote
1answer
49 views

Missing add to cart button on some items

We're experiencing a strange issue with our catalog, I'm scratching my head of where to start looking for... Here are the symptoms: Item X - doesn't have the "Add to Cart" Button. When I go to the ...
3
votes
1answer
31 views

Sort order by category id (or custom order)

i'm struggling on that simple point. How can I order my catalog search by categories ? i want to order my catalog search result like this : Categorie 1 / Category 2 / Category 3 I tried changing ...
1
vote
1answer
19 views

Magento : Is the layout reference scoped for an specific handle?

When I put the following block inside catalog_category_layered handle, it works and I can call it by getChildHtml(). But when I insert it in default handle it doesn't work at all. Is the catalog.layer....
2
votes
0answers
48 views

Magento 2.2.5 - Delete all products and products images

I have a site with Magento 2.2.5, with thousands of products imported via Magmi v0.7.23-git with csv. I tried to delete all these products with the Magmi utility 'Clear Catalog v1.0.4', and then ...
0
votes
1answer
20 views

i add to custom filed in category form for upload image but facing issue that i mention below

string category Menu Image true fileUploader ui/form/element/uploader/uploader ...
2
votes
0answers
20 views

How to show/hide shared catalog enabled categories in layered navigation in Magento 2?

We have enabled the b2b extension. When we select specific categories on shared catalogs, it hides only on the mega menu, but layered navigation still lists the categories. How can we hide it from ...
3
votes
1answer
31 views

Magento 2: Product List Not Showing in Catalog and Search

I am having a problem with the product list when adding new products. It was working properly until I added a new product. Then, the product list stopped being visible in the catalog pages and search ...
0
votes
3answers
84 views

Magento 2 - How Can I Update Catalog Product Price Programmatically in Frontend and Add Product to Cart With New Price?

I create one Module and make a custom form which is display in the catalog product view page. when the customer change option from dropdown then the product price will change and also that updated ...
1
vote
0answers
48 views

How to redirect to 403 custom error page in magento2 from controller

I am trying to redirect to custom 403 error page. I have created plugin for controller as follow: etc\di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
0
votes
0answers
15 views

How to works catalog search?

When I do some searches in the catalog using global search, Magento shows me some weird results of products not related. For example, if I search for "500" string in global search, it shows prodcuts ...
1
vote
1answer
19 views

Catalog page loads at the middle of the screen when using pagination - M 2.1.15

When I go to page 2 or 3 it takes me to the lower middle half of the page instead of the top of the next page. Is there a way to make it go to the top of the next page instead?
1
vote
0answers
15 views

Magento : How to set product type as 'Simple product' when adding new product? OR how to change the product type from virtual to simple?

Currently, when I am adding new product its product_type is set to 'Virtual'. I am adding simple product as shown in below image. Why this is happening while adding the product of type simple.
2
votes
1answer
34 views

Magento 2 Add discount on bundle product on add to cart time

I have to add some discount programmatically on the time of bundle product add to cart. So far I have developed the catalog product plugin Magento\Catalog\Model\Product function afterGetFinalPrice ...
1
vote
1answer
35 views

magento 2 Deepest Category product list page gives Error 500. Which files to inspect?

The site I'm working on the lowest category page (suppose to be list view) give the error 500. I'm not quite remember file I edited. search result also return the same error. Which files should I ...
1
vote
0answers
38 views

Magento 2 catalog search for SKU with dot not working

our SKU's have dot's like: "120.00085" If I search this string I get all products with "120.XXXX". But the product with exact this SKU is not at the first position in the results. Is there any ...
1
vote
0answers
170 views

Something went wrong with processing the default view and we have restored the filter to its original state

I got this error when I go to Catalog > Products and select a filter. I'm on Magento 2.2.6. Magento says this bug is supposed to be fixed on 2.2.6 but clearly it's not.And unfortunately I do not ...
1
vote
0answers
31 views

How to remove watermark from image from the product grid in magento2?

I have uploaded one product using csv with base,small and thumbnail images. I am not getting watermark images for base and small but for thumbnail image which are used in product grid. So how to ...
0
votes
0answers
11 views

Trouble with 'Manage Products'

When we try to go to next page in Catalog > Manage Products the screen just freezes on please wait. Any tips would be very helpful. Thanks
2
votes
1answer
31 views

1.9.2 catalog price rule - Cron not working.. Discounts disappear

Applied Catalog price rules but they are being removed within 24 hr period. So far I have; *added end dates to rules *re-indexed *flushed cache *change time zone code (as per other posts suggestions) ...
0
votes
1answer
21 views

Magento 2 - Edit Price/Quantity from Catalog > Products main view

Is it possible to edit information for products (such as the quantity or price) on the overview page? For instance, I have 15 products pulled up, and need to add stock to all of them (but different ...
0
votes
1answer
30 views

Solved: Magento 2 move productpage title around div

I want to move the product page title around a container div. I added the following to my catalog_product_view.xml file, but that does not add the div with class container. What am I missing? <...
0
votes
0answers
39 views

How to resize product view page image on different devices in magento 2

I'm trying to resize product view page image in mobile view. it's very small and not visible I tried resizing by adding new size in <Theme Root>/etc/view.xml and php bin/magento catalog:images:...
0
votes
0answers
18 views

How to add image roles store-wise to already added image programmatically

I am running a website with 2 store views, and 1 website. I have products where images are already added. And image roles are assigned on "All Store Views", but roles have been deleted by the admin ...
1
vote
1answer
97 views

Magento 2 Override Gallery.php file

I would like to override /vendor/magento/module-catalog/Block/Product/View/Gallery.php file getGalleryImagesJson function In result I would like to get - public function getGalleryImagesJson() { ...
0
votes
1answer
49 views

Magento 2 - Enabling Flat Catalog causes SQL error. Reading from “report” tables

When I enable the flat catalog in my Magento 2.2.5 installation, I get an error. SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.name' in 'field list', query was: SELECT COUNT(...
3
votes
1answer
156 views

Magento 2.3 use of `db_schema_whitelist.json` file in etc directory of each module

What is the use of db_schema_whitelist.json located in Magento Catalog etc directory? In Magento 2.3 version, I found db_schema_whitelist.json and db_schema.xml files, in the Magento_Catalog module. ...
0
votes
0answers
16 views

Remove Auto-generated URL Rewrites

I've been having this issue with auto-generated URLs. The catalog/* URLs keep auto-generating the red box are the URLs that auto-generate, the green box are the URLs that I want. How do I stop the red ...
0
votes
0answers
44 views

ACL Resources Access Customization and Admin form customization

I am new to magento so can somebody please help me out? I have created a new user (belonging to custom role group = vendor) who can login to admin panel and add their own products, for that i have ...
0
votes
0answers
30 views

EE 1.11 SOAP V2 catalogProductInfo additional_attributes

I am using SoapUI to test the SOAP V2 APIs. Currently working with products and need some help with the correct syntax to call all additional_attributes. Herein is what I am doing right now: magento-...
0
votes
0answers
31 views

How to implement “Uses Per Customer” in Catalog Rules?

How can I implement "Uses Per Customer" functionality (Same Like Cart Price Rules) in Catalog Rules? Say for example. If I enter 3 in Uses Per Customers. Catalog Price rule has to apply only 3 times ...