Inventory Visibility

How to Hide Out-of-Stock Products in Shopify (and Republish Automatically)

Hiding out-of-stock products is one of the most common catalog maintenance tasks in Shopify. This guide shows how to automate it without harming SEO, merch strategy, or customer experience.

Why this matters

Sold-out products can waste ad spend, reduce conversion rate, and create poor shopping experiences when they stay visible for too long. At the same time, hiding everything immediately can hurt merchandising and SEO for products that restock quickly.

The right strategy is threshold-based: hide what should be hidden, keep what should stay visible, and republish automatically when inventory recovers.

Choose your visibility rule set

Inventory State Recommended Action Reason
Out of stock, no incoming restock Hide from online channel Avoid dead-end product page traffic
Out of stock, quick restock expected Keep visible, show back-in-stock messaging Preserve SEO and waitlist demand
Inventory returns above threshold Republish product automatically Restore availability without manual checks

Automation workflow in Shopify

1. Define inventory-based conditions

Set conditions such as total inventory equals 0 or below a custom threshold. Add secondary filters like product tag, vendor, or collection to avoid hiding products that should remain discoverable.

2. Define the action

Use status or channel visibility edits to hide selected products. Keep this as a separate task from pricing updates so task history remains easy to audit.

3. Schedule recurring checks

Run the hide rule daily (or more often for high-velocity stores). Then create a paired republish rule for products that move back above your inventory threshold.

4. Preview before first run

Before enabling automation, preview both tasks with real products. Confirm that expected fast-restock items are not accidentally removed.

5. Track and tune

After one week, review hidden-product counts, republished counts, and conversion impact. Adjust thresholds by product type if needed.

Best practice: run hide and republish as separate named tasks so your team can diagnose issues quickly.

Useful command examples

  • "Hide products where total inventory equals 0 and status is active."
  • "Every day at 7:00 AM, hide active products tagged seasonal where inventory is 0."
  • "Republish products where total inventory is greater than 5 and status is draft."

SEO and merchandising considerations

  • Do not auto-hide long-tail evergreen products that frequently restock within days.
  • Consider collection-level messaging for temporary stockouts before full hide rules.
  • Audit internal links from landing pages so they do not point heavily to hidden products.
  • Use tags to exclude core hero products from strict hide logic.

FAQ

Can Shopify automatically hide out-of-stock products?

Yes, with automation workflows that apply inventory-based conditions and scheduled execution.

Should I hide all sold-out items immediately?

Not always. Products with fast restocks or strong SEO value may perform better if left visible with clear stock messaging.

How often should I run out-of-stock checks?

Daily is a good default. Fast-moving stores may run checks multiple times per day.

Set up hide + republish inventory automation with preview and rollback controls.

Install on Shopify