Get a Head Start onHalloween Sales Today!

twenty Percentage

How To Use Custom Filter When Generating Product Feed

Table of Contents

In this PFM guide, you will learn how you can use the custom filter to generate product feed with your desired products only.

Normally, when you create a new feed, by default, there are no filters applied. It is set up to add All Published Products.

However, you might wish to include only certain desired products to the feed.

In that case, you may choose to use a Custom Filter.

Using Custom Filter #

Follow the steps below to use Custom Filter properly.

1. Click on the Product Filter button.

Product Filter Button

Once you click on the Product Filter button, the Product Filter drawer will slide in from the right side of the window.

By default, it is set to All Published Products. Click on the dropdown menu.

Product Filter Options

Here, choose Custom Filter.

It will let you create custom conditions.

Product Filter Custom Filter Options

Let’s take an example to explain the following steps.

Example:
Let’s say you might want to add all products that include the text “Hoodie” on its Title.

2. Under ‘If’ select a product attribute that you wish to use to apply a custom filter.

As per the example, let’s select “Product Title” here.

Custom Filter Product Title Option

3. Next, set an appropriate condition from the following options:

  • Contains
  • Does not contain
  • Is equal to
  • Is not equal to
  • Greater than
  • Greater than or equal to
  • Less than
  • Less than or equal to
Custom Filter Contains Option

As per the example, here you need to choose the condition, Contains.

4. Assign a value based on which you wish to set the condition.

Custom Filter Condition Value

In the case of the example, you need to assign the value “Hoodie” here.

5. Choose to Include or Exclude the products that meet the condition you set.

Custom Filer Condtion

As per the example, choose Include Only.

So, as per the example where you want to add all products that include the text “Hoodie” on its Title, you have to set up the custom filter:

Custom filter set example

If – Product Title – Contains – Hoodie – Include Only

6. Next configure the feed and publish it.

You will see that the feed includes all the products that fall under the condition you set.

You can add multiple custom filters by clicking on the Add New Filter button.

Add New Custom Filter

That’s how easily you can apply a custom filter when generating product feed.