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

After update Magento 2.3.5 to 2.4.2 on all category pages error: Exception #0 (RuntimeException): Catalog Layer has been already created. How fix?

After updating the version, I started getting on all category pages this error: Exception #0 (RuntimeException): Catalog Layer has been already created This is error in: vendor/magento/module-catalog/...
0
votes
0answers
19 views

Magento 1.9 multi-select attributes not appearing in layered navigation

First post! I have inherited a Magento 1.9.4.5 install with multiple store views. I have a global attribute (added to all attribute sets) for "Diet and Lifestyle", multi-select with four ...
0
votes
0answers
11 views

Nested attributes

We are selling school uniforms and have about 40k of products. Our Magento 2 “categories” are basically schools we work with. We want to make a use of “layered navigation”, but facing a problem, which ...
0
votes
1answer
28 views

No categories in the layered navigation

I stuck with a problem that some of the categories won't show in the layered navigation. An anchor is enabled, re-indexation and cache clearing made many times, changed the theme to default Luma. ...
0
votes
0answers
14 views

How to add Loc_layered navigation in catalog search page in magento 2

I am using magento 2.3.5 version I have used Lof_LayeredNavigation module for multiselect filter but this is not working on catalog search page, as we have search any product, Attribute is show in ...
0
votes
0answers
11 views

Magento 2 getproduct collection with catalogsearch leftnav

I want get product collection with catalog search left block I tried this way $leftNavBlock = $layout->getBlock('catalogsearch.leftnav'); $list['options'] = $leftNavBlock->getLayer()->...
0
votes
0answers
5 views

Display static block in category page based on applied filters in layered navigation?

how display the static block content based on the applied filters in the category page of the Magento 2
0
votes
0answers
9 views

How to use grouped product attributes for simple products in layered navigation

I am working on a chemical catalog and I have created grouped products to add attributes like molecular weigt, CAS-Number and other chemical data. These data are all the same for my simple products. ...
0
votes
0answers
8 views

Magento 2.3.5 layered navigation (left sidebar) url adding category id not the name

I am configuring a Magento 2.3.5 shop. After clicking on a subcategory name in the layered navigation the category id (?cat=) is showing in the url instead of the name. Example: www.myshop.com/shoes/?...
0
votes
0answers
9 views

Category Side Filter not showing on up on Left just for one Category?

I recently restructured my categories. I noticed however, that one category which is set to is Anchored 'YES'. However, it is not showing left sidbar category filters for my sub categories. Images ...
0
votes
0answers
11 views

Magento 2 - Mobile View Layered Navigation move to top

I have a magento 2 store which has over 100 products displayed with additional filters for the layered navigation. I just want to move these filters to the top on mobile as currently they are at the ...
0
votes
0answers
10 views

how can I apply and clear a layered navigation filter via javascript in Magento 2.4?

I would like to create some quick filter buttons for layered navigation, for example to trigger popular filters like featured products, recommended etc. I would like to programmatically trigger the ...
0
votes
1answer
22 views

CATEGORY filter appearing two times

In Layered navigation There are two filters of same name appearing two times how can I remove the above one: We want to remove the first CATEGORY FILTER AND make the second to be displayed only?
0
votes
1answer
202 views

Layered Navigation Filter Problem. Working in Magento 2.3.2 but not in Magento 2.4.1

I created this module about a year ago. Maybe because of elasticseach search engine or something now I am facing this error in Magento 2.4.1 main.CRITICAL: Error: Call to undefined method Magento\...
0
votes
0answers
22 views

custom brand filter issue duplicate layered navigation magento 2.4.0

I have create custom filter by brand but issue duplicate layered navigation Magento 2.4.0 This xml code comment layered navigation work perfectly Anyone advance thanks for help. catalog_category_view....
0
votes
0answers
13 views

Combine Layered Navigation and search by name

I am trying to add a searchbox on my category pages that my users can use to filter (by name) the products in category that they are looking at. It should also work with already existing filters that'...
0
votes
1answer
10 views

Show only filters in layered navigation for search results where all products have that filter populated

I am trying to implement this feature: the filters that are shown in the search results page are only visible if every products in that results page have the attribute linked with the filter populated....
0
votes
1answer
18 views

Magento 2 How to get layer navigation filters available in rest api?

Here am trying to get layered navigation available filters here is my code $filterableAttributes = $this->filterableAttributes; $layerResolver = $this->layerResolver; $...
0
votes
0answers
14 views

I need to show the layered navigation according to the Category in magento 2.3.5

I need to show the filters according to the categories. Categories: Tyre Tube Filters: Brand Thickness Size Model Vehicle Need to show the filter according to category Tyre: Brand, Model, Vehicle....
0
votes
0answers
11 views

How to get all filters even after filtered applied magento 2?

How to get all filters even after filtered applied in Magento 2 Layered Navigation.I need this for Rest API Magento 2. If I filter by color. All other Options of color did not get in response. Please ...
0
votes
0answers
69 views

Exception #0 (Magento\Framework\Exception\LocalizedException): The attribute model is not defined

When i search on my website with sku below error message appear https://yassupanju.com/index.php/catalogsearch/result/?q=k-614 1 exception(s): Exception #0 (Magento\Framework\Exception\...
0
votes
0answers
12 views

How filtered attribute hides in layered navigation?

If I select the color as a filter in layered navigation, then it hides that color attribute and displays the remaining attributes regarding that color. I want to make this function for layered ...
0
votes
2answers
22 views

ajax based multiple select layered Navigation with infinite product Scroll

I am looking for an extension with these Features Ajax Based Layered Navigation with Multiple select Infinite product Scroll please recommend any free or paid extension or group of an extension but ...
0
votes
1answer
135 views

Magento 2.4.1 layered issue with elasticsearch

I am having this issue. After every reindex category pages in front end keep crashing with error: [2020-11-13 10:51:09] report.CRITICAL: {"error":{"root_cause":[{"type":&...
0
votes
0answers
14 views

How to add criteria to all product search?

I associate all my products to at least 1 category (visible from menu) + 1 'special' category (not visible from menu). There are many 'special' categories, they are special because not visible form ...
0
votes
1answer
55 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
30 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
1answer
34 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
22 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
62 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
15 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
1answer
179 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
49 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
43 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
17 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
10 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
28 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
195 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
99 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
19 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
101 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
287 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
77 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
11 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
27 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
34 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
30 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 ...

1
2 3 4 5
17