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
24 views

How do i get my products to appear in a random order on the category page?

At the minute, my products are showing in alphabetical order from the part number. When clicking on a category, I would like this to show in completely random order. Can anybody help with this? This ...
1
vote
1answer
36 views

Magento 2 - How to create new product tag?

How can I add a new product tag like 'New', 'Promo'. And need to display it with the product edit page as a toggle. In category pages, it should be near to the product list.
0
votes
0answers
29 views

Sorting is not working in magento 2

I modified 2columns-left layout in magento 2 design.After that sorting is not working <layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
0
votes
0answers
14 views

Placing configurable products in a different category than associated simple products

This is not really a technical question but I couldn't find an answer online. Is it considered bad practice to have configurable products placed in a different category than its associated (not ...
0
votes
0answers
10 views

How to create/change category and filters relations inside Magento database?

I want to change and remove filters in one category of Magento. My problem is that it's impossible to be done by admin interface because Magento returns an error. Once it is an urgent task, I would ...
0
votes
0answers
14 views

Products not showing up in category but are showing up in layered navigation drilldown

I am running into an issue where I have about 1000 products in a category. I have it sorted by price as the default. When I go to the page, it is showing the price order correctly, only, there are ...
1
vote
0answers
16 views

Magento 2 - Show Subcategories and Images on Category Template

I want to show subcategories and the images on the category page. If the user clicks on Apparel the page would show all the subcategories with the subcategory image. I placed this code in my theme ...
0
votes
2answers
62 views

How to get product category Id on product detail page Magento 2?

I have a product which have assigned into more than 5 categories. I want to show the category detail of that product on product detail page. But which category detail I need to show? I want to show ...
0
votes
0answers
14 views

Magento2: How to create custom module category page with filter?

I have category listing page and I want to display product on same page. I want to display same layout like category page with filter. Please help.
0
votes
0answers
7 views

indexing for category product to reflect after add category

In my site category products are not reflected after adding on admin. I have set all indexer as update on schedule.If I want to show only categories to reflect which indexer should to set as update on ...
0
votes
1answer
10 views

How can I add a block with an attribute value under the price in the category grid / list? [duplicate]

I have an attribute I want to display on the category page. I am able to get it to show up between the "Add To Cart" button and the wishlist icons, but I can't move it up to underneath the price. ...
1
vote
1answer
42 views

Product page custom container after image

I want to place a custom container inside the product wrapper on the category page. I have already tried <referenceContainer name="content"> <container name="custom.description" ...
0
votes
5answers
71 views

No products are showing after re-index - Magento upgrade - 2.1 to 2.2 then 2.3

I followed these steps in order to upgrade Magento (current version: 2.1.9): Upgraded to 2.2.8 Upgraded to 2.3.3 The one issue that I am stuck is that after upgrading to 2.2 or 2.3 and on reindexing ...
1
vote
0answers
42 views

Add transparancy in ->backgroundColor(array(0, 0, 0))

I want to add Transparancy in this code line. I'm using Magento 1.9.3.10. I already tried ->backgroundColor(array(0, 0, 0, 0.4)) but this does not seem to work. It just show's black background. Full ...
2
votes
0answers
36 views

Magento2.3: Compare slider is not working

We have customised the compare products as per our requirement. However, Its not working as expected. I'm not sure, whether the data binding is working or not. For your information, I'm using slick ...
1
vote
1answer
32 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 once. ...
1
vote
1answer
54 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 ...
2
votes
2answers
47 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
11 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
58 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
124 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
10 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
22 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
19 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
22 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
97 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
86 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
24 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
21 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
40 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
41 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
46 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
19 views

Add form fieldset in Magento1

Add form fieldset in magento1 like catalog->product->group price(field).
0
votes
2answers
84 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
36 views

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

How get values of choosen "Sort by" options.
1
vote
1answer
51 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
101 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
131 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
3answers
296 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
71 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 ...
0
votes
0answers
32 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
32 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
143 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
13 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
152 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
23 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....

1 2 3 4 5 10