How to Filter(Exclude/Include) Products from the Feed?
The CTX Feed plugin gives you powerful control over which products appear in your WooCommerce product feed. By filtering products, you can ensure that only the right products are exported — improving feed quality and performance on channels like Google Shopping, Facebook, and 220+ more channels.
This guide is organized into four parts, matching the video tutorial series:
| Part | Topic | What You Will Learn |
|---|---|---|
| Part 1 | Basic Product Filters | Exclude products by stock status, visibility, missing data, and price |
| Part 2 | Product & Category Filters | Filter by product ID, SKU, title, categories, and product status |
| Part 3 | Tax, Shipping & Utilities | Configure shipping/tax country, number format, campaign URL builder, and string replace |
| Part 4 | Advanced Filter | Use conditional logic to build complex, rule-based product filters |
ℹ️ These features are only available in CTX Feed Pro. Make sure you have the Pro version activated.
PART 1: Basic Product Filters
Part 1 covers the foundational filters that let you quickly clean up your feed by removing products that are unavailable, incomplete, or hidden. These are the most commonly used filters and are a great starting point for any feed setup.
Stock & Availability Filters
These filters help you remove products that customers cannot actually purchase.
| Filter Option | What It Does |
|---|---|
| Remove On Backorder Products | Set to Yes to exclude all products currently on backorder from the feed.Tip: 1 product in your store has a backorder status. |
| Remove Out Of Stock Products | Set to Yes to exclude products that are out of stock.Tip: 3 products in your store are currently out of stock. |
✅ Excluding out-of-stock and backorder products helps improve your feed quality score on channels like Google Shopping.
Visibility Filters
Control whether hidden products (e.g., products set to ‘Hidden’ in WooCommerce) are included.
| Filter Option | What It Does |
|---|---|
| Include Hidden Products | Set to Yes to include products that have their visibility set to Hidden in WooCommerce.By default, hidden products are excluded from the feed. |
Data Completeness Filters
These filters remove products that are missing key data. Feeds with incomplete products can be rejected by ad channels, so it’s best practice to filter these out.
| Filter Option | What It Does |
|---|---|
| Remove Empty Description Products | Set to Yes to exclude products that have no description. Good descriptions improve ad relevance. |
| Remove Empty Image Products | Set to Yes to exclude products with no product image. Most ad channels require at least one image. |
| Remove Empty Price Products | Set to Yes to exclude products that have no price set.Tip: 3 products in your store currently have no price. |
ℹ️ It is strongly recommended to enable all three data completeness filters. Submitting products with missing descriptions, images, or prices often results in feed disapprovals.
PART 2: Product & Category Filters
Part 2 covers filters that let you target specific products, product groups, and categories — giving you precise control over exactly which items appear in your feed.
Product Status Filter
The Product Status filter lets you limit the feed to products with a specific publication status.
| Filter Option | What It Does |
|---|---|
| Product Status | Choose which status of products to include. The default option is ‘Published’, which includes all published products. You can change this to include draft or other statuses if needed. |
Individual Product Search Filter
Use this filter when you want to include or exclude specific individual products by searching for them directly.
| Filter Option | What It Does |
|---|---|
| Search Type | Choose how you want to search for products. Available options: Filter by Product ID, Filter by Product SKU, Filter by Product Title, or Filter by IDs (Comma Separated). |
| Include / Exclude | After selecting products, set the action to Include (only show these products) or Exclude (hide these products from the feed). |
✅ Use ‘Filter by IDs (Comma Separated)’ to quickly add a large list of products in one go. Simply paste the product IDs separated by commas.
Category Filter
The Category filter lets you include or exclude entire product categories from the feed.
| Filter Option | What It Does |
|---|---|
| Categories | Search and select one or more product categories. Then choose whether to Include or Exclude those categories from the feed. |
ℹ️ When you exclude a category, all products in that category and its sub-categories will be removed from the feed.
PART 3: Tax, Shipping & Utility Settings
Part 3 covers additional configuration options that affect how pricing, shipping, and tracking data appear in your feed.
Shipping Country
Determines which shipping rates are applied to products in the feed.
| Filter Option | What It Does |
|---|---|
| Shipping Country | Select the country for which shipping rates should be shown. Options include: Feed Country (uses the country configured for the feed) or All Countries. You can also select a specific country from the dropdown. |
Tax Country
Determines which tax rates are applied to the prices shown in the feed.
| Filter Option | What It Does |
|---|---|
| Tax Country | Select the country for tax calculation. Options include: Feed Country, All Countries, or a specific country. This ensures prices in your feed reflect the correct taxes for your target market. |
Number Format
Configures how numbers (such as prices) are formatted in the feed output. This is useful when targeting markets that use different decimal or thousands separators.
Campaign URL Builder
The Campaign URL Builder appends UTM tracking parameters to your product URLs, making it easy to track traffic from your feed in Google Analytics or other analytics tools.
Available UTM parameters:
| Filter Option | What It Does |
|---|---|
| Campaign Source | The referrer source, e.g. google, newsletter, facebook |
| Campaign Medium | The marketing medium, e.g. cpc, banner, email |
| Campaign Name | The campaign name, e.g. spring_sale, promo_code |
| Campaign Term | The keywords associated with the campaign (optional) |
| Campaign Content | Used to differentiate ads or links pointing to the same URL (optional) |
ℹ️ Only fields you fill in will be appended to the URL. Empty fields are ignored. Required fields are marked with an asterisk (*).
✅ At minimum, fill in Campaign Source and Campaign Medium. This gives you enough data to identify feed traffic in Google Analytics.
String Replace
The String Replace tool lets you find and replace any text within a selected product attribute before it is written to the feed. This is useful for fixing inconsistent data, removing unwanted characters, or reformatting content.
How to use String Replace:
- Select the Subject — the product attribute you want to modify (e.g., Product Title, Product Description, Price, SKU, and many more).
- Enter the Search value — the text you want to find.
- Enter the Replace value — the text you want to substitute in.
- Click Add to apply the rule.
ℹ️ String Replace supports a wide range of attributes including titles, descriptions, prices, images, categories, custom attributes, and more. You can add multiple rules to chain replacements together.
PART 4 Advanced Filter
Part 4 introduces the Advanced Filter — the most powerful filtering tool in CTX Feed. It allows you to create rule-based conditions to include or exclude products with precision, using AND/OR logic similar to a simple query builder.
ℹ️ The Advanced Filter is ideal for complex use cases, such as including only products above a certain price, or excluding products with a specific tag or custom attribute.
What the Advanced Filter Can Do
- Filter products based on any product attribute (price, stock, category, custom fields, etc.)
- Combine multiple conditions using AND (all conditions must match) or OR (any condition can match) logic
- Override basic filter settings for maximum customization
How to Add a New Condition
Follow these steps to build your first Advanced Filter rule:
- Open the Advanced Filter section in your feed’s filter settings.
- Click ‘Add New Condition’ to create a new rule row.
- Select the Attribute you want to filter on (e.g., Stock Quantity, Price, Category, Tag).
- Choose the Operator (e.g., is equal to, is greater than, contains, does not contain).
- Enter the Value to compare against (e.g., a number, a text string, a category name).
- Repeat steps 2–5 to add more conditions as needed.
Changing Stock Quantity in the Filter
A common use case is filtering products by their stock quantity. For example, you may want to exclude products with fewer than 5 units in stock.
- Add a new condition and select ‘Stock Quantity’ as the attribute.
- Set the operator to ‘is less than’.
- Enter the minimum quantity threshold (e.g., 5).
- Set the action to Exclude.
✅ This prevents low-stock products from appearing in your ads, reducing the risk of customers clicking through to find a product nearly sold out.
Switching Between AND and OR Logic
When you have multiple conditions, you can control how they are evaluated:
| Logic | Behavior |
|---|---|
| AND | ALL conditions must be true for the filter to apply. Use AND when you need strict matching. |
| OR | ANY one of the conditions being true is enough. Use OR when you want to capture a broader set of products. |
To switch between AND and OR, click the logic toggle button that appears between your filter conditions.
Saving and Generating the Feed
Once you have configured all your filter conditions:
- Review all your filter conditions to make sure they are correct.
- Click the ‘Update’ button to save your filter settings.
- Click ‘Generate Feed’ (or ‘Update Feed’ if the feed already exists) to rebuild the feed with the new filters applied.
- Check the generated feed to confirm only the intended products are included.
✅ After generating the feed, review it in the ‘Manage Feeds’ section to verify product counts match your expectations. If too many or too few products appear, revisit your conditions.