Questions tagged [catalog]
It should be used for questions regarding the catalog module.
348
questions with no upvoted or accepted answers
13
votes
1
answer
4k
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 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 ...
5
votes
0
answers
205
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 ...
4
votes
0
answers
391
views
Magento 2.3 Result page blank if an item is found
I am trying to search for products on my Magento 2.3 site. When the result is empty (there are no products found) it just shows a page saying there are no products found. Perfect!
But when there is a ...
4
votes
1
answer
935
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 ...
3
votes
0
answers
44
views
'Unable to save stock item' error when trying to save creating or editing a product
I am running Magento 2.2.2 and recently migrated servers. When I am trying to edit or create a new product now, I have the error 'Unable to save stock item'
This is the first time I am facing this ...
3
votes
0
answers
109
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
1
answer
72
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 ...
3
votes
2
answers
4k
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 ...
3
votes
1
answer
40
views
When To Use MultiStore Vs. Categories
I'm attempting to hide the "Add To Cart" button for specific stores currently and am having some issues with my lack of experience. It works in each individual store but not when using the search ...
3
votes
1
answer
373
views
Magento 2 Catalog Rule Condtions
I am trying to implement Magento 2 catalog rule condtions in a custom module Ui Component form. Below is the field set:
<htmlContent name="block_promo_catalog_edit_tab_conditions" sortOrder="20"&...
3
votes
3
answers
6k
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="...
3
votes
0
answers
811
views
Magento 2 Export Button CSV and XML Catalog Product Problem
I added Export Button to the grid catalog but still the following problem appears :
Exception #0 (Magento\Framework\Exception\LocalizedException): A joined field with this alias is already declared.
...
3
votes
0
answers
1k
views
bundle products are not showing in magento 2
I have created products through API from c#.net and products also created successfully with category ids. But the products are not showing from frontend even though I have cleared cache.
try
...
3
votes
0
answers
829
views
Magento 2 : Price including Tax based on country set in cookie
By default the price of product is excluding tax, when we change Catalog Prices including tax in Calculation Settings Configuration it show price including tax and the tax is calculated based country ...
3
votes
2
answers
2k
views
Disable "add to cart" for Guest User
How can I Disable the "add to cart" when user is not logged in.
3
votes
1
answer
1k
views
Error after enable the use_flat_Catalog_category option in admin catalog,
After enable the use_flat_Catalog_category option in admin catalog , and i did reindex, then catalog_category_flat_store_1 table was create.
And then when i try to launch the store, it's show below ...
3
votes
1
answer
2k
views
Display all colors of configurable products in product listing as separate products
Imagine that I have a configurable product with the following options:
color: blue, green, orange, pink
size: 1kg, 2kg, 3kg, 4kg
and that I have simple products having some of these attribute ...
3
votes
1
answer
2k
views
Magento 2 - How to add dynamic-rows grid on catalog product
I am using Magento 2.1.5
I need to add a dynamic rows grid on the catalog product page
I am using the below di.xml for adding a dynamic row on product_form
app/code/vendor/module/etc/adminhtml/di....
2
votes
0
answers
83
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 ...
2
votes
0
answers
44
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 &...
2
votes
0
answers
234
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
4
answers
1k
views
How to delete bunch of products in Magento2?
Is there a short and best way to delete bunch of products in Magento2.
I am having list if 1,20,000 SKUs and want to delete that.
Tried:
Read CSV
Delete products in loop by repository.
Problem:
...
2
votes
0
answers
316
views
Magento 2: Set Product final price using catalog_product_get_final_price Event
Using event catalog_product_get_final_price, setting the maximum price to be 100, if the price of a product is greater than 100 then it will set automatically to 100 and the product price is below 100 ...
2
votes
0
answers
36
views
how to create custom api to get customer collection magento 2?
I am beginner to create API in magento 2. Can anyone help me step by step process to create custom api to get customer collection.
Which is better REST & SOAP?
Also, How can I test this custom ...
2
votes
0
answers
33
views
Catalogsearch super sub categories products search not working
I tried a lot, but I can't find a solution. In catalogsearch only showing the selected category product, it's not showing the subcategory of the selected category. I tried a lot of suggestion on ...
2
votes
3
answers
2k
views
Magento 2: How to filter category by store id?
I want to filter category by store id. Used the following code, but it is not working.
$collection = $this->categoryCollectionFactory->create();
$collection->addAttributeToSelect('*')
...
2
votes
0
answers
34
views
Customer specific product offering - Best practice
To build an e-commerce site that offers a specific set of products for each state of a country, what would be the best practice to be followed from below listed approaches (or another approach) to ...
2
votes
1
answer
116
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 ...
2
votes
1
answer
1k
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 ...
2
votes
1
answer
952
views
Change order price display incl. tax and excl. tax
At the moment the price is displayed like this :
Price incl. Tax
Price excl. Tax
And I would like to display it like this :
Price excl. Tax
Price incl. Tax
In a previous question someone answered ...
2
votes
0
answers
149
views
Product Delete create re- indexer issue in magento 2
When I delete a product in Magento 2 using CSV import or through admin then after I re-index then category product and product category having indexer issue like
SQLSTATE[23000]: Integrity ...
2
votes
0
answers
423
views
Show star rating on Catalog list page Magento 2
I want to show product star rating for all the products even if there is no rating available
2
votes
0
answers
22
views
Update catalog strategy of large LIVE Magento site
We have an issue in which we have a Magento site of around 150K monthly traffic .
Configuration :
1.dual xeon cpu
2.16gb ram
3.500gb ssd
4.CDN
5.FPC cache
catalog_flat_tables enabled.
50K skus
...
2
votes
0
answers
512
views
Magento2.1.7 generating wrong thumbnail image cache
I have imported products in bulk via CSV in magento2, and all products imported successfully.
But for some products only thumbnail image generating wrong (it is showing other product's image where ...
2
votes
0
answers
418
views
Getting all subcategories and their products
I tried to get on my parent categories all the subcategories and products for each subcategories.
This is my products.phtml
<?php
$subcats = $this->getCategoryList();
?>
<div class="row"&...
2
votes
1
answer
3k
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 ...
2
votes
0
answers
574
views
Disable hover on listing page on Magento-2
I have my custom theme using Luma as parent.
I want to disable hover effect and show only "out of stock" message.
How can I achieve this?
2
votes
0
answers
512
views
Pagination Not Showing on Category Pages - Magento 1
For some reason, Pagination is not showing on all of our category pages.
I've looked at other question on here and from what I've learned you need the page/html_pager block within catalog.xml for the ...
2
votes
0
answers
279
views
How to display only configurable products count in the catalog?
I set to show only configurable products on my catalog. The problem is the product count displayed in the product list toolbar. It shows total count of simple products not configurable what I think is ...
2
votes
0
answers
770
views
Widget is not working in Magento 2
I am trying to insert a Catalog Category Link widget in my Home Page. But it is not working. I am sharing the code below.
{{widget type="Magento\Catalog\Block\Category\Widget\Link" template="...
2
votes
0
answers
3k
views
Magento 2: Admin Set to "Default Store View"
Magento 2: Import Script Store Id Related Issue
Would like to set Admin to "Default Store View" instead of "All Store Views".
How to do it? Is it good idea to achieve my requirement?
2
votes
0
answers
763
views
Image Thumbnail not showing in Magento 2.1 admin panel
Im working on a custom module in magento 2.1 which has category attribute to upload thumbnail image from Dashboard>Products>Categories . When i try to upload an image, the preview is shown and the ...
2
votes
0
answers
287
views
Manage option value of attribute option disappears
I have an attribute named as Product_type.
Catalog > Manage attributes > Attribute Name(Product_type) >
Manage Labels/Options >
Manage Options (values of your attribute)
When I choose Use In Layered ...
2
votes
1
answer
2k
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/...
2
votes
2
answers
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 ...
2
votes
1
answer
898
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/...
2
votes
2
answers
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
0
answers
168
views
Use knockout.js in catalog page in magento 2
We are developing an extension for configurable products which provides the following functionality on product page.
On the product view page of the configurable product, when the customer finishes ...
2
votes
0
answers
1k
views
Magento duplicate the product getting innodb lock timeout error
My customer doing instant of create a new product they duplicate the product and change the attributes,inventory,name,sku,etc to make it a new product.
Since We are facing randomly database innodb ...
2
votes
0
answers
1k
views
Magento 2: How to split catalog database (split database architecture)?
I am trying to use Magento 2.0 split database scalability feature. Below document explains how to split master databases but has no information on splitting slaves.
How can I set up separate ...