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
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 ...
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']; ...
7
votes
4answers
6k views

Magento 2 - How to rearrange Customer “My Account” links

Now it looks like this: Account Dashboard Account Information Address Book My Downloadable Products My Orders Newsletter Subscription Billing Agreements My Product Reviews My Wish List I want to ...
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
2answers
641 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
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 ...
1
vote
1answer
886 views

Magento 2 Layered Navigation doesn't show search filter's values

I have a store with 10 products simple , configurable and grouped. My category layered navigation is working fine with filterable attributes. but when I search it shows empty attributes. I did the ...
0
votes
1answer
853 views

function displaying the number of found products in layered navigation filters in magento2

Which function is responsible for displaying the total count of products in the filters in the layered navigation. ie) i need to get the count (eg 50 ) in my custom filterable attributes as well. ...
2
votes
4answers
8k views

Remove Layered navigation - Magento 2

I would link to remove all the layered navigation filters from left side of Magento 2, using xml Please guide me
4
votes
3answers
1k views

Negative price filter in layered navigation

I'm experiencing a strange issue here where the price navigation filter (layered navigation) somehow came up with negative price ranges. If I flush the price tables it seems to solve the problem, ...
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 ...
5
votes
1answer
653 views

Magento layered navigation filter out configurable product out of stock

I have configurable products with size variations, for example small, medium and large. In product X, the simple product for the small size is out of stock. If I set in 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
1answer
731 views

Magento : Show Categories on Left When I am on Sub-Category

I'm new in magento 1.9 I need to showing categories in sub category page under layered navigation. I searched in internet but I can't find exact solution. Can anyone pls help me.
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)?
2
votes
1answer
660 views
1
vote
2answers
483 views

how to debug why layer navigation getItemsCount() return zero?

In layer navigation multiselect attribute not displayed. $filter->getItemsCount() in vendor/magento/module-layered-navigation/view/frontend/templates/layer/view.phtml always return zero. <?php ...
3
votes
1answer
665 views

How would I add “Brand” to the layered navigation without having to add the attribute to the product

I want to add Brand as one of the filters, however when I do this - it also comes up as an option on the actual product. Is there a way to add the Brand information to each product and have it show up ...
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/...
4
votes
1answer
645 views

Custom category collection not rendering correct results in layered navigation and toolbar in magento 2

I am displaying a custom product collection in a block that extends the category block. I have overriden catalog_category_view in my custom module. The custom filter yields renders proper ...
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 ...
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 ...
0
votes
2answers
720 views

Set Is Anchor to 'No' in Category settings have any other side effects other than removing Layered Navigation?

I've been working with a Magento 1.9 shop that has issues with their speed, and I've noticed turning off the 'Is Anchor' in Category settings speeds up the category view significantly. I understand ...
2
votes
1answer
498 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/...
0
votes
1answer
779 views

Layered navigation doesn't appear in mobile view (Magento 2)

I created a layered navigation using an attribute to filter colors. This color filter is the only filter I am using and works in desktop view well. But in mobile view the filter doesn't show up. I ...
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]=...
3
votes
1answer
437 views

Negative price filter in Layered Nav Magento 2.2

Currently experiencing issue with layered Nav price filter. The price ranges are completely incorrect. Default filter is showing price range -10 to 395 http://prntscr.com/jp1r63 Applying price range ...
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 ...
11
votes
1answer
877 views

Magento2 Custom Layered Navigation

I want to add a layered navigation block for a custom product collection. Is there a way to do that in Magento2 ?
5
votes
1answer
701 views

Add Layered Navigation in custom module - Magento 2.1

I want to add layered navigation block in custom module page and filter custom product collection. How can I achieve this functionality?
5
votes
1answer
1k views

Price filter in layered navigation not working correctly with price including tax in magento 2.2.3

I am using magento-2.2.3. and showing prices including tax on product list page. Now the issue is the price filter in layered navigation is considering prices excluding tax. So how to change 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
2answers
174 views

fme layered navigation Undefined variable: html

i have a problem with fme layered navigation with the following errors i don't how this happened any body could help me please ? Notice: Undefined variable: html in /var/www/html/app/code/local/...
4
votes
1answer
702 views

Layered navigation showing child brands with bundles

Using Magento 1.9.1 and have a problem with Layered navigation and bundle product brands. I have many simple products that can be part of any bundle product. All of them can be with different ...
0
votes
1answer
54 views

How to place plugin on _getSelect in Price filter category [duplicate]

I am working with module need customization with category layernavigation I found class Magento\Catalog\Model\ResourceModel\Layer\Filter\Price has been used in several places. I think it must be very ...
1
vote
1answer
781 views

Hide certain filter from layered navigation top category

I have the following question: Add the layerend navigation of a top category, all the filters of all underlying subcategories are shown. In top categories, we only want to show two filters: product ...
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://...
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
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
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 ...
10
votes
1answer
208 views

Magento 2 - All products page with layered navigation and pagination

I want to create all product page with the filters, toolbar, pagination. I can do it by creating a new category with the name All Products and assign all products in it. But I guess this is not a ...
0
votes
1answer
614 views

magento2 customize collection of product not effecting in layer & toolbar

I extend the collection 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 loading for ...
0
votes
1answer
892 views

Layered Navigation in Magento 2 Luma template

by default the left Layered navigations are hidden in Luma template. How do I un-hide the it. similar to blank theme.
2
votes
1answer
887 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 ...
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 ...
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??