Shopify Discount by Product Tag: The Free 2026 Setup

Native Shopify can't target a product tag directly in a discount rule. Here's the collection workaround everyone uses, and the direct fix that skips it.

Search "Shopify discount by product tag" and you'll land in one of three unrelated places: a tutorial on decorative product badges that have nothing to do with actual discounts, Shopify's brand-new 2026 discount *tags* feature (which organizes your discount list, it doesn't apply a discount to anything), or a five-year-old community thread about the Script Editor, which stopped working in June 2026. None of them answer the actual question.

Shopify's native discount engine doesn't let you condition a discount directly on a product tag — the discount creation flow only lets you target specific products, variants, or collections, not tag values. If you want "any product tagged clearance gets 20% off," native Shopify makes you go around that limitation, not through it.

Why can't you just select a product tag when creating a Shopify discount?

Shopify's Create Discount screen was built to target catalog structure — products, variants, collections — not metadata like tags, which is why product tag never appears as a selectable condition in the native flow. This trips up a lot of merchants because tags feel like they should work the same way collections do. They don't. A collection is a saved set of products Shopify treats as a real targetable object. A tag is just a label, and Shopify's discount engine was never built to query against it directly.

This is a longstanding gap, old enough that a five-year-old Shopify Community thread shows merchants working around it with the now-dead Script Editor, matching customer tag against product tag in custom Ruby. That workaround died with Scripts on June 30, 2026. The same structural gap shows up on the customer side too: a detailed breakdown of tag-based automatic discounts notes that Shopify's automatic discounts can't target tagged customers either, and the usual fallback, a discount code gated to a customer segment, doesn't work if the shopper logs in directly at checkout, since Shopify restricts scripts on that page.

What's the free native workaround for tag-based discounts?

The standard native workaround is to build an automated collection filtered by the product tag, then target that collection in a normal discount rule, since Shopify's automated collections do support tag-based conditions even though discounts don't. Go to Products → Collections → Create collection, set it to Automated, and add a condition where "Product tag is equal to" your target tag. Shopify populates that collection automatically as products get tagged or untagged. Then create your discount as usual and target the collection instead of individual products.

It works, but it adds a layer of maintenance you have to remember exists. The collection has to stay in sync with your tagging strategy, and if you ever rename the tag or need two different tag conditions combined (say, tag AND a minimum quantity), you're back to needing something the native flow can't express, collection-based or not. Third-party discount apps built before Shopify's Functions era ran into the same ceiling from a different angle — one product-tag discount app still routes tag-based logic through discount codes tied to saved customer searches, which means someone has to actively enter a code rather than the discount just applying itself.

Can a Shopify app target product tags directly, without the collection step?

Yes — a Shopify Functions-based discount app can read product tag as a native condition type, skipping the collection-as-proxy step entirely and combining it with other conditions in the same rule. Flowly: Discount Functions is built this way. Product Tag is one of twelve condition fields in its rule builder, alongside product vendor, collection, variant SKU, cart subtotal, and customer segment, all combinable through AND/OR/NOT logic.

That combinability is the actual advantage over the collection workaround. "Product tagged clearance AND cart subtotal over $75" is a two-condition rule in Flowly. In native Shopify, that would need a collection for the tag half and no clean way to layer the subtotal condition into the same discount object at all.

How do you set up a product-tag discount in Flowly?

Flowly builds a tag-based discount on a visual canvas of three connected node types, so the rule replaces both the collection workaround and the discount setup in one pass. Here's the sequence:

  1. Add a Start node to begin the flow.

  2. Add a Condition node, set the field to Product Tag, and enter the tag value (for example, `clearance` or `new-arrival`).

  3. Chain additional conditions with AND, OR, or NOT if the rule needs more than the tag alone, a minimum quantity, a specific collection, a customer segment.

  4. Add an Apply Discount node and choose the action: Percentage Off, Fixed Amount Off, Free Shipping, or Buy X Get Y.

  5. Set the discount class to Product, since a tag-based rule discounts specific line items.

  6. Save. Flowly validates the flow before saving, then syncs it directly onto the live Shopify discount object and applies it in real time on every qualifying cart.

Full documentation on how the Product Tag condition resolves against variant-level versus product-level tagging is in Flowly's docs.

Native collection workaround vs. a direct product tag condition




Setup steps

Automated collection + separate discount

One rule on one canvas

Combines with other conditions

Only if the collection logic supports it

Yes, natively, via AND/OR/NOT

Maintenance

Collection must stay synced with tagging

None — reads the tag directly

Cost

Free

Free

Works with subtotal, customer segment, SKU in the same rule

No

Yes

FAQ

Does Shopify support discounts by product tag natively?

Not directly. The native discount creation flow only targets products, variants, or collections. The common workaround is building an automated collection filtered by the tag, then discounting that collection.

What's the difference between Shopify's new discount tags and a product-tag discount?

Shopify's 2026 discount tags feature, added in API version 2026-04 , lets you label and organize discounts you've already created. It has nothing to do with conditioning a discount on a product's tag — that's a completely separate, unrelated use of the word "tag."

Can I combine a product tag condition with a customer tag condition?

Not natively in one discount. A Shopify Functions app like Flowly can, since Product Tag and Customer Tag are both condition fields that combine through AND/OR/NOT in the same rule.

Do I need Shopify Plus to discount by product tag?

No. The collection workaround is available on any plan, and Flowly, built on Shopify's discount function framework, is also available on standard plans, not just Plus.

Is there a limit to how many product-tag discount rules I can run?

Yes, 25 active discount functions per store according to Shopify's Discount Function API documentation, shared across every discount type on the account.

If your clearance, new-arrival, or seasonal tags are currently routed through a collection you have to babysit, that's the one part of this setup worth removing. Download Flowly directly from the Shopify App Store (https://apps.shopify.com/discounts-functions-flow) and build the rule against the tag itself, or book a call with Subscribfy's team if your tagging strategy spans more conditions than a single tag.

Image

Book a meeting with our sales team now!

Create predictable revenue from the customers you already have.