The Advanced layered Navigation For Magento 2 extension will allow the customers to search the products using the product attributes. It will also optimize the filtering of products based on product attributes.
Using this module you can filter multiple attributes and attributes values at a time. This module also provides an impressive price bar as well. Both are Ajax based that means customers don’t need to wait for the page reload.
Watch the below video tutorial to understand the extension workflow :
- Ajax-based filter that means customers don’t need to wait for the page reload.
- It works on the category and the search pages.
- The admin can choose to display attributes either as vertical view, horizontal view.
- The buyer can choose multiple attributes and attributes values at a time.
- Also, the buyer can choose multiple Attribute Options, Attribute Types (Drop-down, Multiple select, Swatch & Price) in order to filter the desired product.
- Display current selection directly in the search box.
- Filter by product ratings.
- Filter by any attribute (Like brands) in the carousel.
- Make attributes available for layered navigation directly from the grid.
- Add a carousel filter base of category for layered navigation.
- Impressive price bar for user-defined range search.
- It maintains the previous state of the browser.
- Increases conversion rate.
Customers will get a zip folder then they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. You need to transfer this app folder into the Magento 2 root directory on the server as shown below.
After the successful installation, you have to run these commands in the Magento2 root directory.
First command- php bin/magento setup:upgrade
After running the commands, you have to flush the cache from the Magento admin panel by navigating through ->System->Cache management as shown below in the snapshot.
If you need to do the module translation, please navigate the following path in your system. app/code/Webkul/AdvancedLayeredNavigation/i18n. Open the file named en_US.CSV for editing as shown in below screenshot.
Module Configuration Settings
To configure the module settings, navigate through Stores->Configuration->Webkul->Advanced layer Navigation.
Here the admin will configure the settings –
- Filter by Ratings:
Enable this option to allow the customers to filter the products according to the customer ratings.
- Carousel Filter:
Enable this option to allow the customers to filter the products by attributes of the admin’s choice.
- Background color:
Set the background color for the carousel.
- Border Color:
Set the border color for the carousel.
- Image Width:
Set the image width that is within the carousel.
Create Attribute –
For adding the product attributes, the admin will navigate to Stores > Attributes > Product.
After clicking on the “Product” sub-menu option, it redirects the admin to the Product Attributes page as shown in the image below.
The admin will the attribute listing in the Product Attributes page. Also, the admin can add a new product by simply clicking on the “Add New Attribute” button as shown below.
On clicking the “Add New Attribute,” will redirect the admin to the New Product Attribute page.
The admin will have to configure the settings under the following tabs-
- Fill in the details for the attribute Properties,
- Then set the Labels under Manage Labels for the attribute, and
- Lastly, set the Storefront Properties for this attribute.
The admin can click on Properties, that opens up the Attribute Properties section. The admin can fill in the basic settings such as Default Label, Catalog Input, Manage Options details, Advanced Attribute Properties, etc. as shown in the image below.
The next tab is Manage Labels, under which the admin can manage the titles of the attributes, for Default Store View and Test Store View.
The last configuration tab is the Storefront Properties. The admin can configure the settings such as Use in Search, Visible in Advanced Search, Comparable on Storefront, Use in Layered Navigation, etc.
Another section of the Storefront Properties tab includes details such as Use of Promo Rule Conditions, Visible on Catalog Pages on Storefront, Used in Product Listing, Display Type.
Under Display Type, the admin can either choose Vertical View or Horizontal View.
Under storefront properties set “Yes” for the “Use in Search“, “Use In layered Navigation” options, and then click the save button to save the configuration.
After saving the attribute, you can search the attribute to check if it’s saved or not.
Now, to add this created attribute into an attribute set, navigate to Stores->Attributes->Attribute Set. Here, select the attribute set(we have selected the default) in which you want to put this newly created attribute. After this, just drag and drop this attribute under the product settings as shown below in the snapshot.
Assign Attribute to Product –
Now, you can assign this attribute to the product. To add this attribute to a product, go to the add new product page, and then for the created attribute select the attribute value then save the product after that. This attribute will be visible on the advanced layered navigation at the front end and you can filter it.
Make Attribute Available for layered Navigation:
The admin can easily provide the customers with the product attributes which can be used for layered navigation. To do so the admin needs to navigate through Stores->Attribute->Product.
Here, whichever attribute you want to make available for the layered navigation just check that and from the Actions drop-down select Use in Layered Navigation and then select Filterable(with results) and hit the Submit button after that.
At the store frontend, the customers will find the assigned attributes for use in the layered navigation for filtering the products.
Enable Filter by any attribute (Like brands) in the carousel :
This option allows the customers to filter the products by attributes of the admin’s choice from the carousel. To enable this option admin needs to navigate through Advanced Layered Navigation-> Carousel Filter
Note:- Admin can choose only the “Dropdown” type attribute for the carousel filter.
Now, admin can set the Title, Attribute, Category & Enable the module accordingly from the General tab.
From the Options tab, admin can set the images for the “values of the attribute” for the carousel as shown in the image and then click on the save button.
Admin can add the products to the desired category with the appropriate attribute option according to the product.
Now, the customer can see the carousel images to filter the result on the category page.
By selecting the desired attribute (color) from the carousel customer will get the filtered result mapping with the selected attribute.
The customers can now search the product with a user-defined price range filter that is based on Ajax so you don’t need to wait for the page reload.
Filter by Ratings:
If this option is enabled by the admin, then the customers will be able to filter the products by customer ratings.
Also this module features different Attribute Types like – Multiple select, Drop-down, Swatch & Price .
This Module also supports Attribute Options i.e you can see & select from multiple options that is been created for the specific attribute on the catalog storefront page to search for your specific product.
Here you can select multiple options of specific attributes and can see current selection directly in the below screenshot.
Filter by Category –
The customer can apply the category filter for the child category also. Also, the customer can now select the multiple sub-categories of a child category to filter the products according to the selected sub-category.
The customer can select multiple sub-categories by clicking on the check button and filter the products accordingly.
Advanced Layered Navigation on Search Page
The customers can use the ajax based filters on the search page as well. Advanced layered navigation is available everywhere in the store.
The customers can type a word in the search box and filter the results according to their preferences such as size, color, category.
Advanced Layered Navigation: Horizontal View and its Backend Settings
In addition to this, this module allows a Horizontal View of the Layered Navigation.
The admin will have to set a few configurations in the backend first for displaying the attributes as a horizontal view.
For that, the admin needs to navigate to Stores > Attributes > Product. This redirects the admin to the Product attribute page as shown below.
Further, the attributes, that the admin wishes to display as the horizontal view, from the given list must be chosen.
For that, the admin will have to select the attributes, navigate to Actions, and choose Display Type as shown in the image below.
In doing so, another textbox appears, where the admin needs to select the View Horizontal option and click on submit.
Likewise, the attributes will display as Horizontal View (such as Size, Color, Material, New) on the category pages in the frontend for the customers.
- The Price attribute will always display as Vertical View.
That’s all for the Magento2 Advanced Layered Navigation. Furthermore, still have any issue feel free to add a ticket and let us know your views to make the module better webkul.uvdesk.com
Current Product Version - 4.0.0
Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x