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
15 views

Magento 2 - Filter through non anchor categories throws “The bucket doesn't exist.” exception

I am facing this issue on M2.3.5-p2 when filter through non anchored subcategory on the main category(anchored) page. Steps to reproduce From the admin set parent category anchor to Yes. For one of ...
0
votes
0answers
17 views

Magento 2: Layered navigation $filter->getItemsCount() very slow

We are using layered navigation and are loading a filter block in sidebar. But $filter->getItemsCount() takes a long time to load. <?php foreach ($block->getFilters() as $filter): ?> ...
0
votes
0answers
15 views

MagePlaza Layered Navigation Not working on Local host but is working On production site? [closed]

When I hit a radio box button on the left side like 'Extract Labs' nothing happens. It should filter products and show all Extract Labs products. It will load for a second with a loading circle, then ...
0
votes
0answers
12 views

layered navigation filter attributes based on selection magento 2 api

I am aware of this Magento 2 api - How to get layer navigation filters available in rest api?. If the color is selected as a filter then rest attributes like size should change based on that color. ...
0
votes
1answer
26 views

Magento 2.3.5 : Call custom block before layered navigation

I am using Magento 2.3.5 and I need to call custom block before layered navigation. How can I call that? I used this below code <?xml version="1.0"?> <page xmlns:xsi="http://...
0
votes
1answer
15 views

Using luma LayeredNavigation in custom theme based on blank theme

I want to copy the style and functionality of luma layered navigation to my custom theme - parent is blank theme. If I copy the Magento_LayeredNavigation of luma theme to my custom theme <vendor>...
0
votes
0answers
13 views

Remove Child products attribute/vaules from the Layered navigation filter

As we know in default Magento 2 and layered navigation filters are coming based on the configurable product and assigned child product. Child products are not visible in the frontend but assigned ...
0
votes
0answers
11 views

How to add a custom attribute filter in Product listing, search result and also update layered navigation in Magento 2.4?

I have a custom attribute materials_used, I need to filter it's automatically (hardcode) in PLP & search with layered navigation. materials_used attribute is also hidden by customers. Hint: ...
0
votes
0answers
35 views

Layered Navigation not working using elastic search 6.0+

i am using elastic search 6.0+ and porto theme with magento 2.3.2 , using mageplaza layered navigation but when i click in any filter gave 500 error on console and front end show without css.
0
votes
2answers
29 views

Magento 2 rating add custom filter add in product page review tab

i need a filter review by name or date and by sort in magento 2.3 product review tab , so customer can easily search best review how can implement this functionality?
0
votes
1answer
21 views

Magento 2.3.4 how to Develop custom filter in left layered navigation?

I am developing a custom module to add the custom filter in left layered navigation,currently we have custom product collection and want to add the filter in layered navigation with three option: 1....
0
votes
0answers
14 views

Fixed Layered Navigation

I am building a layered navigation module for my theme based off magento 2 blank. I noticed there is no mobile friendly version of the layered navigation included in this theme. I have hidden the ...
0
votes
0answers
7 views

Remove Layered Navigation for specific category in Magento 2.2.11

My version of 2.2.11 has the new system for Custom Layout Updates where you upload the the layout in app/design/frontend/Theme_Vendor/Theme_Name/Magento_Catalog/layout I need to disable the display of ...
0
votes
0answers
27 views

Show inventory count instead of product count on Layered Navigation

I would like to show the inventory count instead of product count on Layered Navigation. For example: Tees has 12 product and its shows the count 12 after the Tees category in the filter. Consider ...
0
votes
1answer
80 views

How to add swatch data in Layered navigation aggregations in graphql?

How to add swatch data in Layered navigation aggregations in Graphql? Magento provides swatch data to filters [LayerFilter] but this is DEPRECATED so we use aggregations for the filter. Below query is ...
0
votes
0answers
6 views

Magento 1.9 - Programatically achieve layered navigation filter selecting maultiple options per attribute

How can i programmatically achieve the multi select options per attribute in layered navigation. Can't use plugins for this. Because am using Dependant plugins with the layered navigation. Like ...
0
votes
0answers
12 views

