Questions tagged [catalog]

It should be used for questions regarding the catalog module.

Filter by
Sorted by
Tagged with
0
votes
2answers
1k views

Class 'Varien_Data_Form_Element_Datetime' not found

when trying to edit a product in admin I suddenly got this error: PHP Fatal Error: Class 'Varien_Data_Form_Element_Datetime' not found in /home/public_html/lib/Varien/Data/Form/Abstract.php on ...
0
votes
1answer
27 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&...
3
votes
3answers
5k views

Magento 2 no Layered Navigation after filter collection

We've added a default filter for our product collection by adding a plugin: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
1
vote
1answer
1k views

How to get product parent category id and category id separatly in magento 2.2.6 using product ID?

Problem definition: I have product under below category: Beauty --> Sun --> my-some-product-name. where 'Beauty' is root category and 'Sun' is the subcategory of 'Beauty'. Currently, I am ...
1
vote
0answers
34 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 ...
0
votes
2answers
43 views

Magento 2 remove add to cart button for specific products?

I have tried to remove the Add to cart button with many solutions out there, but none has worked. I'm using this solution: How to remove the Add to Cart button from Catalog pages in Magento 2?. Also ...
1
vote
0answers
19 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/...
2
votes
2answers
2k views

Some of the pages in admin Dashboard not loading, received Error in magento 2.0.6

Catalog page not loading in admin dashboard of Magento 2.0.6. Please see the error message below: Warning: Magento\Framework\Locale\TranslatedLists::getCountryTranslation(): Cannot load resource ...
3
votes
2answers
4k views

Magento 2: How to hide quantity box for certain products which has only quantity?

I have certain products, which customers can buy only one. So whether needs to remove Qty box for that products only or can be managed from settings?
1
vote
2answers
1k views

Magento 2 Mass Product Action module

Hi magenticians I need the code of the module magento 2 which allows to add a text input when clicking on a mass action to enter a value like this example
0
votes
0answers
10 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
25 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
7 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 "...
33
votes
7answers
14k views

Questions to expect in an interview for a Junior Magento Developer Position

Firstly I would like to say that I hope I am not posting in the wrong place with this question and if I am please advice me of where (if anywhere in the stackexchange world is appropriate) I should ...
0
votes
0answers
22 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. ...
0
votes
1answer
115 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 ...
1
vote
1answer
19 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 ...
2
votes
1answer
2k views

Magento 2 : How affects Enable Single-Store Mode Yes/No?

I have 1 single website with single store. When I enable Single-Store Mode to Yes/No Not able to change Product Url. https://github.com/magento/magento2/issues/5929#issuecomment-238170690 What is ...
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
26
votes
4answers
27k views

Why and when to use “ Flat Catalog”?

While doing bit research for speed issue of magento website i got some links where people says enable "Flat Catalog" to increase performance and speed . Issue is that why it is not enabled by default ...
2
votes
2answers
3k views

Products on homepage: get more than 12 products

Im trying to show a few products on my homepage I got pretty far using this code: {{block type="catalog/product_list" name="product_list" category_id="74" column_count="5" num_products="24" mode="...
0
votes
3answers
2k views

Show brand attribute in product listing

I would like to show the Brand attribute under the product name on the listing page. Attached is a screenshot for reference.
0
votes
2answers
21 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
26 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
23 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 ...
4
votes
4answers
1k views

Best practice to connect Magento 2 to price/product service

I have my own price/product service that I need to connect to Magento. The service has a variable amount of products with very variable prices. The price can change with every request a customer makes....
0
votes
3answers
21 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 ...
3
votes
2answers
1k views

Disable “add to cart” for Guest User

How can I Disable the "add to cart" when user is not logged in.
0
votes
1answer
24 views

Magento 2 All Bundle Product Show Out Of Stock On PDP

In my magento 2 store show all bundle product OUT OF STOCK.
1
vote
2answers
3k views

How to disable all products from specific category?

I am using CE 1.7.0.2, I want to disable all products from one specific category. How I can disable all products from category? (SQL is fine)
0
votes
1answer
773 views

Show Empty Categories on Catalog Page - Magento 2

I want to show all categories, even if they have no products in them. How can I achieve something like this?
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 ...
1
vote
1answer
33 views

How to get cache images path

I am showing Listrak on site recommend product on my website. Product images are very big, I need resizes images. I have images name like 2/0/20mm.jpg and I am appeding it with https://example.com/...
1
vote
1answer
806 views

Category grid Display - Item Hover

On main category page when I mouse over each product - this is how they show. Product image displays - Title/Price get covered up. There seems to be another hover box behind and below the main one ...
0
votes
2answers
37 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
18 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?
0
votes
3answers
1k views

getting the total number of categories in store

what is the best way to get the total number of categories? I'd like to iterate over the total number. thanks.
3
votes
1answer
2k 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 ...
0
votes
3answers
2k views

Crosssell products in product page

I have at the moment in catalog.xml <block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/> and in view.phtml <?php ...
0
votes
0answers
18 views

How to add column to product grid magento 2?

How to add column to product grid magento 2 ?
0
votes
0answers
11 views

Few product restrict for specific countries/state : M2

I want to restrict some products to show in a particular country/state, Not all products. Can you please suggest me how to achieve it? Thanks in advanced!
1
vote
0answers
29 views

Magento 2 How to Update Product Saleable qty using programmatically with Magento standard code

How to Update Product Saleable qty using programmatically with Magento standard code ? i am able to update product quantity using below code - protected $_stockRegistry; public function __construct( ...
0
votes
1answer
26 views

Difference between catalog_attributes.xml vs eav_attributes.xml vs extension_attributes.xml

In the Magento_Catalog module i have seen there are three different configuration (xml) files related to the catalog attributes, those three files are catalog_attributes.xml vs eav_attributes.xml ...
1
vote
0answers
14 views

Magento 2 Issue with Minicart product price when price is set Including tax

Issue: Minicart is showing price excluding Taxes even if it is set in the backend to show product price including taxes Backend Settings: Product price is set to show including taxes: it is working ...
2
votes
1answer
802 views

Set Category Attribute to Use Default Value

When setting the product to use the default value, setting the value to false would do it. Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); $product = Mage::getModel('catalog/...
13
votes
0answers
3k views

Magento2 : How to enable inline edit in catalog grid without changing source code?

I try to turn on inline edit in catalog grid as it described in DevDocs: http://devdocs.magento.com/guides/v2.0/ui-components/ui-secondary-inline.html The main problem is how to override this block of ...
4
votes
1answer
802 views

Multi Store view - product name for each store

I'm using Magento 1.9.0.1 I have a store in English, I want to have the same store (same categories and products) just translated to Spanish. I used this tutorial to achive this: Ref. I created ...
1
vote
1answer
31 views

Magento 2 - Product images not loading in catalog view

I noticed that the product images are suddenly not loading in the category view anymore: in the product view it works just fine. I inspected the HTML source code and noticed that the images are ...
2
votes
3answers
151 views

How to get product collection with different page sizes?

I need to get 29 products on page #1 and need to get 26 products from page #2 to the last page number without duplication. I'm setting page size as 29 in the first page and 26 from the second page, ...
1
vote
1answer
2k views

How to show a custom grid in a custom tab in product edit page admin Magento-2

How to add a custom grid in a new tab in product edit page using UI_Component method? This custom grid fetches collection from a custom table.

1
2 3 4 5
21