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.

2
votes
0answers
14 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
36 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
18 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
17 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
25 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
75 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
39 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
11 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
0answers
13 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
27 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
28 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
25 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
84 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
25 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
25 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
20 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
29 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
26 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
15 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
67 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
40 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
69 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
13 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
37 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
26 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
24 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 ...
0
votes
0answers
19 views

Extend Catalog Search Indexer

I would like to extend catalog search indexing by adding some own values to the fulltext index. I am researching the magento catalog indexer a while now and do not find a good entry point to change ...
1
vote
0answers
12 views

Magento 2 - “url_key” Product Attribute, force as required and unique

Is it good practice to force the "url_key" product attribute to be both "required" and "unique" by default? update eav_attribute set is_required=1,is_unique=1 where attribute_code = "url_key"; As ...
0
votes
1answer
15 views

How to get Magento 2 product image on custom phtml by product id Without loading product collection

I need product image on custom phtml in magento 2. Product is collection is a array not object. I just want to product product_base_image , without loading product collection. I tried <?php ...
0
votes
2answers
75 views

How to get product image by product Id in magento2

I am not able to get the absolute path of image by product id in magento2. Can anybody help me? I am able to get media path so far by directoryList class by doing this $this->directory->...
0
votes
0answers
62 views

Changing the style of <span class=“price”></span> on catalog pages

I have been having a hell of a time trying to achieve this price style on the frontend of my Magento 2 site. This was achieved by splitting up getDisplayValue() into an array from magento/...
0
votes
2answers
26 views

how to get productId in sign up or sign in page when full page cache on in magento2?

I want to redirect page if customer come from product page ->sign up page i want redirect them after sign up on product page. But i am not getting product id on that page if full page cache is on in ...
0
votes
0answers
13 views

control the visibility of add to cart according to group and their catalog magento 2

I have created two catalogs and two group and each group had his own catalog so when he connects he can just see added to the cart of his catalog and not the other catalog. Is there a sol of creating ...
0
votes
0answers
10 views

Restrict add to cart visibility according to group magento 2

I have two catalog and two group when a customer that belong to group 1 is connecting he can just see add to cart of catalog 1 and same for a customer that belong to group 2 he can just see add to ...
0
votes
0answers
23 views

Can we Create Product attributes with condition in magento 2

I'm having issues while creating product attribute with condition. I have two Options : Yes and No If any SKU Condition is yes then customer can order Quantity 3 else they can order 1 or more. For Ex....
0
votes
0answers
75 views

Magento 2 - How to get product custom option values in custom file?

I want to override custom options template file.I want to show static image with each option value. I just create a custom file in Catalog module but don't know how to achieve this task? app/design/...
4
votes
1answer
104 views

Magento 2 How to remove default website checkbox checked while add new product?

Magento 2.2.5. I have set up a multi website and it is working fine. My problem is when admin create any new product Product in website field default website selection checkbox is checked by default....
0
votes
0answers
192 views

Magento 2.2 Catalog Price Rule Wont Apply

I am using Magento 2.2. I have set Catalog Price Rule. I have saved and applied for all. I have cleared the cache. I have also Reindex all Magento 2 indexers using below commands: php bin/magento ...
0
votes
0answers
64 views

how to get custom attribute value for related products in product details page

I am overriding default related.phtml in custom theme Magento_Catalog but data is not showing properly.If Any One have idea please help me. <?php if ($currentProduct = $block->getProduct()) {...
1
vote
1answer
187 views

Magento 2: When use Flat Catalog Product it gives SQL error

When I am changed setting for Flat Catalog Product to Yes, it gives SQL error in magento 2. Stores >> Configuration >> Catalog >> Catalog Is this known bug in magento 2.2.6? I have done re-...
0
votes
1answer
71 views

additional catalog attributes not working in catalog_category_view

In my templates I want to have access to custom product attributes on the detail page, the cart and also the category list view. This can be (or should be) easily achieved by creating a Vendor/Module/...
1
vote
1answer
50 views

magento 2 move product_list_toolbar after category.cms or category.view.container

I like to move the product_list_toolbar element after the category.cms or category.view.container, for that have tried the following code <move element="product_list_toolbar" destination="category....
0
votes
2answers
159 views

How to remove white background from product images in Magento 2.2.6?

How to remove white background from product images in Magento 2.2.6? Please check this screenshort
0
votes
1answer
31 views

Magento 2 multistore product setup

I am using magento 2 , and i created many store and store view. i am getting trouble in setup like: 1. how to assign one product to multiple store and store view at the time of create product. 2. how ...
0
votes
0answers
38 views

Magento 2 - Apply filter on Product collection

Is there any common event or plugin to apply the filter to product collection which includes product list page, related products list as well as upsell and cross-sell product list? If no, then how ...
0
votes
1answer
218 views

Magento 2 Catalog price rule on special price

Currently Magento is using the special price if it is lower than the applied catalog price rule. If the catalog price rule makes the product cheaper than the special price, then the catalog price rule ...
1
vote
2answers
62 views

Magento 2: Cant get custom attribute when configured in catalog_attributes.xml file for mincart

I need to get a custom attribute value to Min cart, But I am missing some thing on the catalog_attributes.xml to get the attribute value. di.xml <?xml version="1.0" encoding="UTF-8"?> <...