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
0answers
6 views

Magento2.3: item count is not updating in category page

We have added some of the products in one of the category. When we go to that category page, the item count is not updating. It always showing "1 Total Result". Please see the below screenshot Could ...
1
vote
1answer
23 views

Category Toolbar Showing Incorrect Count and Paging Not Working

I've got a problem with a live site where the toolbar is showing the incorrect product count, not changing sort direction or filter nor is it changing the product on pagination change. You can see it ...
1
vote
2answers
32 views

Magento 2 : Get category level

I want to get the category level in product/list.phtml to check if (categorylevel == 1) { hide product list }else { show product list } How can I do that? Any helps? Thank in advance.
1
vote
0answers
9 views

How can i modify admin category product pagination in magento 2?

I want give custom pagination for category product list like more than 200 or 999. So, admin user can see more than 200 products at a time.
0
votes
0answers
21 views

Issue with categories on Magento 2.2.10 Porto Theme demo 19

I have a very strange issue when I create a new subcategory inside the default category in Magento 2.2.10 Porto Theme demo 19. After I enable the "include in menu" button, it does not show on the ...
1
vote
1answer
71 views

Magento 2.3.2 required Product option value add to cart directly in category page

i have use custom option in xyz product and my product option is required in admin i want to when select in category page and add to cart directly without going to product page. when i have remove ...
0
votes
0answers
9 views

Load attribute set from category magento2.1

I want to load attribute set from last child of category. i have attribute set name same as last level child category. Ex: after select apple from category Electronic=>Mobile=>Brand=>samsung to ...
0
votes
0answers
19 views

Magento2 : How to apply different image size in multiple categories?

I want to show different size images on multiple categories. let suppose I have 3 categories : - cat1, cat2, cat3 I want to show images as below: => cat1 want to show 240 x 240 images => ...
0
votes
0answers
16 views

Magento 2 show products by in root category

i want to show all products in root category , i can not see any option in root
0
votes
1answer
21 views

catalog_category_view.xml is there possibility to add custom xml file into product_list?

I'm trying to add custom label into each product in category view page but it doesn't work. catalog_category_view.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
1answer
59 views

Magento 2 - Assign product to category on frontend

I am creating a frontend from for Sellers to add/edit their product on website, product adding/editing is working perfect. Now I have to assign that product to a category Almost on every article and ...
0
votes
0answers
12 views

Is category attribute sorting only available in the enterprise edition?

My developers will be upgrading our site to Magento 2.3 soon but have said that attribute sorting like the below is only available in the enterprise edition, can someone confirm? https://docs.magento....
0
votes
0answers
40 views

magento 2 catalog_product_collection_load_before event

I am using Magento Enterprise 2.2.10 and I am wanting to show out of stock products and want to have show at the end of the category collection. I thought I could use the event: ...
2
votes
0answers
23 views

Get all associated categories from product collection

For a custom filter on the product collection i need to be able to get all associated categories from all products from the catalog search result. On top of that, i do not need the actual categories ...
1
vote
1answer
16 views

Magento 2 add parent category class to body for product listing page

I have number of subcategories under a main category called 'services'. I want to add a custom class 'service-listing' to body on all the subcategory pages under this category.
1
vote
0answers
9 views

magento 2 How to customize product list pages of all subcategories under specific category?

I want to customize all subcategory pages whose parent category is 'Services'. The customization includes following: Remove Toolbar Add filter for gender (gender is product attribute) Add custom ...
0
votes
0answers
32 views

Magento 1.9 : Product importing not working

I have tried both Import/Export and the Dataflow method for importing the products in Magento 1.9. In both cases, it's giving a success message. But the product not importing to the backend. Can you ...
0
votes
2answers
38 views

products not showing in category on frontend Magento 2, but they are showing record count on category navigation

our items are no longer showing for each category page on the frontend. I have checked lots of items on the admin: Enabled = yes Product in website = yes Product in category = yes Stock status in ...
0
votes
1answer
22 views

Magento 2 Exclude specific products from catalog price rules

how can I exclude specific products from Catalog Price Rules?. I have 3 price rules that applies to all products depending on the customer group, however I don't see anything in conditions that can ...
0
votes
0answers
18 views

Add form fieldset in Magento1

Add form fieldset in magento1 like catalog->product->group price(field).
0
votes
1answer
41 views

How to display Out Of Stock product for only One Category while hiding them in all other category magento 2

Hi @all actually i wanted to display Out of stock products only in one category(Parent Category and it's all child categories) with "Display Out Of Stock" option "Yes" in the admin? It means here i ...
0
votes
1answer
25 views

Magento 2: how to get select “Sort by” value on category pages

How get values of choosen "Sort by" options.
1
vote
1answer
47 views

Magento2: How to show product URL on Homepage

I have to show list of product on same category on homepage I have achieved the same using CatalogWidget but got issue with URL, It shows URL like example.net/product but I want to show URL like ...
0
votes
1answer
19 views

How to create a main_category attribute for a product?

I want to create a second category assignment for my products which is limited to one category. The select should be similar to the default category assignment. What I want is setting a main-category ...
4
votes
2answers
81 views

Magento 2.3.2: Active payment method on specific category for the products in cart

I want to show payment methods for particular category products added in cart. e.g I have paypal and COD payment methods, so when X category Item in cart then Paypal will show and other will hide,...
0
votes
2answers
80 views

Magento 1.9: Copy all products of a category to another category

I want to copy all products from one category to another category in Magento 1.9.2.2?
0
votes
2answers
125 views

Magento 2: Get Product Stock status details in Category List Product details Rest API

I have checked Category Products list API and gives list of the categories products. But don't get stock item details in products details. I want to need stock item details in products details. ...
1
vote
1answer
69 views

GET Products by brand and category

I'm trying to create some type of search method for customers where they select the product's brand they want to search and then, if they want, they can also select the category they want (if there ...
1
vote
0answers
8 views

How to display the category pages based on the custom page inputs?

1) Custom page have to accept few inputs and respective category page need to be displayed based on the inputs 2) Custom page need to be displayed some custom options and those prices need to ...
0
votes
0answers
31 views

