I wish to add custom product attribute "ABC" as a filter on the storefront, If the user selects that attribute value, the Corresponding result should become by using elastic search 6.5+.
Can anyone guide me on this?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Complete Basic and Advanced Properties information
On the Admin panel, click Stores.
In the Attributes section, select Product
Click Add New Attribute button
In the Attribute Properties section, do the following
In the Default Label, enter a default label to indentify the attribute
In the Catalog Input Type for Store Owner field, select the type in input control to be used for data entry
Fix Product Tax
Step 2: Manage Labels
Step 3: Describe the Storefront Propertiesm
Step 1: Set Up the Attribute Properties
In the panel on the left,choose Storefront Properties. Then, set Use In Layered Navigation to one of the following:
Filterable (with results) : Layered navigation includes only those filters for which matching products can be found. Any attribute value that already applies to all products shown in the list should still appear as an available filter. Attribute values with a count of zero (0) product matches are omitted from the list of available filters. The filtered list of products includes only those that match the filter. The products list is updated only if the selected filter(s) change what is currently shown.
Filterable (no results) : Layered navigation includes filters for all available attribute values and their product counts, including those with zero (0) product matches. If the attribute value is a swatch, the value appears as a filter, but is crossed out. Price layered filtering is not supported by this option, and does not affect Price filters.
Step 2: Make the Category an Anchor
Step 3: Test the Results
To test the setting, visit your store and navigate to the category from the main menu. The selection of filterable attributes appears in the layered navigation of the category page.
Search, filter, and review the displayed products.
Reference Link : Filterable Attributes