Title: Filter remove all product
Last modified: October 24, 2020

---

# Filter remove all product

 *  Resolved [ownage10](https://wordpress.org/support/users/ownage10/)
 * (@ownage10)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/filter-remove-all-product/)
 * Hi, whenever I add filter to the feed it removes all the product from XML
 * Error message- This XML file does not appear to have any style information associated
   with it.
 * My filter looks like this.
 * Product ID – is equals – 1402 – Exclude
 * I changed is equals to contains still doesn’t work. When I delete all filters
   And refresh feed it works.
 * I want to exclude affiliate products.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffilter-remove-all-product%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/filter-remove-all-product/#post-13575802)
 * Hi,
 * Thanks for using our plugin and reaching out to us. Sorry to hear you are experiencing
   an issue with your filters.
 * Such a simple exclude filter based on product ID really should work. Just to 
   make sure we’ve just tested it on one of our test websites and it worked as expected.
   This is the exclude filter you should create:
    [https://www.dropbox.com/s/h0o06oqjohckkn7/1402-exclude.png?dl=0](https://www.dropbox.com/s/h0o06oqjohckkn7/1402-exclude.png?dl=0)
 *  Thread Starter [ownage10](https://wordpress.org/support/users/ownage10/)
 * (@ownage10)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/filter-remove-all-product/#post-13575837)
 * Yes that’s exactly what I did, except I have multiple ids to exclude, after saving
   it I refreshed the feed and this is what the XML looks like.
 * [https://ibb.co/MfYSbZW](https://ibb.co/MfYSbZW)
 * Looks completely fine once I remove all the filters, but will all the unwanted
   products
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/filter-remove-all-product/#post-13577452)
 * Are you sure there are no other reasons why your feed is empty? We have listed
   those reasons in this blog post: [https://adtribes.io/help-i-have-none-or-less-products-in-my-product-feed-than-expected/](https://adtribes.io/help-i-have-none-or-less-products-in-my-product-feed-than-expected/)
 *  Thread Starter [ownage10](https://wordpress.org/support/users/ownage10/)
 * (@ownage10)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/filter-remove-all-product/#post-13577468)
 * Hey, thanks for your support, the problem was with cache. Its working fine after
   I cleared cache.
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/filter-remove-all-product/#post-13577471)
 * Perfect, good to hear you managed to find the cause.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Filter remove all product’ is closed to new replies.

 * ![](https://ps.w.org/woo-product-feed-pro/assets/icon-256x256.png?rev=3111496)
 * [Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce](https://wordpress.org/plugins/woo-product-feed-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-feed-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-feed-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-feed-pro/reviews/)

## Tags

 * [XML problem](https://wordpress.org/support/topic-tag/xml-problem/)

 * 5 replies
 * 2 participants
 * Last reply from: [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/filter-remove-all-product/#post-13577471)
 * Status: resolved