Guide StockTag

How to Tag Out-of-Stock Products in Shopify

Learn how to tag out-of-stock products in Shopify manually, with smart collection rules, Shopify Flow, and StockTag.

Out-of-stock products are not always the problem.

The problem is what happens after they sell out.

A product hits zero inventory, but the product tag does not change. The product stays in a collection where it no longer belongs. Someone on your team forgets to remove it from a “Ready to ship” section. A restock comes in, and now someone has to remember to undo the cleanup.

That is where out-of-stock tags can help.

A simple tag like out-of-stock gives you a way to find sold-out products, organize cleanup work, and control which products should stay out of certain collections.

The trick is keeping that tag accurate.

Short answer

You can tag out-of-stock products in Shopify by opening each sold-out product, adding a product tag like out-of-stock, and removing that tag when the product is available again.

That works fine for a small catalog.

It gets annoying when products sell out often, restock often, or appear in multiple collections. At that point, the hard part is not understanding the tag. The hard part is remembering to keep it correct.

Why out-of-stock tags are useful

Shopify tags are simple, but they do a lot of quiet work.

Shopify’s tag documentation explains that product tags can help organize products, filter products in admin, and act as conditions for smart collections.

That makes tags useful for cleanup.

You might use an out-of-stock tag to:

  • find sold-out products faster
  • build internal review workflows
  • exclude sold-out products from certain smart collections
  • help your team understand why a product is missing from a collection
  • separate temporarily sold-out products from products that should be archived

The tag does not fix the inventory problem by itself. It gives you a clear signal.

That signal is useful only if it stays accurate.

Option 1: Tag out-of-stock products manually

The manual method is straightforward.

  1. Go to Shopify admin.
  2. Open Products.
  3. Find a product that is fully out of stock.
  4. Add a product tag like out-of-stock.
  5. Save the product.
  6. When inventory comes back, remove the tag.

That is enough for some stores.

If you have a small catalog, a few products, and inventory does not change often, manual tagging may be all you need. You can review sold-out products once a week and update tags by hand.

The problem is repetition.

One product sells out. Another restocks. A size comes back. A color disappears. A new staff member updates inventory but does not update tags.

Manual tagging works until the cleanup starts getting missed.

Option 2: Use tags with smart collections

Tags become more useful when you connect them to collection rules.

Shopify’s smart collection conditions can include product tags, which means a collection can include or exclude products based on a tag.

A simple smart collection rule might use:

  • Product tag is ready-to-ship
  • Product tag is not out-of-stock

Or, depending on how you organize products:

  • Product tag is summer
  • Product tag is not out-of-stock

This can help keep sold-out products out of collections where shoppers expect available items.

But the same warning still applies.

The collection rule is only as good as the tag.

If the out-of-stock tag is stale, the collection will be stale too. A product that came back in stock might stay hidden from the collection. A product that sold out might keep showing up because the tag was never added.

Tags are not magic. They are rules. Rules need clean data.

Option 3: Use inventory conditions in smart collections

You may not need an out-of-stock tag for every collection.

Shopify’s guide on hiding out-of-stock products explains that smart collections can hide out-of-stock products when inventory tracking is on and the collection uses an inventory stock condition like “Inventory stock is greater than 0.”

For a basic “available now” collection, that can be the cleanest native option.

The common setup is:

  • Products must match all conditions
  • Inventory stock is greater than 0

That “all conditions” setting matters. Shopify notes that hiding out-of-stock products this way will not work if the collection is set to match any condition.

So if you use smart collections, check the match behavior before assuming the rule is doing what you expect.

This approach is useful, but it does not replace every tag workflow.

You may still want an out-of-stock tag for admin review, team cleanup, manual collections, or collection rules that need more control than inventory alone.

Option 4: Use Shopify Flow

Some merchants can use Shopify Flow to tag products when inventory changes.

This can be useful if you already use Flow and want to build your own rules. For example, you might start a workflow when variant inventory changes, check whether inventory is available, then add or remove a product tag.

That gives you more control than manual tagging.

It also gives you more to maintain.

You still need to decide:

  • what counts as out of stock
  • whether one available variant means the product should stay active
  • which tag should be added
  • when the tag should be removed
  • what should happen when a product restocks
  • how to avoid stale tags

Flow can be a good fit for some stores. For others, it is more setup than the problem deserves.