Programmatically created attribute option not in Layered Navigation without Admin Save

I am trying to programmatically add options to the color attribute from a data feed coming from another system. I am able to create the attributes, see them in the Admin, and even see them assigned to ...
0
votes
0answers
55 views

Magento 2.3.5 Layered Navigation options missing

My Layered Navigation lately shows a strange behavior but I am not sure what causes this and when exactly that happened. Not all attributes (options) are shown in the sidebar of the category pages on ...
0
votes
0answers
10 views

How to Keep all Filters Visible after apply filter in Magento 2

I want to show All filters and there items visible after applying any Filter i update the code in /var/www/html/wswlocal/app/design/frontend/Smartwave/porto/Magento_LayeredNavigation/templates/layer/...
0
votes
0answers
11 views

How can I add Layered Navigation my Vendor Shop page?

I am using the CED marketplace and I want to add Layered Navigation vendor shop page. There is list of products that I want to with Layered navigation. I have added Layered navigation but filter not ...
0
votes
1answer
45 views

Layered navigation showing error in magento 2.3

I am using BSS layered nabigation extension. After installing, i am getting one error. See below: I am using BSS layered navigation. but it showing error and my site is not working. Error: {"0&...
1
vote
1answer
141 views

Magento 2.3 Custom Filter Layer Navigation Error: The attribute model is not defined

I have a custom product attribute brands, this is a dropdown option that has dynamic select value, basically i want to add a custom layer navigation filter to check whether the product attribute value ...
0
votes
3answers
73 views

Product attribute in filter

My issue is quite simple to resume : I have 2 products attribute. One of them is already appearing in my filter front panel. The other is not. I have almost the same configuration for both of them. ...
1
vote
0answers
10 views

Magento2: Lareyed navigation - how to select multi category name

Currently from filter is possible only select one option from one attribute: https://prnt.sc/tkjrep Is any way to display products from example both option from one attribute? example: https://prnt.sc/...
1
vote
0answers
23 views

Shop by brand on CMS Page

How to shown Layered navigation like shop by categories or shop by brand on left side of CMS page, in Magento 2.3.5
2
votes
0answers
27 views

Magento 2: event or plugin after filters applied and removed in category pages

I want to write customization on after filters are applied and filters are removed in category pages. I need any event or plugin while filter applied or filter removed in Magento 2.3.2.
0
votes
1answer
26 views

Can i add product in category page product collection?

Can I add a product in category page product collection? I want to add product #123 in category page product collection but the same product already exists in the collection so it is possible? My ...
2
votes
1answer
40 views

how to get which filter is applied first in layered navigation

I need the order on which the filter is applied.for example if we select red value in color attribute and then we select L value in size attribute means I need that order ie)color and then Size not ...
0
votes
0answers
28 views

Overriding LayeredNavigation Block not working

di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/...
0
votes
0answers
19 views

Wrong attributes displaying in layered navigation

Don't know if anyone can help. Using Magento 2.3.2 We sell plants on our site, and I have set up different attribute groups for different types of plants - shrubs, veg, flowers, fruit, and herbs. Some ...
0
votes
0answers
33 views

Get image url of product attributes in magento 2

I am using Amasty improved layered navigation extension in magento 2. There is one option of assigning images like "category image" to a multiselect product attribute. https://prnt.sc/...
0
votes
1answer
109 views

Magento 2.3.5 extend \Magento\Catalog\Model\Layer

I'm able to add layered navigation to a custom page, but if I try to extend \Magento\Catalog\Model\Layer class i've got this exception: 1 exception(s): Exception #0 (Exception): Notice: Undefined ...
0
votes
0answers
38 views

I am getting incorrect count of products for layered navigation in magento 2.3

In layered navigation filter i am getting incorrect product count, i can't get the solution for this problem. Example : The products under Shorts category in 49 but in the filter for me showing as ...
0
votes
0answers
24 views

Magento 2: How to override product collection in Category page?

