Questions tagged [catalog]

It should be used for questions regarding the catalog module.

Filter by
Sorted by
Tagged with
0
votes
1answer
53 views

Magento 2 Breadcrumbs show wrong on product page because of cache

Magento 2.3.5 and 2.4 both versions have these issues. The same product is assigned in two categories. Suppose two main categories - Category One and Category Two Category One subcategories are ...
0
votes
0answers
13 views

I can't find any product as a customer from a new customer group created in magento 2.4 CE any idea why?

My site is running on magento 2.4 CE with elastic search. I've been adding products and checking various features of magento. trying to create a group of customers whom i can give discounts on ...
0
votes
0answers
17 views

Magento 2.4.2 not showing products in category pages after update, here the log

Magento 2.4.2 not showing products in category pages after update, this is what I get into the var\log\exception.log: main.CRITICAL: Class Magento\Catalog\Helper\HelperNew does not exist {"...
0
votes
0answers
16 views

When i run catalog:images:resize it taked to much of disk space Magento 2.4.3

We had imported the product to our M2 store after that some product images are shown in the frontend so we checked for a solution and ran the catalog:images:resize command some images are shown in the ...
-1
votes
1answer
41 views

Hide simple product when in configurable

Hide all simple products from Catalog or Search results that are added in the configurable products?
0
votes
0answers
19 views

magento 2 Category Not Showing on frontend after migration

I dump the database from Magento 2 to Magento 2 and the sub-category is not saved in database catalog_category_entity_int and from the backend, its show category is enabled but in database its ...
0
votes
0answers
7 views

multistore catalog promotion problems

I'm working with Magento 1.9 and I'm having a problem with multi-store catalog promotion, since I have a category that is being displayed in 2 stores, and I created a catalog promotion for each store, ...
0
votes
0answers
24 views

Magento 2 configurable product price show 2 times on category page

Default Magento 2 does not provide to show the special price on the category page, for show special price we did these changes file name - Vendor/theme/Magento_ConfigurableProduct/templates/product/...
0
votes
0answers
17 views

How to get current category name in catalog view page(catalog_category_view.xml)?

I have a view model with a method for returning the category names from the current_product (Works in product view page). However it returns null when being used in the catalog view page (...
0
votes
3answers
33 views

How to add block for Specific category's products in Magento 2 by layout/catalog_product_view_attribute_set_id_[id]?

I am trying to the make block visible only in Category 3. The block renders fine in catalog_product_view.xml. However when I change the file to catalog_product_view_attribute_set_id_3.xml, it doesn't ...
0
votes
1answer
26 views

Unable to retrieve value from Block

I am using Magento 2.3.5-p2 I am adding a Google Tag Manager integration code at the Catalog Search, thus this requires me to modify the catalogsearch_result_index.xml and add a new .phtml file which ...
1
vote
3answers
42 views

Magento 2 : Get current product id in product edit page

How do I get the current productId on the product edit page. $request->getParam('current_product_id'); $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $request = $...
0
votes
0answers
18 views

Searching for Products via searchCriteria endpoints (rest/V1/products?searchCriteria) is obscured, but via SKU (rest/V1/products/SKU) is not obscured?

When I try to ping for all products via a simple searchCriteria (rest/V1/products?searchCriteria[pageSize]=1), the total_count is a fraction of the full number of items in our catalog. Or when I ...
0
votes
0answers
25 views

Magento 2 How to set url key for default store view

Magento 2.3.5 version How to set URL key for default store view? Example - All store view URL-key - xyz-test which is correct Default Store View URL-key - abc-test it is not correct I want to set the ...
0
votes
0answers
9 views

Cache types are Invalidate while product saving in admin

main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["cat_p_6","cat_p_9","...
0
votes
0answers
12 views

How do I integrate Magento 2 with the instagram shop?

I want to integrate Magento 2 with Instagram Shop, following a tutorial they say that I should go to System -> Magento Connect, but this option was in Magento 1, in Magento 2 it does not appear, ...
0
votes
1answer
20 views

How to automatic stock details (quantity increment)?

In the warehouse, if we scan the product it has to update in Magento inventory (i mean quantity has to increase). How can I achieve this one?
0
votes
0answers
23 views

Magento 2 | Flush catalog images in production mode

I updated the photos of the products already existing on my site in Magento2 and they are in production mode. Unfortunately I don't see the updated photos, not even when I clear all the cache so I ...
0
votes
1answer
59 views

How to remove cache images if they not in used in magento 2?

i need to create new script if the image not present in real folder and not in used than delete from cache folder example Cach folder image pub/media/catalog/product/cache/...
0
votes
0answers
8 views

Magento 2: Decimal quantity in Grouped Products

Steps to reproduce Magento 2.3.7 Create a number of simple products - each with the below settings in the Advance inventory section. Minimum Qty Allowed in Shopping Cart = 0.1 Qty Uses Decimals = Yes ...
0
votes
1answer
15 views

After Installing "Searchanise_SearchAutocomplete" Product Not Found in magento 2.4.2

i install "Searchanise_SearchAutocomplete" extension in my magento 2.4.2 setup after i install this extention the search autocomplete not working. and got only this error on catalogue ...
1
vote
2answers
63 views

How do I get all products that are displayed on a page?

I am trying to get all the products which are displayed on the current page. The information is used for tracking cookies on the page.ready call. It was possible to get the product from the product ...
0
votes
1answer
47 views

Combine Catalog Price Rule and cart price rule

In Magento 2, I want to use a catalog price rule and exclude the Cart Price Rules. For example, I want to add 10% discount in some products and the user couldn't use a coupon code for extra discount. ...
0
votes
1answer
20 views

When adding new product Category Search box Not displaying results

When I add a new product and then want to add the product categories I am unable to type then in to the search box and get any results. Is there something I need to change? See attached image.
0
votes
1answer
14 views

How to modify product data on observer pre cache?

My problem would be the following: I need to modify the product data on load after the product page was cached. Everytime I load a product I need to request some data to an api and overwrite certain ...
0
votes
2answers
37 views

add js file to catalog page magento 2

I am using Magento 2.2.1. I want to add a js file to change one special span tag content with CSS class "price" on the catalog page. I was using document.getelementnByClass.. for my js ...
0
votes
0answers
16 views

change direction of span price class in magento 2

I have Magento 2.2.1. in price showing which is residing between two span tags with price class, I want to change the direction of that span. when I inspect see lrm; after span tag and I want to ...
0
votes
1answer
201 views

Magento 2.4.3 not showing products and error to reindex Catalog Search

I just installed an Adobe Commerce 2.4.3 B2B + SampleData, but when I open my catalogue of products in the frontend I don't see products in the list, even seeing products in the backend, I thought it ...
0
votes
1answer
33 views

Magento Custom Attribute Sorting - By Sort Order

I would like to get the catalog to sort by the custom attribute sort_order position. However, when using custom attributes to sort product collections, in MYSQL it sorts by attribtute value name, when ...
0
votes
1answer
87 views

Error: Call to a member function getCategoryId() on null when trying to get Category from \Magento\Catalog\Block\Product\View

so I'm trying to check if the category ID is 6 to change the text that appears in delivery time, but when I try to call the $_product, it says that it's null, and I can't figure out why. Any help ...
0
votes
0answers
14 views

Magento storefront custom to public

You are using the Magento B2B module and you are requested to change the catalog type in your Magento storefront custom to public. What are the three results from the change? Choose 3 answers 1)...
0
votes
0answers
19 views

How to change sort at catalogwidget custom grid phtml?

Without modifying the magento core code.I want to sort according to position in catalogWidget Custom Grid PHTML,What should I do?
0
votes
2answers
107 views

Fastest way to assign multiple products to the same category programmatically?

I am working in a process to will weekly updating a list of products and assign them to a sales category. The list could have 2000 products or more each time. Right now I am using the method ...
1
vote
0answers
103 views

Magento 2 - list products out of stock at the end with ELASTIC SEARCH

I need to show out of stock products on at the end of listings using ElasticSearch on Magento 2.4.*. I was able to order without ElasticSearch, but once I enable ElasticSearch it won't work. It feels ...
2
votes
0answers
78 views

how to regenrate every product url with category path magento 2

Hey there i have been searching for solution of my issue i have multiple product slider widget in diffrent cms pages but the url of that prodcucts are http://127.0.0.1/kisna/new-prodcut.html and on ...
0
votes
1answer
37 views

Magento 2 Target Rule constantly invalidating in EE

I am using Magento EE - 2.3.1 version with Varnish and my debug.log file is full with the below log report.DEBUG: cache_invalidate: {"method":"GET","url":"<...
3
votes
2answers
85 views

Replace thumbnail with small image in Admin Catalog Products

I'd like to display "small image" in place of "thumbnail image" for each product in magento administration Catalog > Products. I tried editing file /vendor/magento/module-...
0
votes
0answers
96 views

Magento 2: Disable redirection to product page if requested quantity is not available on add to cart function

On catalog category page, when I add any product to cart and the requested quantity is not available, it redirects to product page and shows error message there. What I want is to display error ...
0
votes
0answers
24 views

Magento 2 : Alter Category Child Product Positions

The Category Child Product Positions script pushes positions for every single product from the parent to the child (subs) effectively undoing the previous merchandising for all products of all child ...
1
vote
0answers
34 views

Magento 2 : Issue with Gift card price

When i choose the UK store from UI Dropdown, i notice the gift cards display US currency rather that GBP. I’m facing an strange issue on adding price amount base of store selection (US,UK,EU), on ...
0
votes
0answers
20 views

Magento 2.3.6: Post upgrade to 2.3.6 from 2.3.5-p Category pages not showing

After upgrading from Magent0 2.3.5-p to 2.3.6 the category pages are blank. System specs. PHP 7.3 Elastic Search 7.13 Checking the error logs shows the following error. Stack trace: #0 /vendor/magento/...
0
votes
1answer
138 views

Magento2 How to filter Product collection by Stock (Get only In stock products)

I want to filter product collection by stock and get only In stock products. I have tried multiple ways and followed multiple stack solutions but nothing works as expected. I am using the Smartwave ...
0
votes
0answers
30 views

How to exclude a field (attribute) to filter on admin catalog search

We're setting up a M2 and we have about 60K simple products in the catalog. There are plans to include 3 times more products in the catalog but we're struggling with performance issues. The products ...
0
votes
0answers
37 views

Catalog Search is not getting the Accurate Search Result Magento 2.3.5

In Magento 2.3.5 the catalog search result is not accurate i trying to get the accurate search result in the Frontend search. So i tried some ways Catalog reindex Removed the Unwanted attribute ...
0
votes
1answer
79 views

Magento 2 : How to assign related product to main product programatically

Is their any way can we assign multiple related products to a product ? for example i have to assign from a csv row Main SKU, SKU #1, SKU #2, SKU #3, SKU #4 p226944, p210881, p213312, p218070, ...
0
votes
0answers
16 views

After enabling shared catalog in magento (cloud), the assigned price structure for the created catalog is not applied at frontend

I have created a new shared catalog in a magneto cloud environment and I also assigned the prices & companies for the created catalog. But the price structure that I have configured in the shared ...
0
votes
2answers
162 views

Magento 2 - Create Product attribute programmatically without InstallData

We need to create a script that creates product attributes. Product attribute comes from third-party API when creating a product attributes its checks attribute is available or not. If that is not ...
0
votes
3answers
31 views

Problem with empty store page after downgrading MAgento 2.4 to 2.3.5

Due to a payment provider that shall remain nameless not yet updating their extension to be 2.4 compatible, we've had to downgrade a new store from 2.4 to 2.3.5 The process wasn't particularly ...
0
votes
2answers
128 views

Magento 2 - Custom page layout not working properly

I have some big grouped products (with sku: montagekonsole and montageschiene). I need to change the layout for both. First I just created custom sku handles for each product like this: THEME/...
2
votes
1answer
126 views

Magento 2.4.2 How to customise product custom option drop-down value?

I have added a product option with a percentage discount. check the below screenshot. And it is showing perfectly on the front end. check the below screenshot. By default, Magento applies custom ...

1
2 3 4 5
21