Hide sold-out Shopify variants
Variant Inventory Policy DENY hides purchase when qty is 0. CONTINUE sells when out of stock. This is not product Status.
Use this so a size cannot be bought at 0. Update inventory sets the quantity. Update status drafts or archives the whole product.
Columns
| Need | Columns |
|---|---|
| Minimum | Handle, Variant SKU, Variant Inventory Policy. |
| Recommended | Handle, Variant SKU, Variant Inventory Qty or Inventory Available: Location, Variant Inventory Policy. |
| Empty cells | Empty policy is ignored. Empty qty is a different column. |
Steps
- Set Variant Inventory Policy to DENY on variants that must not sell at 0. CONTINUE to allow overselling.
- Set quantities in the same file or a separate inventory import.
- Import, Dry run on.
What a dry-run comment looks like
What fails
- A policy value other than DENY or CONTINUE.
- Expecting qty 0 alone to draft the product. Set Status or Published if that is the job.
Draft the whole product at quantity 0
Export Products with Variant Inventory Qty. Keep rows where every variant is 0. Set Status DRAFT or Published FALSE. That is a spreadsheet filter, not a hide-sold-out toggle. Update status.
FAQ
- Does qty 0 hide the product?
- No. DENY stops purchase of that variant. Status DRAFT or Published FALSE hides the product. They are different columns.
- Export filter?
- Set Filters on Export uses Shopify search. Inventory quantity filters depend on what Shopify search allows for products. You can also filter in Excel after export.
- CONTINUE vs DENY?
- CONTINUE lets the variant sell at 0. DENY stops purchase. Neither drafts the product.
- Delete the variant instead?
- Delete variants.
