The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [catalog]

It should be used for questions regarding the catalog module.

Filter by
Sorted by
Tagged with
0
votes
1answer
602 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 ...
2
votes
1answer
19 views

Magento 2.3 - limit certain categories products

We have a few categories which function like "bestsellers" categories; these categories can hold any number of products, but I'd like to show only the top four. So I figured to create an observer ...
0
votes
1answer
29 views

How to programmatically add suffix to the catalog title in Magento 2.2?

I need to add the suffix to the catalog page title programmatically for SEO. Currently in view source code i am getting catalog category page title like <h1 class="page-title" id="page-title-...
1
vote
1answer
783 views

Show Tax Amount in the Product page

I'm trying to show the label "Tax amount: 40$" in mu product page, just under the price, as this image I enabled in the System > Configuration > Sales > Tax almost every display with "show including ...
0
votes
0answers
10 views

How to get all attributes of a product which Start with 'wdb_' in Magento 2?

I want to get all attributes of a product which start with "wdb_" in custom tab. For this, I am getting each attribute manually. For example: wdb_carat, wdb_info, wdb_clarity etc... My Code is: ...
0
votes
1answer
750 views

Flat Rate and Table Rate

I have Flat rate shipping as the standard for all of my products $6.95, but I have a category that needs to be $14.95 because it is a tube and cost more to ship. How can I make $14.95 the default for ...
0
votes
2answers
41 views

Magento 2 : Can't able to override controller

I need to override this below controller : Magento\Catalog\Controller\Adminhtml\Product\Attribute\Validate.php But, I can't able to override. I need to customize checkUniqueOption() function. di....
0
votes
0answers
12 views

Magento 2: Category Pages custom sortby: getCollection()->order(…) not taking effect

So I have a bit of an issue. I am trying to create a custom sort order in the magneto 2 catalogue pages using a calculation between two price fields. I am currently editing Magento\Catalog\Block\...
0
votes
2answers
38 views

Magento 2 Get custom attribute values in phtml

I want to populate attribute(Gender) values in select dropdown on listing page. On selecting specific value of the gender attribute, the product list should be filtered. The gender attribute has 3 ...
0
votes
1answer
957 views

Magento 2 catalog category link widget is not working

I wanted to insert catalog category in my content, however, it keeps showing a broken image whenever I try to use it. I have also tried manually coding it. Does anyone know the fix for this?
0
votes
0answers
14 views

Magento 2.3x - Sort By Position Fallback Direction

I have a site migrated from M1 to M2 - on M1, the categories defaulted to "Best Value" for the sort order - the products within these categories commonly have mulitple instances where the position is ...
3
votes
1answer
1k views

Magento 2 - How to add dynamic-rows grid on catalog product

I am using Magento 2.1.5 I need to add dynamic rows grid on catalog product page I am using below di.xml for adding dynamic row on product_form app/code/vendor/module/etc/adminhtml/di.xml <...
4
votes
0answers
151 views

How to use modifier in product_action_attribute Form?

I have created an eav attribute and modified the field inside edit product form, that was easy. But in products mass action (Update attributes) page, the field I have created, by eav Attribute and ...
1
vote
3answers
3k views

How to add custom phtml in catalog view page in magento2

I want to add some custom code in my catalog category view page. I don't want to override product/list.phml file . But just display my custom code in catagory view page. How to add it?
0
votes
0answers
17 views

How to create a category in Magento using SQL

My attempts at creating a category with PHP fails while flat_categories are enabled in the system. Reference here. So, I want to create a new category in Magento 2 using SQL. How would I do that?
0
votes
0answers
21 views

Magento 2: Products not showing in search but in catalog is ok

I have a problem with my catalog. Products are visible in catalog category view pages (I can do any action - add to cart, buy...) but when I want to search any product then not showing in search ...
0
votes
2answers
975 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
35 views

Override “Out Of Stock” message

Okay, I'm a dufus. I am trying to override the "Out of Stock" message displayed on the product page to "Sold Out". Currently using Magento 2.3. Create an i18n folder in my custom theme folder, en_Us....
2
votes
3answers
3k views

Magento 2 How to get product collection of all products?

