Questions tagged [layered-navigation]

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

Filter by
Sorted by
Tagged with
7
votes
2answers
7k views

layered navigation isn't populated by collection attributes — CMS page

I'm attempting to add layered navigation to a CMS page containing a widget that contains a custom product collection (products that are 'new'). Within this widget are fuctions that, given the correct ...
4
votes
3answers
5k views

How to update category page with custom filters, and also layered navigation, Magento 2.1

I need to update category page collection by filtering restricted SKUs. As like $collection->getSelect()->where("`e`.`sku` IN('24-MB04', '24-MB03', '24-MB02')"); Above query gives collection ...
12
votes
2answers
23k views

Select more than one item in layered navigation (multiple select/checkboxes)

How do you convert the standard layered navigation to use checkboxes or multiple select inputs for attributes of type dropdown or multiselect? For example if a user selects blue and red for the ...
12
votes
3answers
9k views

Layered navigation for custom collection on custom page - magento2

I am working on fetching layered navigation in magento2 for a custom product collection. I am getting custom collection already on the custom page need to show layered navigation. Tried to adapt this ...
2
votes
1answer
4k views

Magento 2 How to show Layered Navigation on home page?

I want to show Layered Navigation on Home Page. On home page their is banner slider and on banner image their is Search Box like below. Now I want show Layered Navigation instead of that search box. ...
6
votes
3answers
5k views

Magento 2 - Layered Navigation for Custom Product Collection

