Theme setting
Dawn: 'Show unavailable variants' toggle. Off = hide.
Custom JS
Filter variant dropdown/swatches to only show inventory > 0. Requires theme edit.
When to hide
- Permanent discontinuation (color no longer offered)
- Seasonal (winter colors hidden in summer)
- Regional (color only sold in specific market)
When to strikethrough instead
Temporary stockout — customer wants to know it exists + when it'll be back. Strikethrough + notify-me signup.
Frequently asked questions
How to hide out-of-stock Shopify variants?
Dawn theme setting or custom JS filter. Not shown in variant picker.
Hide vs strikethrough?
Strikethrough for temporary stockout. Hide for permanent discontinuation.
Does hiding affect SEO?
Variant URLs still exist. Product page unaffected.
How to hide for seasonal?
Automated via Shopify Flow: set variant availability by date range.
Hide sold-out on collection page?
Yes via Shopify Search & Discovery filter.
Best UX for temporary stockout?
Strikethrough + 'Notify me' signup. Customer opts in for restock alert.
Does hiding sold-out reduce cart abandonment?
Depends. Customer who wants Red won't buy Blue instead. Consider strikethrough + notify to preserve intent.
Bulk hide multiple variants?
CSV import with 'Inventory Available for Sale' = false. Or Shopify Flow trigger.
Related reading
Try it free on Shopify
Print It My Way's permanent Free plan includes live preview, custom options, and Cart Transform pricing.
Install Print It My Way