Questions tagged [catalog]

It should be used for questions regarding the catalog module.

Filter by
Sorted by
Tagged with
1
vote
0answers
52 views

Magento 2 Unit Testing with Helper dependency

I have a Helper class and a Model class, which looks like <?php # File: app/code/MagePsycho/Catalog/Helper/Data.php namespace MagePsycho\Catalog\Helper; use Magento\Framework\App\Helper\...
0
votes
1answer
33 views

How to deal with a category which has over 100K products?

Our site (CE version 2.3.4) is extremely slow on the backend and frontend for a particular category which has over 100K items. What is the best way to split this up so that we can see performance ...
1
vote
1answer
19 views

After update Magento 2.3.5 to 2.4.2 on all category pages error: Exception #0 (RuntimeException): Catalog Layer has been already created. How fix?

After updating the version, I started getting on all category pages this error: Exception #0 (RuntimeException): Catalog Layer has been already created This is error in: vendor/magento/module-catalog/...
0
votes
0answers
13 views

0.01 rounding error in catalog

I have admin prices excluding tax in admin, with a 19% tax on some stores. The client wants the prices to come out rounded - eg. 26.90 I made a simple calculation to find out what price I should enter,...
1
vote
2answers
20 views

Magento 2 - Change amount of products per row in category view

Currently there are showing 4 products per row in the category view. How can I make it show 3 products per row instead? I found this answer. It says there is a file Magento_Catalog\web\css\source\...
0
votes
0answers
3 views

Magento 2.3 - Sirena Theme problem

