This document explains different filtering options for a field in the merchant dashboard. A field can be set as a filter in the storefront from the filtering section in the dashboard. There are various other settings in this section to use the field for search, rules etc.
Instructions
Filtering section can be accessed by following the path Settings > Primary Setup > Filtering
To display a field as a filter in the storefront, you just need to enable the marked button in the below screenshot.
You can also change the order in which they appear on the storefront. Simply Drag and Drop the filter to the position by holding this button:
Other options can be accessed by clicking on the edit button:
Resulting pop-up window will have different options to customise the field:
- Allow to filter by this field: This option is enabled to make the field available in the dashboard to setup merch rules, rules for defining collection,recommendation rules etc. In the below screenshot, “Brand” field is available in the dropdown as this option is enabled.
- Return in autocomplete response: Determines whether or not the field will be returned to autocomplete response from Findify Search API. i.e; when you inspect a Findify component in the front-end, you will see the values of a particular field for a product in the autocomplete response if it is enabled. For example, refer the screenshot below where this option is enabled for “Brand” field and thus, values are available in autocomplete response.
- Return in search response - Determines whether or not the field will be returned to search response from Findify Search API.
- Allow to search by this field in search results - Determines whether or not the field will be used by our search engine to list products. The field will be searched for the keyword to populate the products in search results page if this option is enabled.
- Allow to search by this field in autocomplete - Determines whether or not the field will be used by autocomplete engine to list products in the autocomplete page. If you want to use this field to populate products in autocomplete page also, this option should be enabled.
- Use this field for search suggestions - Determines whether or not the field will be used by autocomplete engine to generate search suggestions.
7. Return in response per each variant - Determines whether or not the field will be attached to the search response on a variant level, i.e. variant.id, variant.price, variant.color ...etc. There are no fields attached to the search response on a variant level by default.
8. Return in liquid framework- The "Return in Liquid framework" setting specifically determines whether a field's data will be available for use within your Liquid templates. For instance, if both "Return in Response in Search" and "Return in Liquid" are enabled, that field's data will be accessible in Liquid for both search and collection pages. This setting directly influences how search and autocomplete results are displayed.
Client’s developers need to review all relevant filters and make the necessary changes to enable or disable the "return in Liquid framework" option as required. This is a crucial step for optimizing how search and autocomplete results are rendered. ( Not to be used by client/support )