How to Include Hidden Out of Stock Products in Your WooCommerce Product Feed

WooCommerce lets you hide out-of-stock products from your store catalog, a great way to keep your storefront clean. But if you’re managing a product feed for Google Shopping, Facebook, or another merchant, you may still want those hidden out-of-stock products to appear in the feed.

This guide walks you through exactly how to do that using CTX Feed Pro.

The Problem

When you enable “Hide out-of-stock items from the catalog” in WooCommerce (WooCommerce > Settings > Products > Inventory > Out of stock visibility), those products are hidden sitewide — including from your product feed.

To pull them back into the feed, you might think to set Include Hidden Products → Yes in CTX Feed. That works, but it creates a new problem: it will also include all other hidden products — not just the out-of-stock ones.

The Solution (Step-by-Step)

Step 1 — Configure the Filter Settings

In CTX Feed Pro, go to your feed’s filter settings and apply the following:

SettingValue
Remove Out-of-Stock ProductsNo
Include Hidden ProductsYes
Override Out-of-Stock VisibilityYes

Note: The Override Out-of-Stock Visibility option only appears when Remove Out-of-Stock Products is set to No and Include Hidden Products is set to Yes.

Setting Override Out-of-Stock Visibility to Yes tells CTX Feed to bypass the WooCommerce “hidden” status for out-of-stock products and include them in the feed anyway.

Hide out-of-stock items from the catalog
Include Hidden Products in your feed

 Step 2 — Add an Advanced Filter

The above settings will work, but they’ll still pull in other hidden products that are not out of stock. To exclude those, you need one more step.

Go to the Advanced Filter tab and add the following condition:

Visibility — does not contain — hidden — OR

This ensures only hidden out-of-stock products make it into the feed, while other hidden products (for unrelated reasons) are excluded.

Advance Filter - Hidden products in Feed
Visibility - does not contain - hidden - OR

Result

Your feed will now include hidden out-of-stock products and nothing else you didn’t intend. You’re ready to generate and upload the feed to your target merchant.

Leave a Reply