Questions tagged [layered-navigation]

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

331 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
470 views

How to get layer navigation category and Attributes in magento 2.1

Magento 2.1 category page will be get some filters with attribute code and value. After applying attribute code filters, how to get remaining filterable attributes list by programmatically. please ...
2
votes
0answers
176 views

Category based layered navigation position order change - Magento 2.1

May I know how can I change the order of layered navigation attribute (same attribute) position based on category I have 2 category: Eg: Shirt, T-shirt Attribute : Color Shirt category: layer ...
2
votes
0answers
629 views

Layered Navigation on Custom Product Collection Page

I am developing module "Shop By Brand". So on the Brand details page it's displaying Brand details with Product Collection related to brand. All things are working except "Layered" navigation. I have ...
2
votes
3answers
1k views

Magento 2 Search Rest API

I need to change the response of Search Rest API in Magento 2. Request:rest/V1/search?searchCriteria[requestName]=quick_search_container &searchCriteria[filterGroups][0][filters][0][field]=...
2
votes
1answer
259 views

Remove swatches only in layered navigation Magento 2.1.x

I enabled visual swatches for color attribute and they display correctly but I don't want them in layered navigation. I tried to change code in Magento_LayeredNavigation/templates/layer/view.phtml ...
2
votes
0answers
433 views

magento 2 : show all attributes after filters in layered navigation

I want to show all attributes and their options after filter applied. so what I want is Filter should remain same it is after filter applied.
2
votes
0answers
869 views

Get active filters in Category/View Block in Magento 2

I want to return all active filters in a custom View Block in module catalog. While the categories are returned in the layered navigation view, this always returns an empty result: class CategoryView ...
2
votes
1answer
888 views

Overriding Magento\Catalog\Model\Layer class not working in Magento 2

Overriding Magento\Catalog\Model\Layer class not working in Magento 2. I'm trying to create a custom module for showing custom product collection with layered navigation. here i added di.xml file to ...
2
votes
1answer
214 views

Magento : Create Layered Navigation API to Show Attributes

I want to fetch these attributes of layered navigation using REST API. Provide me suitable solution.
2
votes
0answers
140 views

Ramifications of “Price” attribute type?

I'm trying to understand the ramifications of setting an attribute type to "Price" when the attribute will not actually be a currency value. The goal is to display length & width dimensional ...
2
votes
0answers
174 views

Why Mage_CatalogIndex_Model_Aggregation is not caching layered navigation filters?

A question for an expert. Make sure you read the preamble - the question is at the bottom. In app/code/core/Mage/Catalog/Model/Layer/Filter/Attribute.php I noticed a functionality to cache ...
2
votes
0answers
223 views

how to make the price range for the configurable product in magento2 list page

I want to show the price as variation for example from 09 to 100 as this in magento2 in the list page
2
votes
0answers
648 views

Fatal error while extending Catalog Model Layer class - Magento2

Been Working on Layered Navigation for my custom collection which is displayed on a custom page, Have extended the Magento\Catalog\Model\Layer in my custom class and have added the preference in di....
2
votes
0answers
814 views

Price filter not showing on layered navigation

Price filter not working even I have also selected "Filterable (with results)" in price attribute
2
votes
0answers
56 views

Google Webmaster Tools reporting lots of server errors due to layered navigation

We have noticed recently a big spike in Server Errors being reported in our Google Webmaster Tools crawl errors report. The bulk of which are returning a 503 response code and whose URLs all seem to ...
2
votes
0answers
235 views

How to display Date attribute in layered navigation?

I want to display Date attribute in layered navigation. Magento default date attribute configuration doesn't allow Show in Layered Navigation in frontend value to be set.How can I do that?
2
votes
1answer
500 views

Notice: Undefined offset in Algorithm.php

I experience a strange error which is filling up var/system.log: 2016-01-18T17:04:25+00:00 ERR (3): Notice: Undefined offset: 22 in /chroot/home/www/files/html/app/code/core/Mage/Catalog/Model/...
2
votes
1answer
661 views

Show date attribute in layered navigation

How to show "date" attribute in Layered Navigation in Frontend?
2
votes
0answers
254 views

Change Price Layered navigation Query string structure

How to change the price layered navigation URL Query string from https://example.com/category.html?price=2%2C10_3%2C10 to https://example.com/category.html?price=12-24 as I want to make Price ...
2
votes
0answers
182 views

Excluding products from layered nav filters

