Questions tagged [category-filter]

The tag has no usage guidance.

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

Magento2 add color & size filter in top navigation menu

How can I add Color, Size filter in top navigation menu of Magento2. As per my requirement when user hovers on top menu category there needs to be option of selecting sub category based on color & ...
0
votes
0answers
23 views

Magento 2 - Filter product collection by category just like layered navigation category filter

All I want to implement a category filter in the same way as Magento 2 layered navigation category filter does. I am filtering the product collection with the category ids that are getting selected ...
0
votes
1answer
218 views

Magento 2 : Pass a variable to getChildBlock() in LayeredNavigation view.phtml

I have to pass a variable in layer/view.phtml /Magento_LayeredNavigation/templates/layer/view.phtml to its getChildBlock which is renderer/labels.phtml Amasty_Shopby/templates/layer/filter/...
1
vote
3answers
1k views

I need to get product collection by filter multiple category ids in magento 2

I need to get product collection by filter multiple category ids. Here is my code: $catId = [2, 3, 5]; $productcollection = $objectmanager->create('\Magento\Catalog\Model\ResourceModel\Product\...
1
vote
0answers
479 views

How to show Shop by Color filter on category page Claue theme Magento 2

I am using Magento 2 and facing issue to show Shop by Color filter. I am using Claue theme. I checked for the Use in Layered Navigation option inside Store > Attribites > Product > Color. The option ...
1
vote
1answer
2k views

How to Show Category Filter In Sidebar Magento2

Actually, I want to show Category Filter in Sidebar which Magento provide by default. I also show category to Is Anchor "Yes" but still filter is not Displaying. So anything missing from my side? or ...