I created a CMS page for products that contain a certain attribute (On Sale Items). I extended the ListProduct class and added filters to the product collection to achieve the desired results. (...
5
votes
1answer
8k views

How to show layered navigation filter all time

I have seen lots of people who discussed about this issue, also given plenty of ideas, but i am still stuck at the issue. As per the answer at this link, i have written the new function to get the ...
5
votes
2answers
4k views

Magento Enterprise: catalog_product_attribute not reindexed on product save

I'm using Magento ee 1.13.0.2 and discovering the next problem: I have some of the attributes used in layered navigation - color and size. When I add a new product (simple one) and save it - product ...
4
votes
4answers
835 views

Hide an attribute in Layering Navigation for a specified category

Is it a way to hide an attribute in Layering Navigation for a specified category? I have a category which join products with different attribute sets. In this case layering navigation becomes very ...
2
votes
1answer
6k views

How do i get active filters in observer method?

i want to check the currently applied layered navigation filters using an observer. When specific filter values are selected an additional layout handle should be added which adds a static block to ...
1
vote
1answer
1k views

Layered navigation - multiple attribute choices

I'd like to make a simple "multiple choices per attribute" addon for the layered navigation. Simply put, I want /pisarniska-razsvetljava.html?led_color[]=3&led_color[]=4 to work. For this to ...
2
votes
2answers
5k views

Custom Product Collection not Getting Filtered by Layered Navigation

I had Overridden the product List.php Class & here is the code protected function _getProductCollection() { if (is_null($this->_productCollection)) { $result = array_unique($productIds); ...
2
votes
3answers
8k views

Magento: Hiding and not counting out of stock in layered navigation

About: Hiding and not counting out of stock in layered navigation in Magento Hi, this has boggled us for quite a while. An I did not find a solution. We upgraded to Mage 1.8.1 hoping that it would be ...
3
votes
2answers
6k views

Layered Navigation price filter attribute multiselect check box

I am working on Layered navigation of Magento. I want to implement the following: Price filter with multiple check boxes. Kit type with Radio buttons. Ratings with multiple check boxes. The same is ...
4
votes
1answer
2k views

Magento 2 api - How to get layer navigation filters available in rest api?

I have someone issue in api magento 2. I need get layer navigation data available in product collection ( current category , search product ) but I don't know magento 2 api available it or not . I ...
1
vote
2answers
10k views

Magento 2 layered navigation with checkbox with multi select

I would like to implement layered navigation with checkbox instead of links in my Magento 2 project. What would be the best way to achieve this?
9
votes
1answer
4k views

Adding layered navigation block to custom page

In Magento, the Layered Navigation block works nicely in the product list page. How can this block be successfully copied to a custom page, where there is a custom list of products? Note: Just ...
5
votes
2answers
692 views

Rating Filter in Layered Navigation

I want to implement Rating Filter in layered navigation sidebar. But I have no idea how to proceed or where to begin.. Read this article.. got little idea but still don't know to implement rating ...
3
votes
1answer
1k views

Magento 2 Where (code) are the filters from the layered navigation applied to the product collection?

I'm trying to find the portion of code where the filters from the layered navigation are applied to the product collection. The method called for product collection retrival is Magento\Catalog\Block\...
1
vote
4answers
16k views

How get all subcategories of specific category?

I have a file left.phtml for a vertical menu. I want to get all subcategories of specific category ID3. I have this code. <?php if (!Mage::registry('current_category')) return ?> <?php $...
0
votes
1answer
2k views

magento 2 layered navigation on CMS page or homepage with selected category

I want layered navigation on CMS page with selected cateogry. I am following this link It is showing all category and attribute. But I don't know how to set selected category. For example on Clothing ...
7
votes
2answers
1k views

How to show layered navigation 2 times on category list with a different template file? [duplicate]

I succeed to load 2 times layered navigation by using <action method="insert"><blockName>catalog.leftnav</blockName></action> The problem here is that I need to load another ...
6
votes
2answers
2k views

How to display core Country of Manufacture attribute in layered navigation?

I like to have core Country of Manufacture attribute displayed in the layered navigation but it seems simply selecting one of the "Filterable" options in Use In Layered Navigation field is not ...
5
votes
1answer
2k views

How to not remove layered navigation options (which are removed after selecting other filter)

My question might be unclear. So first here is an example in this page From Shoe type when i select sandles, two of color filter options disappears from Color Type. which i want not to disappear ...
3
votes
3answers
3k views

Hide out of stock products in Layered Navigation

I will describe my magento issue as best I can. I have shoes size filter in Layered Navigation but for some reason when i press ex. "size 43" then the results display shoes that had number 43 and now ...
2
votes
3answers
2k views

Including layered navigation twice on some page

We have a situation on a responsive website, in which we need to include the layered navigation twice into a page as on mobile it's hidden in one place and shown above the content. Oviously rule of ...
1
vote
1answer
2k views

Layered navigation filters for grouped products only

Well, I'm having a category filled only with grouped products and I want these ones to be filtered by their associated ( and simple ) products's attributes. Until now I've used a dirty workaround : I'...
1
vote
0answers
211 views

Conflict in layer navigation and infinite scroll extension magento2

I have Installed above BSS_layeredNavigation & Lof_Ajaxscroll extensions. Both of them are working fine if used individually. If both extensions are enabled there is a conflict. To avoid ...
0
votes
0answers
39 views

Magento 2.3.x : Display all products in custom page with layered navigation

I want to display all magento store products in one single page with layered navigation. I follow this answer. But, it's not display layered navigation and swatches. Also layout of page not display ...
4
votes
1answer
14k views

Move layered navigation block between product list toolbar and product list

I have moved the layered navigation block into the content section however I can't figure out how to position the block. I can only get it to show at the very top of the page or the bottom. I need it ...
4
votes
2answers
6k views

Text attribute in the layered navigation

How can i make a text attribute available to the layered navigation? In the admin it is not possible to set an attribute to filterable if it is not a dropdown or price type. I can worry about the ...
2
votes
1answer
806 views

Magento Layered navigation filters for grouped products

In few words - problem is same as in this question https://stackoverflow.com/questions/16718129/magento-layered-navigation-configurable-products-multiple-filters-active-iss We have products (...
2
votes
1answer
3k views

How to add custom attribute [ shop_by_brand ] filter in layered navigation without using admin in Magento 2.1 ?

I want to add shop_by_brand attribute in layered navigation without using backend admin.I have created this attribute using schema:- $eavSetup->addAttribute( \Magento\Catalog\Model\Product::...
5
votes
1answer
772 views

Magento2 how to apply layered navigation filters at REST API Level?

I would like to implement below REST API in magento 2 "How to retrieve which layered navigation filters are applied as like in the product list page?" Can you please suggest me how we can ...
4
votes
2answers
5k views

layered navigation for custom product collection on custom page

I'm working on a module where some products have an attribute named designer. and for every designer, all products by him displayed as catalog category view. So far I'm able to filter the products ...
4
votes
1answer
4k views

What is difference between filterable with result and Filterable with no result in magento Attributes

Basically why magento uses filterable with result and filterable with no result in magento attribute. What is the benefit of that attribute if that is Filterable with no result. Basically, I created ...
4
votes
3answers
4k views

Magento 2 : Rating Filter in Layered Navigation

In Magento 2 How to add Star Rating Filter in to Layered Navigation?
3
votes
1answer
9k views

How to get Search result Product collection outside result.phtml

I need to get current product collection (actually I just need all Product IDS of products in current search result) of search result page in outside result.phtml, because I'm going to do something on ...
7
votes
1answer
14k views

Display filter by price on layered navigation

I have a problem with Magento. Probably I have misconfigured it. The price filter on layered navegation doesn't show. In Configuration → Catalog → Catalog → Layered Navigation i have Display Product ...
5
votes
5answers
8k views

Attribute is not appearing on layered navigation in Magento 2

I am trying to display product attribute on layered navigation but it's not appearing. I have already selected the Use in Layered Navigation -> yes,but the attribute is not appearing on layered ...
4
votes
2answers
3k views

Magento 2 Layered Navigation in Advance Search Result

How can I add Layered Navigation in Advance Search result page(2 Column Left layout)? How can I dot it?
4
votes
3answers
10k views

Order filter layered navigation magento

I have some attributes (size, color, type ect). I want to order them in layered navigation in category page.
4
votes
3answers
770 views

Quantity as filter in layered navigation

How to make product Quantity wise filter in layered navigation. See image
4
votes
1answer
2k views

magento 2: Customize collection of product not effecting in layer & toolbar area

I extend the collection query using event 'catalog_block_product_list_collection'. Query displaying proper data, as well as showing proper record in product list page. But same collection is not ...
3
votes
1answer
3k views

Category Specific Layered Navigation Changes (Disabling Attribute Filters) [closed]

I'm trying to disable a particular attribute filter in layered navigation for a specific category. The attribute filter I wish to disable is the manufacturer in this instance. I'm trying the ...
3
votes
4answers
2k views

Attribute not shown in layer navigation after Migration

I migrated from Magento 1.9.3.3 to Magento 2.1.7 EE. I have one issue, that is some of the attributes(multiple select) not shown in layer navigation. Create new category called test, Assign two ...
3
votes
1answer
2k views

Ignoring Child Product Attributes in Layered Navigation

How would I go about modifying layered navigation to only look at attributes on the parent configurable product, and not the child? Child and parent products both have the attribute set and it is ...
2
votes
1answer
355 views

stop filter block from moving to state block on selecting any filter option

i am not able to keep the filter on page as i select any one from them. On selecting any filter it moves to the state Block. So, what do i do to keep it from moving to the state block?
2
votes
1answer
136 views

How to render loaded attributes from Catalog/Layer_View block

I am trying to get loaded product attributes from Layered navigation into listing page. The below code is working fine if I print $grid_labels[] When I am applying/selecting layered navigation ...
1
vote
1answer
3k views

Change the Position Of Layered Navigation

I have found lots of discussion regarding the title, but the position is not changing. I want to move layered navigation from left side to top of the category page. I have found the same question at ...