In my product collection on category list pages I am filtering to exclude products with certain attribute sets: return $this->_productCollection->addAttributeToFilter('attribute_set_id',array ('...
2
votes
0answers
234 views

productCollection Filter with layer navigation

I am writing a new product collection in the list.phtml I want new products to show up on the productlist.. but when i make a new product filter the navigation disappear.. I tried to differents ...
2
votes
1answer
203 views

Extension recommendation for “Zalando”-like filter functionality in layered navigation

I'm looking for an extension that implements the filter in the layered navigation much like popular german retailer Zalando: https://www.zalando.de/damenbekleidung-shirts/ (You can see the filter ...
2
votes
1answer
722 views

Filter (layered navigation) categories

My store has the following categories: - Root - other category - another category - Home - Kitchen - Cabinets - Appliances - Accessories ...
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::...
2
votes
2answers
1k views

How to display all sub categories from one category?

I'm trying to show all the subcategories of the category id3. Category ID3 -> Category Level 2 for Category ID3 -> Category Level 3 (for category Level 2) <?php if (!Mage::registry('...
1
vote
1answer
25 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 ...
1
vote
0answers
7 views

MANADev SEO Layered Nav Plus - Search Results URL Issue

I have the MANADev Layered Navigation Plus extension for Magento 1.9. The support period has expired or I'd ask them, but hopefully someone else has this and knows what to do. I have it working ...
1
vote
0answers
14 views

Hide Static Block from Category View on Layer Nav Click

When I setup a category page I can set it to display products, a static block or both. I would like to display a static block but when any option in the layered nav is clicked, I would like to hide ...
1
vote
0answers
16 views

Changing Layered Navigation 'Category' to links, not filters

I was wondering if anybody could help. I've found similar question with earlier versions of Magento, but not 2.3.2. Essentially, I want to change the 'Category' section of the layered navigation to ...
1
vote
0answers
32 views

How data are coming into elasticsearch while running catalogsearch_fulltext?

I have elasticsearch as a catalog search engine. Whenever we are running catalogsearch_fulltext, it is pushing the data into elasticsearch. I need to do apply filter to those data before pushing into ...
1
vote
0answers
22 views

How to change attribute position (layered navigation) sorting based on category wise in magento 2

I want to change attribute position based on category page means want to change custom position here I have list of attribute size, color, amps, phase for example in category1 I want show color ...
1
vote
1answer
35 views

How to close layered navigation accordion on side click?

If anyone can help me with how to close active accordion of layered navigation if clicked outside the layered navigation block? <div class="filter-options" id="narrow-by-list" data-role="content" ...
1
vote
0answers
97 views

Pagination issue with Layered navigation on custom page in Magento 2

I had followed the steps from the link https://webkul.com/blog/how-to-create-layered-navigation-on-custom-page-in-magento-2 to create custom page with layered navigation. Layered Navigation is ...
1
vote
0answers
26 views

layered navigation filter in magento 2

Recently working on my module i need to filter product collection on the basis of certain attributes and show then on a custom page of my module i have doe this shit.. but problem is that the ...
1
vote
0answers
23 views

How to add Layered Navigation On Brand View Page

I'm using free Magento2.3 "Magetop_Brand" Ext. which is working fine but i want to call layered navigation on brand view page...how can i achieve? Ext. URL:- https://www.magetop.com/magento-2-shop-...
1
vote
0answers
22 views

Custom Attribute with custom Source is not appearing in Layered Navigation Magento1

I have created several attributes and want now to filter on them. I create the attributes with these values: $defaults = [ 'required' => false, 'comparable' => true, 'filterable' =...
1
vote
0answers
33 views

stock filter is not adding to layered navigation in magento 2.2.7

Do all the setting but not get the filter in front end for stock
1
vote
0answers
37 views

How to create Layered Navigation in API?

I want to fetch Category wise products and products attributes with values just like values of layered navigation in web using REST API. Any help/advice would be appreciated.
1
vote
0answers
164 views

Magento 2.3.1 suddenly price disappeared from layered navigation

I am having this problem and I don't have a clue what is happened. Suddenly in front end price filter from layered navigation don't show in frontend in all categories. No new module installed. This ...
1
vote
0answers
51 views

how to set custom design layout for custom attribute category in magento 2

I have created 3 attributes. First for Design layout left or right custom category attribute. Second for Enable disable custom category attribute. Third attribute for product which is enable for ...
1
vote
1answer
115 views

Copy Luma Layered Navigation to Blank Theme

Please, can anyone provide instructions on how to copy the Luma Layered Navigation into the Magento Blank Theme? I tried by adding the Magento_LayeredNavigation into app/design/frontend Whilst ...
1
vote
0answers
21 views

Filter attribute value inside layered navigation

Is there anyway to make a search tool to filter value inside an attribute like this
1
vote
0answers
53 views

Magento 2.3 Layered Navigation Returns all Products, unfiltered

I have set up a store with demo products, installed the Porto, which uses MagePlaza layered navigation. However, when I use the layered navigation to filter the products down, it always returns all ...
1
vote
0answers
21 views

Webkul Layerednavigation

I just installed Magento 2 webkul advanced layered navigation. but wen I use it as composer, I get below error: [RuntimeException] Source class "\Webkul\AdvancedLayeredNavigation" for "\Webkul\...
1
vote
0answers
11 views

Custom Layer with custom template

I would like to create a custom layer to filter products by price. This specific layer should therefore have a dedicated, specific TPL, which is the best way to do it?
1
vote
0answers
207 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 ...
1
vote
0answers
252 views

Magento 2 - Layered navigation Parent and Child Category Filter issue

I am using WeltPixel layered navigation Free extension. In category filter, third level categories was not showing in filter navigation by default. I added some code to get third level categories. ...
1
vote
2answers
651 views

Remove product count from layered navigation magento 2

I've been trying to remove the product count from the manufacturer attribute I'm using in the layered navigation. When using the setting "Show product count" and turn it off, it won't hide the product ...
1
vote
0answers
95 views

Using layered navigation without is_anchor category attribute

Is it possible to use and display the layered navigation filtering when setting the anchor attribute to false? I don't want to set anchor to true, because I don't want products of child categories to ...
1
vote
0answers
347 views

How to expand only category filter in Layered navigation magento2?

I am trying to expand category filter on page load in layered navigation I followed below link to implement, its worked fine in version 2.2.2, My magento version is 2.2.4, the code is different in ...