Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
1 answer
30 views

Show Product Salable Quantity, on Category view

I want to display Product Salable Quantity, on Category view page. On \app\design\frontend\Smartwave\porto\Magento_Catalog\templates\product\list.phtml added the follow code: <?php $objectManager = ...
Hector Solutions's user avatar
0 votes
0 answers
21 views

Magento 2: How to sort the attribute based on attribute label?

I have created a custom product attribute with drop-down option and added that attribute in schema.graphqls file but when checking the sorting is happening based on attribute option value not based on ...
MagentoDev's user avatar
0 votes
1 answer
51 views

Magento 2 : Existing "category_ids" missing on product edit page

We have recently updated our magento version from 2.2.11 to 2.4.6-p5 and bumped into the issue below. After the new version is installed on our production website, "category_ids" can not be ...
Makoto's user avatar
  • 11
0 votes
1 answer
30 views

magento 2 new categroy product missing in category page

I am using magento 2.4.4.p1 upgrade from 2.3 to 2.4.4-p1 i have some products in my site in that few are disabled few are enabled after upgradation i am trying to enable one product it enable but not ...
pavan kumarexinent's user avatar
0 votes
0 answers
30 views

Magento 2: Blank Spots on Category (Product Listing) Page

Began managing a website on Magento 2.3.3 and on most of the category pages there are blank spots. I know we have Porto and You can see in the images below. It's not consistent on desktop as ...
Sonia's user avatar
  • 1
0 votes
1 answer
46 views

FPC issue with same product in multiple categories

I have an issue I am trying to solve regarding caching. I have products that are in multiple categories and whichever one is visited first is the one that's cached. When navigating to the same product ...
Mukesh Prajapati's user avatar
1 vote
1 answer
52 views

Get product categories not using ObjectManager

I know that exist a way how to get categories without ObjectManager, but I don't understand how to create the class, which can be used by any model (cause categories I need to implement in different ...
Veronika Petkeviča's user avatar
0 votes
1 answer
38 views

Magento 2 Category field data scope issues

Good Afternoon, I am looking at a data scoping issue around category content fields for Magento 2 (2.4.5-p2). I have a list of fields that we typically fill in (please see below for category content ...
Baber's user avatar
  • 192
0 votes
0 answers
19 views

Indexing Optimisation: Do Simple products need to be categorised?

Magento 2.4.6 We're having issues with our indexing and are looking to optimise. We use Configurable products with Simple products as the variations. There are approx 200k simple products across ...
myshadowself's user avatar
0 votes
0 answers
86 views

Show all the Products in product filters magento 2.4.6

I create an attribute name [show_category] with yes/no values if it's set to yes then the product show on the category page but if it's select no, then product not shown on category page. I create a ...
Ranvir Singh's user avatar
0 votes
2 answers
48 views

Want to get the products with their categories in PDF

I want to get the all products for all categories with the products details include image, size weight , price in one pdf Please help me how can I achieve this
Rana Zain's user avatar
  • 658
0 votes
0 answers
26 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
46 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
  • 192
1 vote
1 answer
133 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
221 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,429
0 votes
1 answer
91 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
  • 25
0 votes
1 answer
43 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
33 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
  • 73
0 votes
0 answers
34 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
14 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
87 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,586
0 votes
0 answers
71 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
74 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,429
1 vote
3 answers
754 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
360 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
  • 260
0 votes
5 answers
3k 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
1k 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
208 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
36 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
1 vote
0 answers
142 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
  • 21
0 votes
4 answers
644 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
2 votes
1 answer
28 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
  • 21
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
3k 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
394 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
72 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
  • 33
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
45 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
1k 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
  • 11
0 votes
1 answer
356 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
35 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
  • 589
1 vote
0 answers
102 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
  • 39
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
580 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
455 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
  • 25
0 votes
1 answer
389 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
231 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
796 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

1
2 3 4 5
12