← Blog/Inventory

How to Set Stock to Zero for Discontinued Products in Shopify

Discontinued products that are still sellable lead to orders you can't fulfill. Here's how to zero them out — and stop overselling — in one message.

June 21, 2026·3 min read

When you discontinue a product, the dangerous moment is the gap between "we're not selling this anymore" and actually reflecting that in your store. If the listing stays live with stock — or worse, with "continue selling when out of stock" turned on — a customer can order something you can't fulfill, and now you're issuing apologies and refunds.

The risk hiding in your settings

Shopify lets products oversell when the "continue selling when out of stock" box is checked, which is great for made-to-order items and terrible for discontinued ones. Finding every discontinued product, zeroing its inventory, and unchecking that box one by one is tedious enough that it gets half-done.

Handle the whole batch at once

With Claude MCP Connector, you sort it in a single instruction:

Claude
Set inventory to zero for everything tagged 'discontinued', and stop them selling when out of stock.
C
Zeroed stock on 12 discontinued products and turned off overselling.
Wool Sweater — Old
Wool Sweater — Old
was 8 in stock
0 left
Spring Jacket '25
Spring Jacket '25
was 3 in stock
0 left
Products updated12
Now shown asSold out — can't be bought
Cleaner: No risk of selling something you can't restock or ship.
Also hide them from collections →

Claude zeroes the stock and turns off overselling for every matching product, so each one shows as genuinely sold out and can't be purchased — no fulfillment surprises.

Related inventory clean-ups

Zero stock by tag, vendor, or product type
Unpublish discontinued items entirely
Find products still selling that shouldn't be
Reverse it instantly if a line comes back

Why it protects you

An order you can't fulfill costs more than a lost sale — it's a refund, a disappointed customer, and sometimes a bad review. Making "retire this product line" a reliable one-step action means discontinued items leave your store cleanly, without leaving a trap behind for the next shopper.

Try it free

Do this in 30 seconds with Claude.

Launching soon on the Shopify App Store. Join the early list to be first in.

Get early access →

Related articles

← Previous

How to Create a Collection and Add 50 Products to It at Once in Shopify

Next →

How to Update Your Shopify Navigation Menu Without Touching Code