How to Restrict product add-to-cart if cart has specified category of products?

If my cart consists category id = 4 products, no other products eligible to add-to-cart, how to restrict by using anything, i tried using observer it not work.Please any one help.
0
votes
0answers
10 views

How to add layered navigation filters in Category Page API?

I'm working on Category Page API where according to design, it is category details above followed by category products. Now, I'm unable to get the layered navigation filters in the Magento default ...
1
vote
0answers
28 views

Sorting is not working on category page

We have dropdown, which have an option to sort the products by position, name, etc., but its not working. Could anyone please help me?
0
votes
0answers
75 views

Magento 2: Set product position in category via REST API

I'm trying to set the position of an existing product inside a category via REST API. Currently all products have a position of 0. The endpoint I'm using is POST /V1​/products. The json body: { "...
0
votes
0answers
12 views

How to display product listing sort based on product attribute combination in magento 1.9

I'm Working with magento 1.9, I want display product list based on product attribute. suppose i have 2 product attribute with 3 -3 options value. Option 1 red green blue option 2 red green ...
0
votes
1answer
73 views

Change the “Sort By” option of a category with code

I want to change the Sort By (Default product sort order in the front end) option that is available in the Catalog -> Manage Categories -> Display Settings with a php script. I want to set that ...
0
votes
0answers
22 views

Magento2.3.0 Specific Category associated products not appearing in frontend

I am using Magento2.3.0 and my issue is on production mode in front-end side one category inside product not showing on but in admin side all settings are proper and assign product it in this category....
0
votes
1answer
98 views

Magento 2 - Custom sort order not working properly

I have created a custom plugin for sorting options for high to low & low to high price. High to low sort works fine but "low to high" sort order not showing correct results. app/code/Digital/...
0
votes
0answers
15 views

Magento2 - Wrong Template after click Edit Button in Checkout

I am using a custom template which is controlled over the SKU: catalog_product_view_sku_XXXXX.xml If I add the product to the cart and want to go back from the checkout page it shows me the standard ...
2
votes
1answer
56 views

Magento 2 How to duplicate category products into another category

I am working on duplicate category, In my controller file, I am able to duplicate the category but I need to assign the same products to the newly created category from the old one. i.e. I have the ...
0
votes
1answer
100 views

Magento 2.3 add custom block under each product in category page

I need to overwrite the product listing (category) page, a custom form needs to show after that product information. So I have found that already an extension is overwriting that page as below <...
0
votes
1answer
104 views

Magento 2 products positioning in category

I have converted my Magento 1.9 to Magento 2.3.1. In Magento 1.9, the products are listed by the position as the following orders 0,1,2,3...10.. and so on. But when I check in Magento 2.3.1 site, all ...
4
votes
0answers
59 views

Magento 2 How to duplicate the category with same structure?

I want to duplicate the category with the same structure and data. How to duplicate child categories here? It is working correctly for a single category. In my controller file, I have the parent ...
0
votes
0answers
18 views

Magento 2.1 set default filter in layered navigation

I need to apply the default filter in all category pages. could you please help me out. Thanks in advance.
0
votes
1answer
30 views

Change the Product grid view to a specific number of columns

The default number of columns is 3. How do I change it to 2? I prefer a solution that uses the admin, but I will settle for any solution. I have looked through the Magento user guide www.magento....
0
votes
0answers
18 views

override product attribute values on product detail page

Hei We have tabs on product detail page and in specification tab I have length , weight attributes Those have some decimal values, I want to override them, how can I achieve this?? Looking for ...
4
votes
1answer
62 views

How do i delete products which are not in a category?

our site has over 90,000 products which need to be deleted and are not in categories, but the products in the categories we want to keep, how do i solve this?
2
votes
1answer
44 views

Magento 2.5 show out of stock products at the end of the catalog

I want to display out of stock products at the end of the category page of Magento 2.5. I add this code: vendor/magento/module-catalog/Block/Product/ListProduct.php $collection = $layer->...
0
votes
1answer
30 views

Associated Category List from Products in a Particular Category

I am working on a site where product brands have been set up as categories. Each product has at least 2 categories, one for brand and others for product categories. On the page for Brand-X, rather ...
0
votes
0answers
65 views

Tax display is wrong

I am going crazy slowly as I cannot solve this. Maybe anyone here can help me out. Problem 1: My shop always shows 2 prices (incl. & excl. tax) on category page but settings are clearly only ...
0
votes
1answer
13 views

How to remove head category but keep subcategory in url magento

Currently my url structure is as following: parameters: example.com/head-category/sub-category/product-name actual url: example.com/gear/balls/superball-0192 I would like to change this to: ...