I am trying to fetch the product collection in Magento 2 which return the all products including -> with all instock and out of stock products -> with all Visibility (Not Visible Individually,...
1
vote
1answer
1k views

Magento2: product page returns error

With no apparent reason, product pages do not show for me anymore. Error text: Warning: Illegal offset type in isset or empty in /path/to/project/vendor/magento/module-eav/Model/Entity/Attribute/...
0
votes
0answers
17 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
1answer
17 views

Create Magento 2 Bundles with different quantities of the same product

I'm currently running Magento 2.3.2. The Company I work for sells a number of products in bundles of varying quantities which we call "Stacks". For example a product can be sold in bundles of either ...
0
votes
0answers
16 views

Display product brand in catalog grid list

I need to show the product brand in the frontend general catalog grid list. Actually it's displaying the product image above and below it the product name and price. I found the file I need to edit ...
1
vote
0answers
89 views

magento 1.5.0.1 upload image button doesn't display

I am using magento 1.5.0.1 My problem is i want to upload an image,but upload image and browse image buttons are not displaying.
0
votes
0answers
13 views

Get current product categories of current store only in Magento 2

I made the following in Magento 1 for a multi-store website: $rootCategory = Mage::getModel('catalog/category')->load( Mage::app()->getStore()->getRootCategoryId() ); $sameStoreCategories = ...
1
vote
1answer
700 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
14 views

How to get catalog in stock on frontend?

I have done everything everyone subscribes everywhere From reindex, in stock, manage all, quantity, databases check, double check But products just don't appear on front end because it says out of ...
0
votes
2answers
790 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
16 views

Store, websites Magento 2 catalog

I'm very confused. I exported all my products and saw I have the same product in default store and "no store", I mean, my catalog have the same products twice. Not sure what it causes and how this ...
1
vote
1answer
1k views

Magento 2: Show Out of Stock items after in stock items

I want to show Out of Stock items after in stock items. I found solution here, but its for Magento 1.8. I need same for Magento 2.
0
votes
0answers
9 views

Magento2 - Force load Product page after 'Add To Cart' is selected on Catalog page

In Magento-2.3.2, How can we always make the Product page load after 'Add To Cart' is selected on Catalog page? Thanks!
1
vote
4answers
4k views

Magento 2: How to Get Subcategory Image in Category Page?

I want to display subcategory in category page with the image. I've to put below code get only subcategory name not getting the image. How to get subcategory image in category page? if($this->...
3
votes
2answers
6k views

Get disabled/inactive products from flat catalog product strucutre

I am trying to get all disabled products from magento using the following code but it returns only enabled products. I have enabled Flat Catalog Product options. Is there any way to get disabled ...
2
votes
3answers
3k 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="...
0
votes
1answer
28 views

Magento2 : Override Category List page with No dependency on Other Custom Module

I want to override category.products.list to display 1 custom attribute value to each product in list. and i know i can override product/list.phtml to my module and there i can customize code in loop ...
0
votes
0answers
23 views

Magento 2 Image Cache Files are not Updating in Product Catalog

I'm currently experiencing an intermittent issue with my product images in my installation of Magento 2.3.2. Essentially I upload a new image to replace an existing image, the image updates in the ...
0
votes
0answers
17 views

Magento2 configurable product not showing original price on list.phtml

Magento2.2.5 On a configurable product where each child product has the same special price assigned what i want is on the category listing to show the special price and then the original price ...
3
votes
2answers
2k views

4 products in one row homepage

I want to show 4 products in one row on my Magento site. I tried some tricks but it doesn’t work.. I set this in list.phtml <?php $_columnCount = 4; ?> but nothing.. I also put this in ...
0
votes
0answers
23 views

Magento 2: Show price for out of stock configurable products

I have Magento 2 site with multiple store views. My requirement is that, I want to show price for out of stock configurable product price when I tried to get product id in final-price.phtml in that ...
0
votes
1answer
127 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)...
1
vote
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 ...
3
votes
2answers
712 views

Disable “add to cart” for Guest User

How can I Disable the "add to cart" when user is not logged in.
0
votes
2answers
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.
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="...
2
votes
2answers
1k views

Sort products by Date

I would like to sort the display of a Magento 2.0.6 website products by date. I am looking forward to apply this sorting on the frontend. I have been trying to find an extension so I can have this ...
2
votes
2answers
1k 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 ...
0
votes
1answer
643 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?
1
vote
1answer
32 views

Unable to update or delete a product

I have several thousands of items that are currently disabled. I'm now trying to delete them via the Catalog > Products page but I get an error message for some of the products. I cannot make any ...
2
votes
1answer
2k views

Output all product attribute values on catalog page

On the catalog grid page, I want to output all filterable attribute values for each product. For example: If the price is filterable in the layered navigation, the attribute value associated with the ...
6
votes
1answer
7k views

Is it possible to delete root category?

Is it possible to delete an empty root category once accidentally created or not required anymore? It looks like there's no "Delete" button.