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
0
votes
1answer
26 views

Magento 2 Custom filter of product list page not affecting layered navigation

I have a filter in My list.phtml like below: $_productCollection = $block->getLoadedProductCollection(); if($_COOKIE['selectToGarageList']){ $dat = $_COOKIE['selectToGarageList']; ...
1
vote
1answer
21 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
15 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 ...
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
17 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
1answer
40 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/...
0
votes
0answers
21 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 ...
2
votes
0answers
20 views

Magento 2: How to add product QTY in layered navigation filter?

I need to add qty filter in Layered Navigation so Customer can filter products using qty. I have implemented using product stock status but due to backorders. I need to display products based on ...
0
votes
0answers
22 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) ...
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 ...
0
votes
1answer
40 views

URL Query parameters are being lost

I am having a strange issue with my product filter (layered navigation) not working, I have narrowed this down to the URL paramaters being lost because of a 301 redirect. If I go to the URL... http://...
0
votes
0answers
17 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
38 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....
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 ...
0
votes
1answer
35 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 ...
1
vote
1answer
34 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" ...
0
votes
0answers
22 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
90 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
42 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
1answer
29 views

Move Category Description to Before Layered Navigation

I have managed to move my category description to the left sidebar, however it is stuck at the bottom, how can I move it to above the layered navigation. <move element="category.description" ...
0
votes
1answer
38 views

Show Layered Navigation inside the product listing toolbar

I am building a custom module and I need to show the Layered Navigation inside the product listing toolbar. Can you please help on this here is my catalog_category_view.xml file <?xml version="...
0
votes
0answers
43 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
1answer
18 views

Wrong price in url while using price filter - Magento 2

I'm using Magento layered navigation. While I'm trying to filter by price it's getting wrong value in the URL. Like I'm trying to filter from $2.00 to $4.99 but the URL got 2-5. What I want is either ...
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
26 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
2answers
43 views

Magento 2 Round off layered navigation max price in the price range

I want to round off the price range values in the layered navigation. Now it is showing as below $40.00 - $49.99 $50.00 - $59.99 $60.00 - $69.99 $70.00 - $79.99 $90.00 and above I want the following ...
1
vote
0answers
93 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 ...
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
23 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
95 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 ...
5
votes
0answers
42 views

layered Navigation price filter issue when configurable products exist in the list Magento 2

I have an issue with the product minimum and maximum price in the layered navigation. Please see screenshot below,
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
27 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
1answer
104 views

Magento 2 Mageplaza LayeredNavigation filter condition AND instead of OR for multiselect

I am working on a site that uses Mageplaza LayeredNavigation in Porto Theme. I need to change the behavior of multiselect from OR to AND. As an example I create attribute color. When I search for ...
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
2answers
59 views

Where does the foreach ($filterItems as $filterItem) coming in Magento 2 layered navigation (filter.phtml)

I am customising public_html\vendor\magento\module-layered-navigation\view\frontend\templates\layer\filter.phtml in custom module.I need to find which method or controller the foreach ($filterItems as ...
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
51 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 ...