Product Filtering
Table of Contents
Bevy Sales Rules features powerful filtering options, using which we can filter and select items from our vast inventory.
Filtering Attributes
In Bevy Sales Rules, we can filter products in our store for price changing using different attributes. These include:
- All Products
- Title
- SKU
- Collection
- Product Tag
- Vendor
- Product Type
- Price
- Cost
- Margin
- Weight
- MetaFields
Filtering Conditions
After selecting the attribute using which we would like to filter products, we can set conditions, via which products will be filtered.
For attributes with character based values, the conditions are:
- Contains
- Starts With
- Ends With
- Exactly Matches
For attributes with numerical values, the conditions are:
- Greater Than Or Equal To ( >= )
- Equal To ( = )
- Greater Than ( > )
- Less Than ( < )
- Less Than Or Equal To ( <= )
- Not Equal To ( != )
Stacking Filters
In Bevy Sales Rules, multiple filters can be used together to target our desired products more effectively.
For example, if we’re looking to reduce the price of Chairs in our store that are priced between $100 & $200, we can first create a filter with the attribute ‘Title’, and then select the ‘Contains’ condition. Then we can set the value as ‘Chair’. This will select all the products containing the title ‘Chair’.
After that, we can set another filter with the ‘Price’ attribute, set the condition ‘Greater Than’, and set the value as 100. This will select all chairs priced above $100. Now setting another filter with the 'Price' attribute, setting the condition 'Less Than', and selecting the value as 200 will select all chairs priced above $100 but below $200. As a result, now the filter stacked together will select all chairs priced between $100 and $200.