Questions tagged [layered-navigation]

Layered navigation makes it easy to find a product based on category, price range, or any other available attribute.

330 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
2answers
288 views

Magento 2 : I Want to Display All Catagory and Sub Category in Layerd Navigation

I want to display all category in layered navigation in Magento 2. For example : Clothing I have 3 sub categories then I want to display all three categories with subcategory.
1
vote
1answer
153 views

Magento 2: Set robots noindex on layered navigation results

How can I set robots : <meta name="robots" content="NOINDEX,NOFOLLOW"/> for layered navigation results in Magento 2? I have searched the internet but there is no information to be found for ...
1
vote
0answers
71 views

I want custom sorting order for attribute for each category magento 2

I want custom sorting order for attributes for each category. Please see attached image. If in the category 1, the colour option displaying at the top, then for a category two size options would be ...
1
vote
2answers
355 views

I want Country of Manufacture in my filter

I want Country of Manufacture in my filter. I am Using Magento 2
1
vote
0answers
83 views

Magento 2.2; Show left.phtml in Anchor Categories

This template (Catalog Module) displays a link that redirects to the parent category; but it looks that it only shows in non-anchor categories. Does anyone know a way to implement it in anchor ...
1
vote
0answers
621 views

How to show all categories and their subcategories on Layered Navigation?

I am using Mageplaza Layered Navigation module to show categories and their subcategories but its only showing subcategories. I want to show all categories and their subcategories like below format - ...
1
vote
2answers
279 views

Multiple sort collection

When I am in the listening product when I mark order alphabet by name I want to use two attributes. First my attribute, later name. This is my structure name product: my_attribute name_product I ...
1
vote
0answers
23 views

Resaving a simple product generated from configurable product in Magento2 for Layered navigation to update?

Not sure if it's a bug or I'm just missing the point but when I create a configurable product in Magento 2.2.1 - the layered navigation on the front end doesn't update. To get the layered navigation ...
1
vote
0answers
17 views

Magento. Atributes on Layered Navigation create their own page

I have started working on a Magento site, no information how it was configured. It is using Magento 1.8. On the catalog page, I see sidebar includes some attributes which has been configured to ...
1
vote
0answers
68 views

Magento 2, Group the options of an attribute in layered navigation frontend

Magento 2, How can I group the attributes in layered navigation frontend? For Example: GROUP NAME 1 -> Filter one -> Filter two -> Filter three GROUPNAME 2 -> Filter one -> Filter two -> ...
1
vote
1answer
888 views

Magento 2 Layered Navigation doesn't show search filter's values

I have a store with 10 products simple , configurable and grouped. My category layered navigation is working fine with filterable attributes. but when I search it shows empty attributes. I did the ...
1
vote
1answer
394 views

Layered Navigation: 404 Error when browsing via certain filter

We have an issue that occurs when filtering by layered navigation. It's 3rd party. The issue is (at least at our end) very easy to reproduce. Our catalog structure is pretty simple, having two major ...
1
vote
0answers
67 views

Magento 2.1 Layered Navigation Category filter

Category filter is not displaying on layered navigation if cache is enabled. If i disable cache from backend it display category filter. How to solve such issue ? Any suggestion highly appreciated.
1
vote
1answer
1k views

Magento 2.2 : Search Functionality/Layered Navigation on a Custom Product Collection?

