Imagine you are selling apparel products in different sizes or colors. When you do, you most likely would have lots of different variations of that product in all different sizes and colors. Over time you sell lots of those product variations and only some are left, in many cases only variations in exotic sizes and colors (such as a purple XXXL shirt).
As those products are hard to sell you probably do not want to actively advertise and spend money on them in your marketing channels such as Google Shopping and Facebook and remove them from your product feeds.
As of version 10.5.8 of our plugin (or version x.xx of the Elite plugin), you can now easily remove those products from your feed by creating an exclude filter that says “remove all product variations for a variable product when it has less than X-number of product variations in stock“.
All you have to do is to create an exclude filter that looks like the example below. The filter below will remove all product variations from your feed for variable products that have less than 3 product variations in stock:
And that’s all. Now reprocess your feed and you are done.
We also added a “Number of variations” attribute which you can use, which only holds the number of variations per variable product, regardless of whether they are in stock. Remember that your feed will probably also contain simple products or other product types such as bundles or subscriptions. As those product types do not have variations at all we have given those product types a symbolic “number of variations on stock” and “number of variations” value of 9999.
Do not hesitate to contact our support team if you have questions or need help with the above filter.