The variant problem

Out-of-stock tagging sounds simple until variants get involved.

A product might have five sizes:

  • Small: in stock
  • Medium: sold out
  • Large: sold out
  • XL: in stock
  • 2XL: sold out

Is the product out of stock?

For most stores, no. The product still has purchasable variants.

That is why product-level out-of-stock tagging usually means the whole product is unavailable, not just one variant.

This distinction matters.

If you tag a product as out of stock when only one variant is sold out, you might remove a product shoppers can still buy. If you never tag products until every variant is sold out, you need the tag logic to check the full product state.

That is the kind of detail that makes manual cleanup annoying.

Common mistakes with out-of-stock tags

The first mistake is using too many similar tags.

If your store has all of these:

  • out-of-stock
  • sold-out
  • soldout
  • oos
  • hide
  • hide-from-collection

then nobody knows which one actually controls cleanup.

Pick one tag for one job.

The second mistake is forgetting to remove the tag on restock.

Adding an out-of-stock tag is only half the workflow. If a product comes back in stock, the tag needs to come off. Otherwise the product may stay out of collections or internal workflows even though it is available again.

The third mistake is mixing internal tags with merchandising tags.

A tag like summer or gift-guide describes where the product belongs. A tag like out-of-stock describes a temporary state.

Those are different jobs. Keep them clear.

The fourth mistake is assuming tags change storefront behavior by themselves.

A product tag does not automatically hide a product from your theme. It only gives Shopify, your collections, your team, or your apps something to work with. What happens next depends on your collection rules, theme setup, or app settings.

When manual tagging is enough

Manual tagging is fine when the cleanup is small.

You can probably handle it by hand if:

  • your catalog is small
  • products do not sell out often
  • you have only a few collections
  • one person manages inventory
  • restocks are rare
  • the tag is mostly for internal review

Keep it simple. You do not need to automate every tiny store task.

A basic weekly cleanup can work:

  1. Review sold-out products.
  2. Add the out-of-stock tag where needed.
  3. Remove sold-out products from manual collections if they do not belong.
  4. Check recently restocked products.
  5. Remove the out-of-stock tag when inventory is back.

That is boring, but it works.

Until it does not.

When automation starts to help

Automation helps when the same tag cleanup keeps coming back.

If you are checking sold-out products every week, updating tags, fixing collections, and then doing it all again after the next restock, the problem is not complicated.

It is repetitive.

A useful out-of-stock tagging workflow is simple:

  1. Detect when a product is fully out of stock.
  2. Add an out-of-stock tag.
  3. Help keep that product out of selected collections.
  4. Remove the tag when inventory returns.
  5. Leave a clear activity trail so you can see what changed.

That is the kind of small admin chore software should handle.

Not the whole store. Just the thing that keeps getting missed.

Tiny tool option

StockTag can tag out-of-stock products automatically and help keep sold-out products out of selected collections.

It does not delete products. It does not edit your theme. It does not change prices, discounts, checkout, or storefront code.

It is built for the boring cleanup work: keeping out-of-stock tags and selected collection cleanup in sync when inventory changes.

Keep the tag as small as the problem

An out-of-stock tag is not a merchandising strategy. It is a cleanup signal.

Use it to make sold-out products easier to find, easier to manage, and easier to keep out of the places they no longer belong.

If your store is small, manual tagging may be enough.

If the same cleanup keeps coming back, automate that part.

Not everything. Just the annoying little piece that keeps slipping.

FAQ

Common questions

Does Shopify automatically tag out-of-stock products?

No. Shopify can track inventory, and smart collections can use inventory conditions, but Shopify does not automatically add a custom product tag like out-of-stock for every sold-out product.

What tag should I use for out-of-stock products?

Use something simple and consistent, like out-of-stock. The exact wording matters less than using one tag for one job and keeping it accurate.

Should I tag a product as out of stock if only one variant is sold out?

Usually no. Most product-level workflows should tag the product only when all purchasable variants are out of stock. If one variant is still available, the product may still belong in your collections.

Can I use an out-of-stock tag to hide products from collections?

Yes, if your collection rules or cleanup process uses that tag. Product tags can be used as smart collection conditions, but the tag needs to stay accurate.

Does StockTag delete products?

No. StockTag does not delete products. It manages tags and selected collection cleanup based on your settings.