How to Include/Exclude Products From a Feed by Product IDs?.

Sometimes you want almost your whole catalogue in a feed but need to keep a handful of specific products out — a discontinued SKU, a sample or test item, or a product a channel has rejected. CTX Feed’s Specific products control lets you exclude (or include) individual products by searching for them or by pasting a list of IDs or SKUs. This guide covers both.

This feature requires CTX Feed Pro. On the free plugin the Specific products control on the Filters tab is shown with a PRO lock, and a saved list is not applied.

Exclude products from the feed

  1. Open CTX Feed → Manage Feeds and edit the feed.
  2. Go to the Filters tab.
  3. In the Product selection list, find Specific products.
  4. Add the products you want to remove. You have two ways:
    • Search — start typing to find products by title, SKU, or ID, and pick each one.
    • Paste a list — paste a comma-separated list of product IDs or SKUs (for example, 128, 415, 980 or WS-01, WS-02) directly into the field. CTX Feed resolves the whole list in one go and selects every match. Numbers are matched as product IDs first, then as SKUs; a list containing any non-numeric entry is matched by SKU.
  5. Set the mode toggle to Exclude.
  6. Click Save & generate.
CTX Feed Filters tab Product selection with three products chosen in Specific products and the Exclude mode selected
  1. Specific products — the products you picked or pasted.
  2. Include / Exclude — set to Exclude to remove them from this feed.

Every product you listed is dropped from this feed; everything else is written as usual.

Include only specific products

If you set the mode toggle to Include instead, the feed contains only the products you listed and nothing else. That’s useful for a small, hand-picked feed — a curated set of best-sellers or a single promotion — rather than removing a few items from the full catalogue.

How variations are handled

If you list a variable product’s ID, its child variations are excluded (or included) along with it. CTX Feed checks a variation’s parent ID as well as its own, so you don’t have to list every variation separately — removing the parent removes the whole family. To remove just one variation, list that variation’s own ID; its siblings stay in the feed.

How to find a product’s ID

You don’t strictly need the numeric ID — searching by title, SKU or ID in the Specific products field works — but when you do want the ID:

  • Go to WooCommerce → Products and hover over a product; the ID appears under its name in the list.
  • Or open the product for editing and read the post=123 value in the browser’s address bar — that number is the product ID.

Troubleshooting

  • A product is still in the feed. Confirm the mode toggle is set to Exclude (not Include), that the correct product or ID is listed, then Regenerate.
  • The whole feed emptied out. You’re probably in Include mode with only a few products listed — switch the toggle to Exclude.
  • Pasting a list didn’t select anything. Paste at least two entries separated by commas — a single pasted ID runs a normal search instead. Entries that match no product are reported in a notice under the field (“didn’t match any product (by ID or SKU)”). Typing commas by hand runs a search instead of the paste shortcut.
  • You can’t edit the field. On the free plugin the Specific products control is locked; it requires CTX Feed Pro.
Try CTX Feed for WooCommerce - Free Download or Upgrade to Pro

4 thoughts on How to Include/Exclude Products From a Feed by Product IDs?

  1. The current version of CTX feet has removed the product id filter and replaced it with the product title. This is a problem as product ID is always unique and product titles could sometimes be duplicated on multiple products. In my case I want to exclude some products which share the same or very similar product titles to others that I want to keep included. Seems very strange to change from being able to filter out product id’s to titles is it possible to return this feature.

    1. Hi! We are already working on this issue and testing a beta version that includes, filter item by, ID, SKU and comma separated IDs. Hopefully, the version will be released soon.

Leave a comment.