What should I check if products/Improved Layered Navigation filters aren't shown correctly with Live Search installed?

What should I check if products/Improved Layered Navigation filters aren't shown correctly with Live Search installed?

In this article you can find a full guide for successfully integrating Improved Layered Navigation in Magento instances that use Live Search:

Step 1. Make sure that the latest versions of the following compatibility submodules are installed in your instance:
amasty/module-shopby-livesearch-root-category
amasty/module-shop-by-live-search

These packages are available with Enterprise and Cloud editions of Improved Layered Navigation module. If you have any questions about purchasing these editions, or if you need to upgrade the existing edition, you can contact our Sales team;


Step 2. In general Magento settings at Stores > Configuration > Live Search > Storefront Features, the Enable Product Listing Widgets option should be set to No:


This option refers to the Live Search Product Listing Widget that completely replaces default layered navigation with Live Search interface on search engine level. For this reason, settings from Magento, including Improved Layered Navigation, are unable to integrate with that widget, or alter it;


Step 3. At Marketing > SEO & Search > Live Search > Facets, check that the attribute you'd like to use as a filter is added to Live Search facets:


If the attribute that you need to add doesn't appear in the list that opens by clicking the Add facets button, it might be necessary to adjust default attribute settings. For that, navigate to Stores > Attributes > Product > attribute code > Storefront Properties and save the following settings for your attribute:



Step 4. At the same section Marketing > SEO & Search > Live Search > Faceting, confirm that the number of options inside your attribute doesn't exceed the number in the Max Value column next to your attribute:


If needed, this value can be edited and increased up to 30 by default. It is possible to introduce a bigger value and override the in-built limit by contacting Adobe support team;


Step 5. After reviewing and saving all attribute and facet settings, the following commands need to be run in order to sync the changes with Live Search servers:
php bin/magento saas:resync --feed productattributes
php bin/magento saas:resync --feed products

Once the commands are executed, it can take up to several hours to refresh all data on external servers and display new settings in the frontend.