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

Magento 2.3.1 - Is there a way to hide categories that don't have quantity?

Can you suggest me how to hide categories that don't have quantity or out of stock products and if product have quantity then Display categories automatically.
0
votes
1answer
11 views

Can't find category_ids in of each product in product collection

How can we include category_ids in product collection getData? Join field didn't work for me. For example, look at the below code Mage::getModel('catalog/product')->getCollection() -&...
0
votes
0answers
10 views

Show disabled subcategory's products in Parent Category page Magento 2

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 subcategories products are not showing in the parent ...
0
votes
0answers
15 views

How to remove Specific Category name from URL when product is load

Can it possible to Remove Specific Category from URL when Product is Load. For Example, if Category Name Like this Product Subject Presenters 1) when we click in Product Category Load all ...
0
votes
0answers
10 views

Products does not load up in slider in magento 2

i have added one slider block for product on my category page Refer : https://wazoodle01.wsisites.net/fabrics/pre-activated.html The images under Our best seller , sometime appears and sometimes not. ...
0
votes
0answers
14 views

How to get only parent product with pagination using Magento2

I need to fetch only the parent products as per category ID using magento2 end point but as per my code I am getting also the children products. I am explaining my code below. $quoteUrl ='https://...
0
votes
1answer
24 views

How to get all the products from category in magento 2

I want to get all the products from Category, and its child categories in magento 2 How can i get that? I have some products assign to main category whereas some assign to child categories. i want to ...
0
votes
1answer
51 views

Magento2 Show products from a specific category on homepage

I am trying to load a custom phtml on my homepage that would show products from a specific category within an owl carousel. My issue is I am notable to get the product listing to work. Code here ...
0
votes
0answers
11 views

Magento 2 Website has no categories

I'm doing a multi website and multi webstore Magento site. Currently I have this architecture: 5 websites, 25 webstores (5 webstores per website) and 25 storeviews (1 storeview pero webstore). Below ...
0
votes
0answers
13 views

Magento 2.3.2 - Products with same position in category sorting issue?

We recently migrated a store from M1 to M2.3 - the site has thousands of products and hundreds of categories. Within each category, there are several instances whereby more than one product has the ...
0
votes
0answers
18 views

Display products on parent category page

I'm working with Magento 1.9, I have a page of category where I show my subcategories and I choose the subcategory to see products. I want to display products that belong to the subcategory in their ...
0
votes
0answers
13 views

How to get Product Search as like category on my custom admin form in Magento 2.3.x?

I want to get the Product search and selection in my custom admin form, as like as we get product search on Admin Category Page. like below image. How could I get this in my custom admin form. Is ...
0
votes
0answers
11 views

Magento 2 multistore create products and category per store

I have this architecture in Magento 2: Websites: 5 Webstores: 25 (5 per websites) Storeviews: 25 (1 per webstore) Each webstore has it's own Root Category (category of products). I'm facing the ...
0
votes
1answer
49 views

SQL code to get the Product details with category tree heirarchy

I'm using Magento 1.9, We have a requirement to show the product details with category tree heirarchy. Have searched this in google and haven't find any answers. I have to create a report(using a BI ...
0
votes
1answer
28 views

Get list of products on current category page in custom block magento 2.3

I want to get the list of products currently visible on category page in a custom block. I tried using <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/2001/...
0
votes
1answer
31 views

How to add product category to page title as data attribute?

I am brand new to Magento and am a Wordpress developer and am trying to get my bearings on something that seems like it should be simple to accomplish. I am trying to simply add a data-attribute to my ...
0
votes
0answers
14 views
1
vote
1answer
103 views

Magento 1.9 - How to write script for bulk update values in table using csv?

Try to bulk update label name in catalog_product_entity_media_gallery_value, CSV formate : Workout: <?php require_once 'app/Mage.php'; umask("0"); Mage::app(); ini_set('display_errors',"1"); ...
0
votes
0answers
12 views

Products disappearing from Category pages - Tracking down the cause!

I have an unusual problem with a range of items on my Magento store that after a few days, disappear from the category pages. If I go into the back end, disable those specific items and then re-enable ...
0
votes
1answer
25 views

How can show root url all product in single page?

I don't have advanced level magento code edit anyway I can do it. My website need to add menu all product show link(link name: All Product). All product added to mobiles. Category tree are same like ...
0
votes
1answer
30 views

Magento 2 catagory product list image background erased

In category list page the background of product image is erased can you help me and how i can fix that? Magento version: 2.3.4 Orginal Image:
0
votes
0answers
27 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
39 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
31 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
15 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
16 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
18 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
91 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
18 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
13 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
44 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
109 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
34 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
72 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
103 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
12 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
107 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
186 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
11 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
20 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
28 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
221 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
1answer
173 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
25 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
2 3 4 5
10