Questions tagged [category-products]

Questions related to Category Products Management and the relation between categories and products.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

Magento category page products grid by sections with subcategories

I need to create some specific layout for category pages in Magento. The category page contains sections with product grids by subcategories for each of them For more clarity here is a mockup of this: ...
Edvin D's user avatar
0 votes
1 answer
25 views

Disable admin user category Drag and Drop for Magento2

I am looking into if it is indeed possible to disable the ability for a user to drag / move and drop categories in the Magento2 admin panel. Any guidance or suggestions on how to accomplish this on ...
Baber's user avatar
  • 188
1 vote
1 answer
68 views

Fetch products on category page according to product`s custom attribute in magento 2.4.6

I create an attribute name [show_on_category_page] with yes/no values if it's set to yes then the product show on the category page but if its select no, then product not shown on category page. After ...
Ranvir Singh's user avatar
1 vote
1 answer
57 views

Magento not showing products in category list page due to elastic search issue

I am getting that exception when view category in front end , I did re index also. [2023-11-09T05:26:45.393702+00:00] report.CRITICAL: Elasticsearch\Common\Exceptions\ServerErrorResponseException: {&...
Ansar Husain's user avatar
  • 3,399
0 votes
1 answer
43 views

How to update product position of a product in a specific category of specific store view in magento 2.4.4

I have a multi-store website and have more than 30 categories. I have a requirement like updating the product position. For example, I have a category 'XYZ' which contains more than 500+ products ...
mage's user avatar
  • 15
0 votes
1 answer
21 views

Why Sub Category Links aren't working

Created some new subcategories but when I set up the links, I get a 404 error even if its working on backend. e.g. this link doesn't work https://www.jadeed.store/categories/personal-care/electric-...
sarmad95's user avatar
0 votes
0 answers
31 views

Magento 2 category shows all catalog products instead of its actual products after setting its layout to a custom layout

I have the following issue with a magento 2.4.3 category: Using the default theme (having the category's Design/[No layout updates] option selected), it properly shows its products and their number: ...
Robert's user avatar
  • 43
0 votes
0 answers
32 views

Widget using "display on anchor categroy" not working on magento 2

This is driving me nuts, i'm trying to show a static block on the right sidebar of each product based on the category they are in. But it won't show anything on the frontend ! When i use the "...
Marcwales's user avatar
0 votes
0 answers
12 views

Category pages: removing product sorting menu

Can anyone advise on removing the product sorting menu on category and sub category pages? I've manually positioned products and limited sorting to 'position only,' but the menu still shows on the ...
Stephen Kad's user avatar
0 votes
1 answer
61 views

Magento2 add product option selector under category selector in admin

Magento2 Under category selector in admin I need to display a list of products of that category & then allow administrator to select products listed from beneath it. Category selector is basic ...
Arjun's user avatar
  • 3,546
0 votes
0 answers
48 views

looking for file location insert/update inventory_stock table for products

I am looking for code where it insert/update is_salable column in inventory_stock_1,inventory_stock_2 table anyone know from which file it is updating this data? when I save product in admin it ...
Niraj Patel's user avatar
0 votes
4 answers
51 views

New created products are not coming in category pages or search pages

New created products are not coming in category pages or search pages . Where should i debug to find why they are not comming in front-end. Even direct product view they are showing in front-end.
Ansar Husain's user avatar
  • 3,399
0 votes
3 answers
542 views

Category Products not showing on frontend after Magento update

Updated Magento to the latest 2.4.6 and now the products do not show on the category pages, I can view the individual products and they show on the left filter, but no on the page. Any ideas?
user111808's user avatar
3 votes
3 answers
293 views

Category products do not load - 'We can't find products matching the selection.' Error keeps coming up at least once a day. Elastic search is running

Magento ver. 2.4.2-p1 Amasty extensions We used to have Elastic Search crash every once in a while but this is no longer happening since we upgraded to the most powerful server. We had instances ...
Allysin's user avatar
  • 178
0 votes
4 answers
1k views

Products are not visible at frontend Magento 2

There's two created product each of them is set: Product Type : Simple Website : Main Websites Status : Enabled Visibility: Catalog, Search Salable Quantity: >50 I use Magento 2.4.4 Open source ...
rt89's user avatar
  • 11
1 vote
5 answers
890 views

magento 2.4.5 huge category reindex catalogsearch_fulltext is very slow

I have more than 100000+ products and 20 store views, one of the category has 60000+ products, when I reindex catalogsearch_fulltext, It took more than 20 hours, and still doesn't finish. and the ...
myfixone's user avatar
0 votes
2 answers
161 views

Magento 2 - Products in category page not showing

My problem is that : all products in category page not showing. And when i displayed the query of $_productColection in Magento_Catalog/templates/product/list.phtml : /** * Product list template * *...
Heri Rak's user avatar
0 votes
1 answer
26 views

We can't find products matching the selection - Cached (Varnish) M2.4.5

In rare cases we have category pages showing "We can't find products matching the selection" while actually the category contains products. This happens when the category is visited while ...
Anton-GrNL's user avatar
0 votes
0 answers
67 views

Products are not showing in categories but products are available on PDP page

I am facing issue with products on category pages(PLP) product collection is not loading on the category pages but products assigned to this categories are working fine on product details page. I have ...
Nitin Pawar's user avatar
  • 1,526
0 votes
0 answers
36 views

Change category product position via Developer Console with jQuery and save

When I want to change a Magento 2 Category's Products position you can do so by manually editing the Position column number field which works just fine. I want to edit those position numbers via ...
user2813308004's user avatar
0 votes
1 answer
25 views

I want all the products that have discount prize under them at one place( lets say under sales category). Is there a way to do it in magento2?

I want all the products that have discount prizes under them in one place(let us say under the sales category). Is there a way to do it in magento2?
Prashant Singh's user avatar
1 vote
0 answers
123 views

Magento 2 Add custom products to product collection on catalog page - pagination not working

I need to add some custom products to category pages. Just to test this I've created twenty dummy products based on the last product in the category list. In ListProduct.php - ...
Doodled's user avatar
  • 11
0 votes
4 answers
526 views

Magento 2 : Redirect product if out stock

is there a way we can redirect a product if the product is out of stock, then redirect that product to its assigned category page (if multiple categories assigned then redirect to the first category ...
user avatar
1 vote
1 answer
22 views

How can I select hero products to appear 1st in a catergory

We have products we want to appear first but are not the newest products added. How can we select these individual products to appear before others. A selected hierarchy of products within a category
Isabel's user avatar
  • 11
1 vote
2 answers
24 views

Get child and parent of category

im new bie about magento and im facing an issue: For example: in my system have Category 1(id=1) -> category 11(id=2) -> category111(id=3), category 112(id=4) , category 113(id=5). So i finding ...
Thanh Thuan's user avatar
8 votes
4 answers
2k views

Magento 2.4.5 layered navigation filter showing incorrect results

I've recently updated a non-production version of a website from 2.4.4 to 2.4.5. The site has a number of configurable products with options for colours etc. The simple products behind the ...
Stephen McAleer's user avatar
0 votes
1 answer
292 views

Add all products to a new category 2.4.4

In my magento 2.4.4 version i just created a new category. I need to assign all products to this new category. So keep the product to their current category but in addition assign to this new one ...
user3718303's user avatar
1 vote
0 answers
67 views

Magento 2 some products not showing in categories/search

Some of my configurable products do not show inthe front end when trying to navigate to them through categories or when I search for them. They do appear in the backend. They do appear in the frontend ...
Abi's user avatar
  • 13
1 vote
0 answers
30 views

Error product category position resets to 1

I have a script that sets a position for every product per category, by editing the catalog_category_product table. It runs well and seems to be working, but Magento resets all values every few hours ...
SoldenGun's user avatar
1 vote
1 answer
37 views

How to change (text) after sorting option on category page

I need help changing the text in () when selecting the sort option. With translation I change to Low to high and High to low but I have to change Product name to (A-Z). I don't know how to change only ...
Jakub Mika's user avatar
0 votes
0 answers
950 views

Magento - Product Listing Sort By not working

For reference, I am working with Magento 2.4 I have tried the solutions from other posts on this forum and online and I cannot seem to get my magento app products sorted in the order I want. I have ...
Slippy's user avatar
  • 1
0 votes
1 answer
325 views

How to change the color of price of simple and configurable products in magento2?

I want to change the color of price of simple and configurable products on the category page. Not on the product page. Simple products price be blue and configurable products price be red.
Magento Inquiry's user avatar
0 votes
1 answer
33 views

how to get the name of the category that the user used to add the product to the cart. Magento 1.9

I need to get at cart what category the product came from. The problem is that the product is added to several different categories, and I need the category in which the user accessed to add the ...
lucas's user avatar
  • 309
0 votes
1 answer
71 views

We can't find products matching the selection - M2.4.2

In my website some times category page shows "We can't find products matching the selection." When i run "indexer:reindex" it shows Catalog Search index exception: Could not ping ...
Priya's user avatar
  • 579
1 vote
0 answers
94 views

How to add category filter with OR condition in product collection?

I'm using magento v2.4.1 and i have a custom attribute name landmark, and i want to filter a product collection using landmark attribute and category id using OR condition. Currently i'm doing it like ...
jojo's user avatar
  • 149
0 votes
2 answers
1k views

Products on category pages keep disappearing until reindex

The products on my website in the category achieves pages keep disappearing and I have to run indexer reindex every 24 hours or so. I tried both Reindex by schedule and Update on save but the problem ...
MADT's user avatar
  • 21
0 votes
1 answer
550 views

how to create or update product attribute value for specific categories? Magento 2

I created an numeric attribute, and product has assigned 2 categories (parent category and subcategory), is it possible update product attribute only for subcategory? or is it possible create custom ...
Diego Castro's user avatar
0 votes
1 answer
352 views

add salable quantity column in product in categories section

I want to add salable quantity in the product in categories section in adminside. In below image I want to add salable quantity column instead of QTY and get corresponding values.
mage's user avatar
  • 15
0 votes
1 answer
328 views

How to get product list by multiple categories with multiple SKUs in Magento 2.3.5

I'm trying to get product collection by Multiple Category Ids with Multiple SKUs. The result has been coming wrong. I can't understand where I'm wrong. The code is given below <?php namespace ...
Ankan Bhadra's user avatar
0 votes
1 answer
167 views

Magento 2 Admin - Base table or view not found

I have 5 different domains for a Magento 2 installation - 4 websites and 1 admin side. I got a spontaneous exception when I'm trying to get access to an admin login form by admin URL(it was ok before, ...
Duddy Woody's user avatar
1 vote
2 answers
2k views

Product tabs are not showing in product detail page

product tabs are not showing on the product detail page and reviews are coming down to Description. I had created a custom tab and this one also does not show http://18.169.225.50/calacatta-matt-...
somutesting's user avatar
1 vote
1 answer
673 views

Product position in category not saved correctly

I have a strange problem in our Magento 2.4 installation. In a product category you are able to specify the position of a given product by entering a value in the position column. This helps to ...
Gunnar's user avatar
  • 51
0 votes
1 answer
273 views

Magento2 Add Custom Sort By Option ( Special Price Low - High)

I Want to Add New Sort By Option Like (Special Price From Low To High). Does any one know how i can do this ?
Sanjay Shiyal's user avatar
0 votes
2 answers
116 views

frontend error category products not getting displayed

I am trying to access the product listing on the frontend But I am getting this error. Parse error: syntax error, unexpected 'else' (T_ELSE) in C:\xampp\htdocs\testmastersdirect\mastersdirect.masters-...
user99886's user avatar
0 votes
1 answer
25 views

How to add a `from to` filter for the Products in Category grid

I extended this class: Magento\Catalog\Block\Adminhtml\Category\Tab\Produc to add another column qty. This is how I added the column: protected function _prepareColumns() { parent::_prepareColumns(...
Attila Naghi's user avatar
  • 3,903
0 votes
0 answers
54 views

How to change the product list page to drop down refresh?

I have two themes, one for PC and one for mobile. I want to change the product list page of mobile to the dropdown refresh mode.(Slide up to the bottom automatically loads the next page) What should I ...
Bob's user avatar
  • 5
0 votes
2 answers
727 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 ...
Eliacim DAVILA - CENSERE's user avatar
0 votes
0 answers
23 views

How to add product name in parent category in magento 2

i have one parent category like name is :- "test". So i want to show product name in test sub-category.Like this structure. Test - main category - Tops - product name
Mohit Patel's user avatar
  • 3,681
0 votes
0 answers
244 views

Magento 2: Show disabled subcategory products in parent category

I'm using Magento 2.3.4 and I have an anchor parent category that has some disabled subcategories. When I disabled these subcategories, all the subcategory products are not showing in the parent ...
Marcsasson's user avatar
1 vote
1 answer
161 views

Magento 2.3.5: Sorting Products with text type attribute with Flat Catalog Product Function on causes wrong sorting

I created a text type attribute called display_order with the following settings. Catalog Input Type for Store Owner - Text Field Used for Sorting in Product Listing - Yes The display_order text for ...
user2240778's user avatar

1
2 3 4 5
12