Question Settings - top
Use the post content as a description of the question.
The label setting will be used as the step's name.
Alternatively, the title of the post will be used instead.
This part is the same for any filter type and view.
First of all select one of view types. Possible types are:
- Select - simple HTML element;
- Radio - simple HTML element;
- Checkbox - simple HTML element;
- Chips radio - inline radio view for many variants;
- Chips checkbox - inline checkbox view for many variants;
- Buttons radio - vertical radio view for a few variants;
- Buttons checkbox - vertical checkbox view for a few variants;
- Multi-choice checkbox - complex element to define OR/AND/NOT relation for each option;
- Multi-choice range - complex element to define OR/AND/NOT relation for each option;
- Image radio - simple HTML element with an image within;
- Image checkbox - simple HTML element with an image within;
- Number - precise numeric input with one handler;
- Number from - range input with one handler;
- Number to - range input with one handler;
- Number between - range input with two handlers.
After you can select a filter type setting. You can see not all of the variants are allowed.
This depends on the selected view type. Possible types are:
- Attribute - filter by a product attribute taxonomy;
- Price - just a price filter;
- Tag - filter by product tags;
- Category - filter by product categories;
- Manual - manual selecting of products or categories;
- Meta - filter by meta key.
Numeric view types have their own settings bundle. This is possible to set From
and To values caption, the Unit text and change the step of the value. If you
have decimal values as answers set this setting to the lowest possible fraction.
Also, this is possible to Enable/disable the slider for these types of views.
Not-numeric views have the Action on click setting.
It allows making action on selecting the value. This is possible to do:
- None - to do nothing;
- Submit - submit value and stay on the step;
- Submit and go next - submit value and go to the next step;
- Submit and go to results - submit value and go to the last step.
Select view type can have an Empty value to oblige the user to make a choice.
Types with the only answer (like radio or select) have the Doesn't matter settings
group. It allows to output an answer which doesn't modify the query anyhow.
Checkbox-based view types have a Relation setting to define "OR"
or "AND" relation between the selected answers. This also possible to define
Minimum and Maximum values selected.
For radio/checkbox/select view types you can use the Unmet values behavior setting.
It allows to handle question values which leads to zero-products result. Possible values are:
- Show values as usual;
- Show values as disabled;
- Hide values at all.
For not multi-choice view types you can add an Additional GET parameter. That's might
be helpful if there is another filtering plugin on your site and you want to pass queried values
from the Step Filter to it on the result page. For example, you can add a "category_id"
additional parameter for the category filter type to have it as
&category_id={requested_value}
in the URL of the result page.
As the Number between view type has two result values you can define two keys separated by
the "|" symbol.
For attribute/tag/category filter types also possible to change an Additional GET
parameter term source to define what term property will be used as a value of the GET parameter.
Currently, possible values are ID/Slug/Name.
Not-numeric views with attribute/tag/category filter types have a possibility to
Show count of products near the value name.
Radio/checkbox/select view types with attribute/tag/category filter types there is a
possibility to Include/exclude specific terms define them by IDs separated by a comma.
Also, this is possible to Hide empty terms for them.
Multi-choice view types have their own settings bundle. This is possible to choose which of 4
possible values will be used for the question, set their order and change captions.
Image view types thumbnails alignment and thumbnail size settings.
Thumbnail size setting supports inline size names registered on the site.
There is a possibility to make any question invisible in the filter until of firing of some dependency.
Use the Dependencies settings table for this. Select another question in the dropdown,
then select its value in the next field and the comparison operator. Then this question will be
visible only then this dependency will be met.
If you need to make more complex dependency then add more dependency rows in the table and define
relations between them.
If you have a couple of different filters with different questions (for example, one in a page body
and the second in a sidebar) you can pass the value from one question to another using the
Bind with question setting. To make this binding both directions set this setting for
both bonded questions.
You can create any type question and use it in a filter but ignore it while filtering the results. The question might affects the dependencies and statistics but not the results.
Attribute filtering
This is necessary to choose one product attribute as a source of the values.
Filtering with the Numeric view will work correctly only with the
numeric values of the attribute. Attribute value names will be used as float values.
All other settings depend on the selected view type.
Price filtering
Price filtering can have only a numeric view and have no extra-settings except the numeric's.
Min and max prices of the products will be used as a range.
Tag filtering
Tag filtering have no extra-settings and based on the product tags taxonomy.
Category filtering
With category type the question will have product categories as values.
You can define Category parent setting to get sub-categories by this category only.
If you need to output only specific sub-categories levels or limit max categories tree depth
use Start from categories level and Max sub-categories level.
But keep in mind the max sub-categories level setting can't be less than start from categories level
setting
All other settings depend on the selected view type.
The Meta key setting is required for this type of filtering. Place a string to it and the
question will collect all of the possible values of this meta key of products and then use them
as the question's values.
For the numeric views the min and the max meta values will be used for the limits,
but they should have numeric type.
Manual filtering
Manual filter type allows to create and configure each possible value you need in the question.
Click on the Add a value button to add a row with settings.
Each value could have the settings:
- Image - for image checkbox/radio view types;
- Pre-checked - setting to make the value checked by default;
- Name - a label of the value;
- Dependencies - define the rules of showing of the value;
- Source - set the value's source.
In the value source modal you can select one of the values:
- Any product - not filtering at all;
- Product - choose products in the result of the value.
- Category - filter products by one or a few categories;
- Tags - filter products by one or a few tags;
- Attributes - filter products by flexible attribute rules;