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
1
vote
0answers
237 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 ...
1
vote
0answers
570 views

Dynamic attribute filters (on Amasty Improved Navigation)

We use to have a filter on our previous magento installation which shows the New Arrivals New on Sale products Back in Stock products But our developer left the team and hasn't told us how he has ...
1
vote
0answers
68 views

When i call $this->loadLayout(); ite return error on catalogsearch

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS `...
1
vote
0answers
40 views

Attributes assigned globally to advanced search/page sorting/layered navigation on two of my websites. How do I assign them manually?

I've created two websites, but they will be using two different attribute sets. The products are working fine, as they're only using the attribute set assigned to them. The major issue I'm facing is ...
1
vote
0answers
24 views

Stop layered navigation retainining filter when moving between categories

I am using layered navigation a custom theme (based on RWD) and the filter is keeping the value when moving between categories. Can anyone please tell me where I would start debugging this issue? Or ...
1
vote
0answers
27 views

Hide two or more attributes over custom layout

I try to hide two attributes in custom layout, but it works for only one attribute: <reference name="catalog.leftnav"> <action method="unsetChild"><alias>category_filter</alias&...
1
vote
1answer
652 views

How to resolve the Error “Call to a member function getChildren() on null”

I wish to display the level1 and level2 subcategories of current active category in layered navigation in list page. So I gave the below code in catalog/category/view.phtml : <div class="sidebar-...
1
vote
1answer
58 views

Customization Layered Navigation

In my filter.phtml i have this code: <select name="layered-nav-select" onChange="setLocation(this.value)"> <option selected="selected" value="#">Please Select </option> <?php ...
1
vote
1answer
646 views

Wrong products after filtering attribute in layered navigation

I have a problem i try to solve for a while but i can find the exact issue. The problem: after i filter a bulb type like H7, i also get products from another bulb type like HB4 so people can be ...
1
vote
0answers
58 views

Unlimited Multiselect Attribute

I have a Magento Webshop (CE 1.9) where I use a multi-select attribute. There seems to be a maximum number of multi-select options I can actually select in the product. I've read about a solution ...
1
vote
0answers
430 views

how to remove request parameter in layered navigation

In layered navigation it is required to make custom parameter in remove link for triggering proper removal in this filter, to have possibility to save filter state in session and be able to remove ...
1
vote
2answers
284 views

Colorswatch filter shows Size as Color

I am working with Magento 1.9.1.0 I have 2 attributes as swatches (Color and Size). In layered Navigation: select Blue--> shows blue swatch in filter select XL --> shows XL in Filter select blue ...
1
vote
0answers
789 views

layered navigation / left sidebar to be floating (sticky) when you scroll the products

I want to fix the layered navigation to be like a sticky header, as in when we scroll the products the filters remain as fixed and we can browse the products like on pepperfry.com.
1
vote
1answer
120 views

one category page views only 10 products

I've one category called x it has about 1700 active skus while it only display 10 on front end in public/app/code/core/Mage/Catalog/Block/Product/List.php : $this->_productCollection = $layer->...
1
vote
0answers
172 views

Custom attribute of product should not be display at layerd filter, after disabled that custom module

I have created custom product attribute 'discount' from my custom module. This attribute displayed at Layered Navigation. Now, If I disable my custom module from Admin Panel System >> Configuration >>...
1
vote
0answers
352 views

price filter in layered navigation to show only in-stock product count

My need is to show in-stock product count only in price filters on layered nav. Is there any possible solution for this? Currently out of stock products are visible in frontend and price filter show ...
1
vote
3answers
130 views

Magento2 - How to hide price filter only in specific categories?

I want to hide price filter on some of my category pages. Can anyone tell me how can I achieve this? Thanks In Advance..!
1
vote
1answer
2k views

Layered Navigation: Make some of the block collapsed by default

How to make some block (filters) of my choice collapsed by default? I have one attribute with a lot of values and it looks ugly. Or, if this is not possible - maybe it's possible to make all of them ...
1
vote
1answer
375 views

Display discount in Layered navigation filter

I have added attribute in the admin side for the percentage of discount. I have to display discount with percentage in the layered navigation filter. with discount range like 10% - 20%, 20% - 30% etc. ...
0
votes
1answer
18 views

Mageplaza navigation layer.js not working

Mageplaza layer navigation js updated from app/code/Mageplaza/LayeredNavigation/view/frontend/web/js/view/layer.js this location but it is not updated. but on console js event is showing on below ...
0
votes
0answers
9 views

Magento 2: Disable snap/scrollto on opening attribute group in layered navigation (luma theme)

How can I disable the snap/scrollto when opening an attribute group in the layered navigation (luma theme)?
0
votes
0answers
18 views

Magento 2 get filters for current custom collection

I have custom collection which i make based on some query, the query is used to contact 3rd party api where we get values which we use to create our custom collection. The products are not assigned ...
0
votes
0answers
23 views

Magento 2 Layered navigation on CMS

I have the Porto theme with the Layered navigation from Mageplaza in the theme. I want to place the layered navigation in the left menu on some pages. I tried this already but does not work. Magento 2 ...
0
votes
0answers
13 views

Magento 2.1.8 Layered Navigation is not working while select Sub Category

Magento version: 2.1.8 Categories: Parent > Child When I select the parent category in layered navigation. It works fine (See screenshot 1 & 2) Sceenshot 1 Screenshot 2 After selecting the ...
0
votes
0answers
23 views

Sort attributes in layered navigation. M2

I'm trying to sort options of attributes in alphabetic order. For example we have attribute "color" and there is options: 1) attr 2) bttr 3) attr2 I need to sort this options like: 1) attr 2) ...
0
votes
0answers
18 views

Why attributes of bundle items of a bundle product are also saved to the bundle product itself? (database-wise) - Magento 2.3.2 EE with Elasticsearch

We have this exact same issue in Magento 2.3.2 EE and applied a patch in \Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\AbstractEav as per this solution of M1 and it is working fine in M2 ...
0
votes
1answer
31 views

Magento2: Layered Navigation show Negative Price Filter

After migrating from M1.9 to M2.3.1. Layered Navigation Shows Negative price range I remove all Negative prices manually. After that layered navigation filter shows the correct range and doesn't ...
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 ...
0
votes
0answers
11 views

Show out of stock products with layered navigation in magento 2.3.1

How to show out of stock products with layered navigation for one category if Display Out Of Stock is disabled in the admin? I tried many ways but I could not find the solution, please help.
0
votes
0answers
12 views

Magento 2.2 Custom Product collection for layered navigation

I changed the product collection for product list page but can not able to change product collection for layered navigation. Where to change custom product collection for Layered Navigation??
0
votes
0answers
5 views

How to show items on mobile layered navigation, when no customer is logged in?

I want to show items on mobile layered navigation when no customer is logged in but I can't. When a customer is logged in, the items shows. I overwrite the default.xml. <referenceBlock name="top....
0
votes
1answer
39 views

Magento2.3.0 In which file attribute sort order set for layer navigation left side on product list page?

I am using Magneto2.3.0 in which the file attribute sort order set for layered navigation, left side on product list page/category page ? If any one idea how it is working in Magento default please ...
0
votes
0answers
23 views

How can we move current filter (Not whole layered navigation)

How can we move current filter (Not whole layered navigation) <?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --&...
0
votes
1answer
95 views

Magento 2 : How to set the different product price to Storeview?

I have this Extension StoreViewPricing, you can set product price in store views, but in Layered Navigation when I'm applying price filter it's not showing proper results as expected. Here's the ...
0
votes
0answers
46 views

Add sidebar additional with category filter in magento 2 custom phtml

I have a custom phtml showing list of products with specific brand shown like below. I need to show the sidebar like this image in phtml as shown in the category view page of Magento 2 I tried this ...
0
votes
0answers
44 views

Layered navigation product count issue after elasticsearch

We are facing issue in layered navigation product count after enabling elastic search in Magento 2.3.1 Link which was working earlier before enabling elastic search Now, this file is not called. ...
0
votes
0answers
24 views

Magento 1.9 catalog layered filter via ajax

How can we get the filtered data via ajax without using any plugin? I have created a module for ajax filtering. But don't know how to render the data through catalog/product/list.phtml. Does anyone ...
0
votes
0answers
27 views

Quantity as filter like price in layered navigation in magento2

I want to display quantity like 0-10(2) 10-20(5) 20-30(3) in layered navigation. 0-10(2) 10-20(5) 20-30(3) But currently in Magento 2 Quantity is showing like Quantity In stock(50). How can I ...
0
votes
0answers
19 views

Magento 2.3 : Apply condition to layered navigation

I want to hide products with certain attribute values. How to apply condition if attribute values are present in a product. Say project_id is a custom attribute if the product has 0 or 5 then and then ...
0
votes
0answers
22 views

Certain option not showing in layered navigation in Magento 2.2.6?

I am running a Magento 2.2.6 store. I have an attribute called max-size. Now when I navigate to a category page, it does not show all possible options represented by the products shown in the category....
0
votes
0answers
15 views

Layered Navigation working not true in magento 1.x

I custom my layered navigation in category page. But it working not true. There, I have TASCHEN TYP, when I click in Kuriertasche (33), it show " no products matching ". How to fix it ? I tried to ...
0
votes
1answer
26 views

Toggle show more btn is automatically close itself in magento 2 layered navigation

I tried this jqery code and try to put "li" instead of "a"...but sometimes button works with this error in console"Uncaught error jquery is not defined" but most of the times it's not working with no ...
0
votes
1answer
37 views

Magento 2: How to remove category sidebar from the pages?

Yesterday I had applied porto theme after that category sidebar is coming for every category page and product page. In Category page it is coming in left side and product page coming in right side. ...
0
votes
0answers
101 views

How to show Quantity as filter in layered navigation in magento 2

I want to show Quantity filter in layered navigation like this Quantity 0-10(2) 11-20(4) I have enabled this attribute filter from admin panel and it is showing like Quantity In Stock(200) So ...
0
votes
0answers
10 views

How to add layered navigation filters in Category Page API?

I'm working on Category Page API where according to design, it is category details above followed by category products. Now, I'm unable to get the layered navigation filters in the Magento default ...
0
votes
0answers
13 views

Change the postion of navigation layer and the change its set up

I have looked a few solutions on how to move the position of the navigation layer. But they aren't for the method that I need and I have looked to adapt them but this doesn't seem to work What I a ...
0
votes
0answers
28 views

Magento2: show the attributes in the layered navigation based on the parent category

I want to show the attributes in the layered navigation based on the parent category. For example: In category page has 4 attributes in the filter. so all their subcategories pages have the same ...
0
votes
0answers
27 views

Magento 1.9 Show Date attribute filter in layered Navigation

How to show date attribute in Layered Navigation Any help would be appreciated. Thanks.
0
votes
0answers
24 views

Magento 2 - Show Layered Nav on CMS Pages

I have a few CMS pages that I'd like to show the layered navigation on, I've tried adding the following code to the update xml section with the Design tab but it just doesn't want to work: <...
0
votes
0answers
52 views

Magento 2 REST API - Get filterable attributes of a category before and after applying filter with multiselect

I am trying to achieve multiselect filter in custom script to be able to use it in custom REST API. While I am able to get all filterable attributes specific to a category. But after applying filter ...