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
2
votes
0answers
32 views

Magento2 - Layered navigation issue

I have a Magento2.3.4 installation. The issue is that the product count on layered navigation is wrong. When I am selecting an option the products showing on the grid are correct.
0
votes
0answers
16 views

Magento2: Display 3 level menu on hover of level 1 menu

I want to display 3rd level submenu once we hover on 1st level menu. Like if I hover on WOMEN then Tops sub-menu auto shows. The file I assume for the menu is: /var/www/html/magento233/lib/web/...
0
votes
1answer
28 views

Magento 2 How to apply filters for layered navigation Using REST API

I want to apply filters for layered navigation using REST API. If I send color=5 then in category page it is displaying 2 products so how to get that data in API response?
0
votes
0answers
34 views

Magento 2 layered navigation for categories (Luma)

I'm having a hard time understanding how to have my categories work as layered navigation options in my sidebar. I see that I can make attribute options such as color appear in my layered navigation ...
4
votes
3answers
162 views
+50

Display out of stock product only for specific Category in Magento2

I have to show out of stock products only in certain categories by hiding them in all other categories. used below plugin to implement, that is not working. Vendor/Module/etc/di.xml <type name="...
1
vote
0answers
25 views

magento 2 keep the applied filters in opened state

I wish to make changes in the layered navigation filter, so that all the applied filters are visible(opened state). For example I am selecting red in color filter, all other options in color filter ...
0
votes
0answers
18 views

Search / Filters - returning grouped/configurable/options results when their children match?

I am trying to understand why in the core Magento functionality search and layered navigation are fine returning parent products when children are a match, but why so many extensions fail to do so. ...
0
votes
2answers
30 views

Theme(Zemez template monster) not supporting Multi-select Layered Navigation extension in magento 2.3.3

I have been searching for a free and open source Multiple select Layered Navigation. I found this https://www.magesolution.com/magento2-layered-navigation.html extension which working 100% fine and ...
0
votes
0answers
12 views

Magento 2 Layered Navigation - Multiple Select Attributes, Filter on All Selections

I have layered navigation enabled with a multiple select field, but am having difficulties with the default behavior of every extension out there that I can find. Need to find a way for the user, ...
0
votes
0answers
64 views

Magento 2.3.3 : Rating Layered Navigation not Display When Enable Elasticsearch

In Magento 2.3.3, I added Rating filter in layered navigation. It's proper working when configuration is : Store -> Configuration -> Catalog -> Catalog -> Catalog search ->Search Engine = MySQL ...
0
votes
0answers
6 views

Magento 2: How to see toggle-nav button in all width?

I would like the button of the layered navigation to be seen also from 768px of width (pc view). How can I modify the styles? Now: I need it as the image shows:
0
votes
1answer
17 views

How to copy Luma Layered Navigation to Blank Theme

I have created a custom theme in Magento 2.3 which is extended from the blank theme. I would like to use the luma layered navigation. I have copied Magento_LayeredNavigation folder from /vendor/...
0
votes
0answers
21 views

Magento InfiniteScroll not working with AheadWorks Layered Navigation

I am using https://github.com/Strategery-Inc/Magento-InfiniteScroll extesion for infinite scroll with porto + AheadWorks Layered Navigation It's stops working when we apply any sorting? Do you have ...
1
vote
1answer
30 views

Magento 2 - Custom API to get layered navigation

In magento 2.2.5 Enterprise edition I am trying to get layered navigation using custom API. I got solution form here: https://magento.stackexchange.com/a/262086/31910 and http://www.sivaschenko.com/...
0
votes
1answer
29 views

Can we use virtualType in programmatically in layererd navigation filter?

Just wanted to know, how can we use virtualType programmatically in magento 2 custom script file ? Actually I am building api for layered navigation and I am getting following error. Fatal error: ...
2
votes
1answer
302 views

How to filter product collection with default graphql products query

I am using Magento 2 Graphql to get product collection based on category id. I want to apply filter by color, size, material etc. I have checked the graphql available filters and those are not ...
0
votes
0answers
11 views

How to sort layered navigation items alphabetically and numerically

In my layered navigation, I have items that are being sorted by quantity. For example the items with the most quantity are listed higher, and lower quantity are listed lower. What i am looking for ...
1
vote
1answer
62 views

Magento2.3.3 Layered navigation filters are not working properly

We recently upgraded from magento 2.2.7 to 2.3.3 We have an issue when we click on any filters at PLP. The filter parameters are getting stripped from the URL and it redirects back to Original PLP ...
1
vote
0answers
22 views

Magento 2 - Layered navigation show products with salable quantity to 0

In my store I have all products with only 1 quantity. When I buy a product, its "Salable Quantity" is 0 instead its "Quantity" stays 1 and thats ok, because the product is only "reserved" and the ...
1
vote
0answers
19 views

Magento2 Mageplaza LayeredNavigation multiselect filter with AND condition [closed]

I am working on a project which uses Mageplaza Layered Navigation. I need to change the behavior of multiselect from OR to AND. As an example, I create attribute color. When I search for red and ...
0
votes
1answer
75 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
54 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
15 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
17 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
22 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
12 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
37 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
66 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
25 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
25 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
24 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
36 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
2answers
46 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
20 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
50 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
13 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
33 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
60 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
70 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
25 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
189 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
74 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
36 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
59 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
54 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
33 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 ...

1 2 3 4 5 16