In my Catalog Product I've made some changes in list.phtml to display custom element. It does work perfect for Desktop but I can't see the element in mobile. There is no mobile version (can't locate ...
0
votes
1answer
14 views

How to show random product collection on category page in magento 2?

How to override the default category product collection to show random products on the category page in Magento 2? Also, sort-by should be work when it selected. Could someone help me with this issue?
0
votes
2answers
17 views

Add text under AddToCart Button in Product Description Page Frontend - Magento2.3.5-p2

I tried so many ways to add text under addtocart button in PDP page, but nothing works. My block and phtml not getting called. catalog_product_view.xml <?xml version="1.0"?> <page ...
0
votes
0answers
12 views

Magento 2: Add Customer Attribute to Prevent Fastly Full Page Cache in Category and Product Page

I have a site in Magento Cloud with Fastly configured to Full Page Cache and B2B Extension. I use Shared Catalogs and Customer Groups to restrict Categories and products, adding products to Shared ...
0
votes
0answers
12 views

How can i add a function to scroll product images in the catalog search list page?

so... i have been trying to solve this situation for a few days now... In theory, it should not be difficult to solve... But i cant find the right way to do it... If i search for a product... i am ...
0
votes
0answers
8 views

How can the customer erase/take out from store a product previously uploaded? HELP PLEASE

I cant believe how such an important function is not available, or how i cant find any response in the internet. When a customer registers, then goes to seller store, and adds a product to be ...
0
votes
0answers
9 views

Add custom filter in frontent product catalog

I've been looking for a few days to add a filter to the display of products in a category. This filter is a date and should not be visible to users. I managed to do it in version 2.3 but with version ...
0
votes
0answers
27 views

Catalog product and Stock index Error

I am getting this strange error while reindex, and I cannot find any solution on google or on stackoverflow. Stock index exception: SQLSTATE[42S01]: Base table or view already exists: 1050 Table './...
0
votes
0answers
12 views

Placeholder Image not showing in frontend

I was using cdn for media intially but then later replaced it to pub/media/. I dont have any product images with me, hence I uploaded placeholder images from admin. The products still load from pub/...
0
votes
0answers
21 views

Getting Wrong Final price in Magento2

We catalog price rule which give 35% off on all category product. SKU T1: $50 Regular price- $32 Salable Price Now I am loading that product throught product factory $product = $this->...
0
votes
0answers
14 views

Minicart and header links not functioning in the catalog.topnav section

If Minicart and header links in header.panel everything working, after moving elements to catalog.topnav its not working. Any help thanks.
0
votes
0answers
24 views

Magento 2.4 Custom Product Multiselect Attribute Options not saved

I have created a Multi-Select Product attribute programmatically but my options are not being saved. Vendor/CustomProductAttributes/Setup/Patch/Data/AddAllowedCountriesAttribute.php <?php ...
0
votes
0answers
8 views

Cart rule is not applied for Euro Currency format

Below are the cart rule which is working fine for $ currency format but it is not working or Euro currency format,Please help on this Apply the rule only if the following conditions are met (leave ...
0
votes
0answers
59 views

Illegal Argument Error When Re-indexing

I've ben having some trouble with my site since upgrading to Magento ver. 2.4.0. My products don't appear in the category pages and when I try to reindex I get the following error message: Catalog ...
1
vote
0answers
15 views

Configurable child product custom attribute gets value by parent

Is there any way to inherit custom atribute value parent to child ? eg: i have custom attribute "test" , creating configurable product productConf with child productConf-l, changing value &...
0
votes
1answer
18 views

Magento 2 - Column tier_price is set NULL in catalog_product_index_price table

I tried to populate column tier_price of catalog_product_index_price table but every time that reindex this column return NULL. Why tier_price column return NULL every time i reindex magento 2? ...
0
votes
1answer
7 views

I want to add an image uploader same like already exist in catalog/category/index/ name homepage image in same page

I want to create a image uploader on catalog/category/index/ just like homepage image which is on catalog/category/index/ page Now I am using this to create same above but not success InstallData.php ...
0
votes
1answer
10 views

Magento 2 - Load product, modify attribute and save it back - not working

I try to load a product by SKU, then change the weight to 7777 (for testing) and then save the product. app\code\Company\RalSurcharge\etc\di.xml <?xml version="1.0"?> <config xmlns:...
0
votes
1answer
29 views

How To move Quick View Before Add to Cart in Magento 2?

I used the bss quick view and fist i want to need to remove th hover for quick view button and second one i need to add quick view button before add to cart here see
0
votes
3answers
57 views

how to add custom container inside product.info.main container in magento 2.3.1

how to add custom container in class="product-info-main" referenceContainer="content" and inside catalog.product.view.xml file catalog.product.view.xml <referenceContainer ...
0
votes
0answers
32 views

Add ajax qty plus minus buttons in shop page

Hello guys i want to add qty plus and minus in catalog view so when my clients press plus automatically add the item to cart and if the press minus remove the item specific qty from cart. and if they ...
0
votes
0answers
15 views

Magento 2 After Upgrade Category Save Then Data Show Blank

I am perform upgrade from magento 2.2.1 to magento 2.4.0,but now issue come that when we save category it save successfully but category show blank all category fields show blank. Here is a screenshot ...
0
votes
0answers
31 views

Can not override Magento\Bundle\Model\Product\Type.php in magento2

issue with _construct method: this is my di.xml: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
0
votes
0answers
23 views

Expand admin catalogue product block (`admin__collapsible-block-wrapper`) by default

I want to expand by default some of the blocks present on the product detail page in the admin part like Product Reviews or Images And Videos. I see that some of the HTML attribute are changed when I ...
0
votes
1answer
59 views

Magento 2.3 How to show Out of Stock Products only in Search?

My site is supposed to show out of stock products in some places in the catalogue, so the Catalog > Inventory > Display Out of Stock Products setting is set to "Yes." But I do not want ...
1
vote
0answers
12 views

My Catalog list has no effect on the home page

I have a personalized list.phtml within the "Magento_Catalog" module of my theme, the changes there take effect on the category page, but not on the "Catalog products list" widget ...
0
votes
1answer
23 views

Magento admin products showing error

When I click on CATALOG>PRODUCTS then It's showing me the following message: How can I solve this?
0
votes
1answer
48 views

Magento 2 catalog search not working when letters combine with numbers

Magento 2.3.5-p1 version Suppose the product name is "Super M2" when we search "m2" then it is not showing results on the search page but when the product name is "Super M21&...
1
vote
0answers
66 views

Magento 2 product is “in stock” and saleable qty is zero 'add to cart' still showing in category page

Using Magento 2.3.5-p1 version Product stock status is "in stock" and saleable qty is zero 'add to cart' still showing in category page but the "add to cart" button not showing in ...
1
vote
0answers
81 views

Magento 2 “Add to Cart” button appear on category pages for “Out of Stock” products

Magento 2.3.5 Add to cart button will not show on the category page. It shows instead of "out of stock" Also, there is an issue on Magento GitHub - https://github.com/magento/magento2/issues/...
0
votes
0answers
26 views

Magento 2 API 404 ERROR Looking for SKU

We are having this issue with making API calls to Magento 2. We are working with Magento EE ver. 2.3.5-p2. Making calls: https://localhost/rest/all/V1/products/mreht.Digit?editMode=false&...
0
votes
0answers
58 views

Magento 2 - Catalog Layer has been already created

I have upgraded my Magento from 2.3 to 2.4 and i am getting Catalog Layer has been already created error. Everything was working fine on 2.3. Anyone have any idea what could be the issue? Any help is ...
0
votes
1answer
13 views

Error accessing Catalog > Manage Categories

When I am trying to access Catalog > Manage categories, I am having the below error: Source model "defaultcatview/category_attribute_source_view" not found for attribute "...
0
votes
0answers
52 views

Magento2.4.0 - Catalog search index process unknown error

I am getting a catalog search index process unknown error when I run php bin/magento indexer:reindex I don't know how to solve this. I have successfully connected to Elasticsearch 7 on admin panel. ...
1
vote
1answer
26 views

Get cached product image for preset size

My theme view.xml has: <image id="product_small_image" type="small_image"> <width>135</width> <height>135</height> </image> I have a ...
0
votes
0answers
8 views

Configurable Product showing numerous times?

The configurable products is showing as many times as It is having the number variations like for example If a product has 3-4 variations Then the same product is showing 3-4 time in products page
1
vote
1answer
493 views

Elasticsearch: No alive nodes found in your cluster & test connection gets failed

I have run this command: composer show elasticsearch/elasticsearch then all stats of elastic search runs perfectly. Attached is the screenshot. Also, I have configured in the admin panel. The ...
0
votes
2answers
29 views

Change product sorting from desc to asc on category page

When entering a category, I select the sorting type product name. Sorting shows products in desc mode (z-a) how to implement default asc mode (a-z)
0
votes
0answers
32 views

How to show total price on product page when change of qty of product?

How to show total price on product page when change of qty of product ?
0
votes
1answer
36 views

Thumbnail images are not loading Magento 2.3.0

On Category Listing Page my Product Thumbnail Images are not Loading whenever I apply a Filter on to the Category Page or I try to Navigate to some other pages of the Category. The first page of the ...
0
votes
3answers
53 views

Remove short product description from Catalog page

I'm using Ubuntu 18.04 using php 7.3.15 and my Magneto 2 version is 2.3.3 Some of my short product descriptions seem to be overlaping the price in the Catalog. I have been searching around Google and ...
0
votes
1answer
170 views

Magento 2 All Bundle Product Show Out Of Stock On PDP

In my magento 2 store show all bundle product OUT OF STOCK.
0
votes
0answers
12 views

Magento 1 - Mage::getModel('catalog/product_website')->addProducts() not working in all cases

we are using a script to identify products missing from a website and programmatically adding them by using Mage::getModel('catalog/product_website')->addProducts(). This works in most cases, but ...
0
votes
2answers
54 views

Array to string conversion in Error in magento 2 category app image upload in magento 2?

This is my code, I'm getting that error on line number 62 if, you faced this kind of error,please help me to resolve it this is my code if (!empty($category->getAppImage())) { ...
0
votes
1answer
37 views

Magento2 Use of “Cost” In Catalog Product Edit Advanced Pricing Section

Does anyone explain me what is the use of "Cost" Attribute in magento 2 catalog product edit advanced pricing section?

1
2 3 4 5
21