Skip to main content

Product Filtering

You might want to filter the products in your feed. This can be done using filters. Filters are groups of conditions that the products have to meet in order to be included or excluded from the feed. We also support manual filtering, where you select the products you want to include or exclude.

Filters are applied on a feed-basis, so you can have different filters for different feeds.

Feed filtering overview
Feed filtering overview

Filter types

We support three types of filters: Inclusion, Exclusion and Manual filtering.

Inclusion

Inclusion based filtering works by only including products that meet the specified rules. For example, you can create a filter that only includes products that are in stock.

info

Please note that all products will be included if no rules are added and this is the default behavior.

Feed filtering - Inclusion based filters
Feed filtering - Inclusion based filters

Exclusion

Exclusion based filtering works by excluding products that meet the specified rules. For example, you can create a filter that excludes products that are out of stock.

info

Please note that all products will be excluded if no rules are added.

Feed filtering - Exclusion based filters
Feed filtering - Exclusion based filters

Manual filtering

Manual filtering allows you to select the products you want to include or exclude from the feed. Manual filtering is useful when you want to have full control over the products in the feed.

Manual filters can be used in combination with inclusion and exclusion based filters, but manual filters will always take precedence. You'll find the page by navigating to the desired feed and then clicking on the "Products"-tab.

In order to manually include or exclude products, you have to select the products from the list or search for them. When selecting products, you'll have to option to manually include or exclude them. If any of the products are already manually included or excluded, you'll be able to remove the manual filter.

Next to each product, you'll see a badge indicating if the product is included, excluded, or manually included/excluded.

Manual filtering overview
Manual filtering overview

Associated product variants

You can create filters based on the associated product variants. This is useful when you want to include or exclude products based on the variants they have.

A common situtation is that even bestselling products have some variants that sell better than the rest.

Say you sell pants in different sizes: S, M, L, XL and the S, M and L sizes account for 90% of the sales. When these sizes are out of stock you will lose a lot of potential sales and might want to exclude all the products until you restock.

Criteria

We currently support the following criteria for associated product variants:

  • All variants comply with rule group
  • Any variant comply with rule group
  • Exact number of variants comply with rule group
  • No variants comply with rule group
  • The number of variants that comply with rule group is below threshold
  • The number of variants that comply with rule group is above threshold
  • The percentage of variants that comply with rule group is below threshold
  • The percentage of variants that comply with rule group is above threshold

How to use?

To use the associated product variants filter, you have to enable the feature on the desired rules among the inclusion and exclusion filters. You enable the filter by clicking the "Advanced"-button on the relevant rule group.

Feed filtering - Include products in stock example
Feed filtering - Include products in stock example

Clicking on the "Advanced" button will open a modal where you can enable the associated product variants filter. It's also possible to select the criteria and the threshold - if applicable.

Feed filtering - Include products in stock example
Feed filtering - Include products in stock example

Filter examples

Exclude all products if a percentage of the variants is out of stock

In this example, we want to exclude all products if a certain percentage of the variants are out of stock. We can set the criteria to "The percentage of variants that comply with rule group is above threshold" and set the threshold to 60%. That will exclude the product if more than 60% of the variants are out of stock.

Feed filtering - Include products in stock example
Feed filtering - Include products in stock example
Feed filtering - Include products in stock example
Feed filtering - Include products in stock example
info

Please note that products out of stock can still appear in the feed if the criteria is not met.

Say we have a product with three variants and one of them is out of stock. The product will still appear in the feed if the criteria is set to above 60% as the percentage of out of stock variants is only ~33%. This means that all three products will be included in the feed.

If you want to exclude any product that is out of stock, you can just create a new rule outside the rule group like this:

Feed filtering - Include products in stock example
Feed filtering - Include products in stock example

Exclude all products if the most sold size is out of stock

In this example, we want to exclude all products if the most sold size is out of stock. In this example the most sold size if "large".

Start by creating two rules in an AND-group:

  • Rule 1: Size equals large
  • Rule 2: Availability equals out of stock

Then enable Associated variants and select any variant comply with rule group.

Now all products will be excluded if the most sold size is out of stock.

Feed filtering - Include products in stock example
Feed filtering - Include products in stock example
Feed filtering - Include products in stock example
Feed filtering - Include products in stock example

Exclude all products if the most sold color is out of stock

In this example, we want to exclude all products if the most sold color is out of stock. In this example the most sold color if "blue".

Start by creating two rules in an AND-group:

  • Rule 1: Color equals blue
  • Rule 2: Availability equals out of stock

Then enable Associated variants and select any variant comply with rule group.

Now all products will be excluded if the most sold color is out of stock.

Feed filtering - Include products in stock example
Feed filtering - Include products in stock example
Feed filtering - Include products in stock example
Feed filtering - Include products in stock example

Include products in stock

Feed filtering - Include products in stock example
Feed filtering - Include products in stock example

Include products where background removal is ready

Feed filtering - Include products where background removal is ready example
Feed filtering - Include products where background removal is ready example

Exclude products on sale

Feed filtering - Exclude products on sale example
Feed filtering - Exclude products on sale example