I use a custom product collection which is used on all category view pages (basically, instead of using Magento's collection, I wrote my own module with the custom collection to implement a cookie-...
1
vote
0answers
263 views

Magento 2 - Layered Navigation is not coming on search pages

Issue - Layered navigation Disappeared on Search Pages if Layout is Changed to 1column Worked Around - Override catalogsearch_result_index.xml in Magento_CatalogSearch Change layout="1column"...
1
vote
0answers
123 views

Magento 2: Fetch products with layered navigation programatically

I want to get products with layered navigation. I found sample code for Magento 1 below. How it can be done in Magento 2 ? http://www.credevator.com/magento-fetch-products-with-layered-navigation-...
1
vote
0answers
155 views

Magento 1.9.3 Load Different Layered Navigation Filter Selection

We have layered navigation items like Window Width, Window Height etc. Upon Selecting Door Height, Magento bring the results of Window Width and also show "Window Width" instead of "Window Height" ...
1
vote
1answer
46 views

Remove particular category name in default Layered Navigation in Magento 2.1

I want to remove only one category name under Layered Navigation so how to proceed this?
1
vote
1answer
1k views

Magento 2 Layered Navigation on Advanced Search Result Page

I am able to enable 'Layered Navigation' on Catalog Search Result-Page "http://127.0.0.1/catalogsearch/result/index/" (see image below) by just enabling the storefront properties 'Use in Search ...
1
vote
3answers
485 views

No products or too less products shown in Layered Navigation / Filter

We are using Magento 2.1.8 and believe this worked in Magento 2.1.7 (but the bug may also been introduced sometime else). When clicking a filter in the shop category, we get the message "We can't ...
1
vote
0answers
190 views

Product count in layered navigation category filter includes hidden simple products

I've got a Magento 2.1.7 installation which currently has 3 configurable products, which make up 26 simple products. All 3 products are T-Shirts, so in the layered navigation, I expect the T-Shirt ...
1
vote
1answer
47 views

Magento Layered Navigation Sort

I'm wondering if it's possible to move the way the categories are listed in the layered navigation... In the admin, there is a category that's at the bottom of a root category but on the front end ...
1
vote
0answers
43 views

Get initial layered navigation state

Is it possible in Magento2 to get the initial state of the layered navigation even if there is some filter applied? For example: I have a custom filterable without results attribute with three ...
1
vote
0answers
195 views

magento2 layered navigation not working

I have included following block in default category. its working fine with main product collection.I mean its displaying only 2 products.but layered navigation getting all products count. Can you ...
1
vote
1answer
359 views

customize layered price filter?

How can I customize price filter Magento to be based on associated product prices rather than configurable product prices? In my category page display configurable product with its options. On this ...
1
vote
0answers
335 views

Magento : Layered Navigation on CMS Page is Only Filtering by 'Default Category'

I have a CMS page which displays products filtered by attribute (using 'Product List Plus' Magento extension widget). I am trying to get layered navigation to display on this CMS page to be able to ...
1
vote
1answer
2k views

magento 2 layer navigation in custom collection page and toolbar

I want to call layer navigation in my custom page <?php namespace MPS\Allproduct\Block\Index; use Magento\Catalog\Api\CategoryRepositoryInterface; use Magento\Catalog\Model\Category; use ...
1
vote
0answers
233 views

From which class category filter is added to the filter groups used for aggregation : magento 2 layered navigation

From which class category filter is added to the filter groups used for aggregation : magento 2 layered navigation. The aggregation and search classes are used for getting the count of products in ...
1
vote
0answers
1k views

magento 2 layer navigation not showing

in Magento 2 Layer navigation not showing. I set is_anchor Yes I Reindexed i get success response also Flush the cache delete cache folder also What i need to do ?
1
vote
0answers
181 views

How to set up a layered navigation filter with swatches - but not use as a configurable product option

I would like to use an attribute set (with swatches) to feed into a filter on the layered navigation on category pages. However I do not want this attribute set to be an option on the product detail ...
1
vote
0answers
640 views

product filters in layered navigation not working on category page

I have created a category and shows a static block and products on this category by selecting the option "static block and products" in category settings. it is showing static block contents and ...
1
vote
0answers
176 views

Magento 2 - layered navigation, get available filterItems

I have a store with 2 product attributes: BRAND and COMPATIBILITY. All products have one BRAND and one COMPATIBILITY. At the moment both attributes are used to filter product in the Store. I need to ...
1
vote
0answers
60 views

Include filters in Home page Magento 2

I want to include filters of Layered Navigation in the home page in Magento 2. How I can add this? Where I have to modify to get it?
1
vote
0answers
84 views

Layer navigation shows not matching attributes with custom products collection

I have to try to implement alphabetical order for custom product collection in default category products listing page. Our custom products collection is working fine but left side layer navigation is ...
1
vote
0answers
52 views

How do I add the catalog/navigation block or am I just lost?

I am working on Magento 1.9.2.4 using a Porto theme. I am trying to get my sub category listing block working so it shows the sub category on the parent category page. The links are showing and ...
1
vote
0answers
131 views

Magento filter product by custom text

I am trying to filter product with custom text. I have create one module Top Searched product. In this module i am adding Top searched keyword like.. 1. Shirt 2. jeans 3. Dress etc. So in Top ...
1
vote
0answers
187 views

Filter grouped products in layered navigation by their associated configurable products's attributes

My category page contains only "grouped products" and I want to filter them in layered navigation by their associated (configurable) products's attributes. As I understand now grouped product itself ...
1
vote
0answers
1k views

Remove Category filter from Shop By Filter Renderer in Magento 2

Our designer has made a layout that was supposed to be based on the default theme, however me made one diversion with categories and designed something more akin to what we did once in Magento 1. I ...
1
vote
0answers
45 views

Odd behaviour with category anchor and layered navagation in M2

I have a catalog tree with 6 1st level categories, and up to 6 category layers below in sub-categories, for an approx total of 250 categories. The problem we are having is that we need sub-...
1
vote
0answers
1k views

Left layered navigation for the custom product collection in the custom page

I have a custom product collection (i.e) list of products which is based on the two attributes's values. Page is replicating the catalog page by the below xml <?xml version="1.0"?> <layout ...
1
vote
0answers
415 views

Magento 2.x Layered Navigation in Advance Search Result

How can I add Layered Navigation in Advance Search result page? In catalog search it is displaying Layered Navigation. But as I got result from Advance Search the left sidebar disappeared. I want ...
1
vote
0answers
771 views

Is it possible to use text swatches as multiselect on category pages? (Magento 2)

The webshop has a attribute called weight. On the product page of a configurable product, the customer can choose the attribute value of this attribute. To show these attribute values as little tiles, ...
1
vote
1answer
783 views

Hide certain filter from layered navigation top category

I have the following question: Add the layerend navigation of a top category, all the filters of all underlying subcategories are shown. In top categories, we only want to show two filters: product ...
1
vote
2answers
631 views

Rewrite ?cat= to seo friendly URL

(Magento) On a category page I can filter products by other categories using the ?cat=... parameter. This works just fine (In combination with Amasty improved navigation). But I would like to make the ...
1
vote
0answers
296 views

Select multiple value for layered navigation

On the category page (frontend) I'd like to select multiple value. For example if I select the color blue, then the filter 'Color' will be removed from the left side of the screen. I'd like to keep ...
1
vote
0answers
52 views

How to csll Catalog/Layer_View block in controller to get loaded attributes

I want to use below code in controller but not working. $block = $this->getLayout()->getBlock('catalog.leftnav'); I used in phtml file here, it is working fine. but it is not working in ...
1
vote
0answers
263 views

Get active filters in observer in magento

I want to change my category display mode if there is active filters. My config.xml is : <events> <catalog_block_product_list_collection> <observers> ...
1
vote
0answers
641 views

Setting Price Step for Custom Price Attribute in Layered Navigation

I have created a product attribute of type "Price". I am using this attribute as a filter in the Layered Navigation. My problem is that this custom price attribute does not follow the settings for ...
1
vote
0answers
504 views

Magento 2 - Limit Filter Items

On my category pages I'm using 2 filters, Category and Price. What I would like to do is limit the number of filterable items under Category to 10 items. I'm looking in magento/module-layered-...
1
vote
0answers
236 views

Magento 2 : How to implement Multi Select Category Filter?

I Have a category filter in my side bar , i managed to apply category filter using layred Navigation (using cat=11 in URL using a get method form) , now i want to add another category to the filter ...