I want to add load a custom product collection into a specific category page in Magento 2 instead of rendering default category page product collection ? is this possible? how to do this?
0
votes
1answer
78 views

Magento 2.3.4 - How to create filter by product rating in layered navigation

I want to have a filter by product rating in layered navigation. Regarding this, I found a solution Magento 2 : Rating Filter in Layered Navigation. This is working fine if you modify vendor\magento\...
0
votes
0answers
20 views

Magento2: Hide Layered Navigation when go to category have no product?

I am newbie in Magento 2, I configured the Magento 2 layered Navigation and did everything to set layered navigation for categories and price. When I go to one category , Layered Navigation display ...
0
votes
0answers
11 views

Magento2 search_tmp join in listing page leads to slowing down page load

I installed layered navigation extension in my project to enable filter in listing page. As i enabled Magento_Search and Magento_CatalogSearch module it increase page load time. May be to join of ...
0
votes
0answers
34 views

Layered Navigation Poor Performance

i've an online store with 6000~ products, most of them configurable products. I have several layered navigation attributes so the customer can easily find what is looking for, but when several of this ...
0
votes
1answer
46 views

How to change the position of the filters in product page or Layered navigation

Hi, I need to change the layer navigation position as shown in below image the Manufacturer first and Category to second. But i can't find how to change these. The Category must come at second ...
0
votes
0answers
20 views

Get layered navigation filters for category

I'm trying to get layered navigation filters list based on category ID. You can review my code here I'm using smile elasticsuit. Because of that it I'm facing problem with data. Even I get filters ...
2
votes
1answer
64 views

Magento 2 : BreadCrumbs and Page Title not Display on Custom Page

I used this blog for add custom collection on my custom page with layered navigation. But, there are not display breadcrumbs and page title using this below blog. How to add it? https://webkul.com/...
0
votes
0answers
10 views

How to display entire list of filter even after attribute being selected in magento2?

I want to display entire list instead of few data.When i click on any filter i am not able to get other related attributes in magento2 layered navigation i want to display entire list even after ...
0
votes
0answers
21 views

How to show all product in catalog page ? Magento 2

I need to show all products with a layered navigation filter, or is it possible to show the root category as a parent category, where all categories will be displayed in layered navigation. So to ...
0
votes
0answers
14 views

BRAND as catalog NAVIGATION AND as FILTER option. COMMENTS requested

The goal is to use the product’s brand for the Layered navigation (Categories) , AND for the filtering of the products. Yes…. Sure we know ... we can BUY plenty of MARKETPLACE solutions... BUT maybe ...
2
votes
3answers
188 views

Problem in creating Drop down product attribute in Magento2

I have created a Data patch file to create the product drop down attribute with options. used the following code in it. <?php declare(strict_types=1); namespace Custom\Module\Setup\Patch\Data; ...
0
votes
0answers
5 views

Search on sales data rather than attributes using layered navigation

I am looking for a solution which will allow my users to search for skus based on sales data rather than product attributes using layered navigation (or something which looks similar). I sell ...
0
votes
0answers
15 views

Magento2.3 : Layered navigation still appear even Anchor =“No”

I want 1column design (No left bar) for the specific category in which I chose Display Mode = "static block only" Also set Achor ="No" 1column layout is applied But "shop by" still appear on ...
0
votes
0answers
18 views

Products showing up in layered navigation after saving them again from admin panel

This is Very weird problem i am into right now, Its a clothing store where i have uploaded 50 products for an example and they are successfully visible in both front and back end. Now if i apply ...
0
votes
0answers
31 views

Magento 2 Not show Layered Navigation in Advance Search Result

I need Layered Navigation in advance search result Here is the code of my file. httpdocs/app/design/frontend/Smartwave/porto/Magento_CatalogSearch/layout <?xml version="1.0"?> <!-- /...
0
votes
1answer
42 views

How to add button at top of Layered navigation Filter from custom module?

I have a phtml that contain button like this in my custom module : app/code/Vendor/Module/view/templates/button.phtml <button> <span> <?= __('New Button') ?> </span> </...

1
2 3 4 5
16