How to Create an Automatic Discount Based on Customer Tag in Shopify?

Written by Navdeep Soni, Founder & Shopify app developer at Growthpolis. Growthpolis builds Vista Checkout Rule & Discount, one of the apps discussed below. I've noted where that creates a bias and where it doesn't.

Quick Answer

Shopify's native discount engine can now do this in about five minutes, but only for the simple case. If you just need “10% off for anyone tagged VIP,” you don't need an app. Build a customer segment from the tag, then set that segment as the eligibility condition on an automatic discount.

Where native Shopify still can't help you: combining the tag with anything else in the same rule — a quantity threshold, a cart total, tiered pricing, or a BOGO/BXGY structure. That's the actual gap apps like Vista Checkout Rule & Discount fill. The rest of this article walks through both paths so you can tell which one you actually need.

Does Shopify Support Automatic Discounts by Customer Tag Natively?

Yes, this changed at the platform level, and most articles still floating around the web (including our own earlier version of this one) haven't caught up. Shopify's discount eligibility settings let you scope both discount codes and automatic discounts to a customer segment, and a segment can be built directly from a tag filter.

Steps: native method:

  1. In your Shopify admin, go to Customers > Segments and create a new segment.
  2. Use the filter customer_tags CONTAINS 'your_tag_name', replacing the value with your actual tag (e.g., wholesale, vip).
  3. Go to Discounts > Create discount and choose your discount type (percentage, fixed amount, free shipping, or Buy X Get Y).
  4. Select Automatic discount as the method — not discount code.
  5. In the Eligibility section, select Customer segments, then search for and select the segment you built in step 2.
  6. Save the discount.

Once saved, the discount applies at checkout for any customer in that segment — no code entry, no login prompt beyond the customer's normal sign-in.

Where this breaks down:

  • One condition per rule. The eligibility field takes a segment, but a segment can only express what's true about the customer — not a live cart state like quantity or order total in the same rule. Native automatic discounts tie eligibility to a fixed field, separate from cart conditions.
  • Five-segment cap. Automatic discounts can reference up to five customer segments; if you're running more than five distinct tag-based promotions, you're creating five separate discount rules, and Shopify still limits an order to one active automatic discount at a time — so they can silently compete with each other.
  • The customer has to be identifiable at checkout. Segment membership is matched by a signed-in account or a recognized email/phone at checkout. A guest checkout with no prior account won't trigger a tag-based segment discount even if that email is tagged in your customer list.
  • No tiered or combined logic in the UI. You can't natively say “10% off for VIP-tagged customers when cart total exceeds $100, and 15% off when it exceeds $200″ as one discount. Each tier means a separate manual discount object, and you're back to the one-active-automatic-discount ceiling.

Why the Limitation Exists

This isn't Shopify being stingy — it's a deliberate constraint in how the discount engine evaluates eligibility versus cart conditions. Eligibility (who qualifies) and conditions (what's in the cart) are handled by different parts of the discount object, and Shopify caps active automatic discounts per order specifically to prevent stacking conflicts at checkout — two automatic discounts silently combining in a way a merchant didn't intend. Multi-condition logic that spans both “who” and “what's in the cart” in one automatic decision is exactly what Shopify pushed into Shopify Functions — the same framework that replaced the now-deprecated Shopify Scripts. Functions run server-side at checkout and can evaluate arbitrary combined logic, but building and deploying one requires code (Rust, in Shopify's case) and CLI tooling — which is the actual reason most merchants reach for an app instead of writing a function themselves.

Manual and Native Workarounds Before You Reach for an App

If you're not ready to install anything, here's what merchants realistically do to approximate multi-condition tag discounts without a paid tool:

  • Shopify Flow, Shopify's native automation tool, can react to events (like a tag being added) and trigger actions, but it doesn't create discount rules with checkout-time conditions — it's better suited to tasks like tagging customers automatically than to evaluating cart state at checkout. Several merchants report hitting this exact wall when trying to build tiered logic in Flow.
  • Multiple manual discounts + customer communication. Some stores run several tag-scoped automatic discounts and manually manage which one is “live” for a given campaign window, accepting the one-active-discount ceiling rather than trying to combine conditions.
  • Discount codes instead of automatic discounts. Codes support up to 100 customer segments (versus 5 for automatic discounts) and can carry more eligibility nuance, at the cost of requiring the customer to enter something at checkout.

None of these get you real combined-condition logic (tag + quantity + tier, evaluated together, applied automatically). That's the specific gap.

Where an App Like Vista Checkout Rule & Discount Fits

Vista uses Shopify Functions under the hood, which is what lets it evaluate a tag condition alongside cart total, quantity, and product-level rules in a single automatic rule — the part native Shopify pushes into custom code.

In practice, this covers cases like: a wholesale-tagged customer gets a tiered discount that increases with order volume, or a VIP-tagged segment gets BXGY pricing that stacks with a shipping rule — all as one automatic rule, no code required on your end.

Here is a quick video to create an automatic discount using a customer tag. This creates one rule that discounts automatically for any customer carrying a specific tag, no code, and no five-segment ceiling to work around.

  1. Install Vista Checkout Rule & Discount from the Shopify App Store and open it from your admin.
  2. Go to the Rules dashboard.
  3. Click the Discounts tab, then click Create product discount.
  4. From the discount type dropdown, select Custom Discount.
  5. Enter a discount name. This is internal — it's only visible to you on the rules dashboard, not to customers at checkout.
  6. In the Discount Conditions card, select All conditions.
  7. Under When, select Customer tag, type the exact tag name, and press Enter to add it. The match is exact, so a typo or casing mismatch against the tag on the customer record means the rule silently won't fire — worth double-checking against Customers in your admin if a discount doesn't apply as expected.
  8. In the Discount Setting tab, choose the method: Automatic or Discount code.
  9. If you choose Discount code, you'll also set the code text and a usage limit (once per customer, or unlimited).
  10. If you choose Automatic, it applies at checkout the same way a native automatic discount does — no code entry.
  11. Select the Discount Type — percentage or fixed amount — and enter the value.
  12. Click Save.
Discount Conditions card with "Customer tag" selected under When and Discount Setting tab showing Automatic vs. Discount code toggle

Edge case worth knowing: because the tag match under step 7 is exact-text, a customer with multiple tags still qualifies as long as one of them matches — the rule doesn't require the tag to be the only one on the account. But it also means “VIP” and “vip” are treated as different tags, so keep your tagging convention consistent if you're layering multiple tag-based rules.

Honest trade-offs: Vista is a newer app launched in 2024 in this category with 15 reviews than long-established discount apps, and the free plan is limited to one rule with a single condition; multi-condition rules like the tag + tier example above require a paid tier. If your need really is the simple single-tag case, the native method above costs nothing and takes less time than installing an app.

FAQ

Can I combine a customer tag with a minimum cart total in one automatic discount without an app?

Not currently. Native eligibility (who qualifies, including tag-based segments) and cart conditions (what's in the cart) aren't evaluated together in the same automatic discount object — that combined logic requires a Shopify Function.

Does the customer need to be logged in for a tag-based automatic discount to apply?

Segment matching relies on a recognized customer identity — a signed-in account or an email/phone Shopify already associates with that customer. Anonymous guest checkouts won't match a segment.

What replaced Shopify Scripts for discount logic?

Shopify Functions. Scripts were deprecated; Functions are the current framework for custom checkout and discount logic, and it's what apps like Vista build on.


This article reflects Shopify's discount eligibility features as of the publish date above; Shopify updates this system periodically, so verify current behavior in your admin if it's been a while since this was written.