Solution

Shopify automatic discounts for specific customers

Discount codes are fine for promotions and awkward for trade. Here is how to give specific customers an automatic discount at checkout, based on a customer tag, so they never type a code.

Updated 25 November 2026 · by Developer-Guy, makers of SmartTrade Pro

Short answer: Shopify's own discounts, both codes and automatic discounts, can be limited to specific customers or customer segments, but each discount carries one rate, so several customer groups means several discounts to keep in step. To give specific customers an automatic discount that follows their group, use a discount based on a customer tag. SmartTrade Pro does this with Shopify Functions: tag a customer Trade Customer and their trade percentage is applied at checkout as a discount line, on Shopify's own servers, with no code and no theme edits. It is a percentage discount by customer or tier; it does not do quantity breaks or buy-X-get-Y offers.

Why discount codes do not work well for trade customers

The quick fix most stores try first is a code: "TRADE20", sent to every approved trade customer. It works for about a month. Then:

  • Customers forget the code and phone to ask for a refund of the difference.
  • The code ends up on a voucher website and retail shoppers start using it, unless you remembered to limit it to specific customers.
  • You want to give one customer 25% and another 15%, so now you have a dozen codes to manage.

What trade buyers actually want is to log in and pay their price. That is an automatic discount, applied because of who the customer is, not because of what they typed. In other words: no discount codes for trade customers.

Shopify discount by customer tag: how it works

A Shopify tag based discount, or Shopify automatic discount by customer tag, follows the tag on the customer record rather than a code someone has to type.

Shopify customers can carry tags, short labels you add on the customer record. A Shopify discount by customer tag checks the tag at checkout and applies the discount if it is there. Our Shopify customer tags guide explains tags in more detail.

With SmartTrade Pro the tag is Trade Customer. On the Standard plan, every tagged customer gets one global trade percentage. On Premium, each customer can also sit in a tier (Gold, Silver, Bronze or any name), so different customers get different automatic discounts from the same set-up. A tagged customer with no tier gets the fallback percentage.

Example: retail basket of £250.00. A Silver customer on 15% sees a "Trade Discount" line of £37.50 at checkout and pays £212.50. A retail shopper with the same basket pays £250.00. Nobody typed anything.

Can Shopify's own automatic discounts target specific customers?

Yes. When you create an amount off products or amount off order discount in Shopify admin, you choose the method (a discount code or an automatic discount) and then the customer eligibility: all customers, specific customers, customer segments or markets. So for one group on one rate, Shopify's built-in automatic discount can do the job with no app.

It gets harder as trade pricing grows:

  • Each discount has one value. Gold on 25%, Silver on 15% and Bronze on 10% is three discounts, each with its own eligibility to maintain.
  • A different rate on certain products for one group means yet more discounts, or collections built to include and leave out the right lines.
  • Shopify allows a maximum of 25 active automatic discounts, and that count includes app discounts.

SmartTrade Pro runs as a single app discount in Shopify, so all your tiers, product overrides and exclusions use one of those 25 slots rather than one each. For how the native options work in detail, see Shopify automatic discounts vs discount codes.

Shopify Functions discounts: why it matters where the discount runs

Older wholesale apps often changed prices with scripts in your theme or by creating draft orders. Those approaches break when you change themes and can slow pages down.

A Shopify Functions discount runs on Shopify's own servers, inside the native checkout. For SmartTrade Pro that means:

  • The discount at checkout shows as a normal discount line with your label, for example "Trade Discount".
  • No code injection into your checkout.
  • Discounts keep working even if our own servers are offline, because Shopify runs them.

This is also why it works on every paid plan, Basic to Plus, rather than needing Shopify Plus checkout customisation.

Shopify multiple automatic discounts and combinations

Stores often ask whether a trade discount clashes with their other automatic discounts on Shopify, such as a sitewide sale. With automatic discounts Shopify applies the offer without a code, so a trade customer could qualify for more than one at the same time. Shopify decides how discounts stack using the combination settings on each discount. How your trade discount combines with other offers depends on how you have those set up, so test a basket with both active during your free trial before relying on it.

Some stores do not want trade customers getting a sale price and their trade discount on top. If that is you, look at excluding sale lines from trade pricing; see exclude products from discounts.

Native options vs a tag-based discount app

What you wantShopify discount codeSmartTrade Pro
Applies without typing anythingNoYes
Different rate per customer groupOne code per groupTiers on Premium
Can leak to retail shoppersYes, if shared and not limited to specific customersNo, needs the tag on a logged-in account
Different rate on certain productsSeparate codesPer-product and per-variant overrides (Premium)
Quantity breaks, buy X get YYesNo

For one-off promotions, Shopify's own discounts are the right tool. For an ongoing Shopify customer tag discount app job, where the same customers get the same rate on every order, automatic is far less work.

Set up an automatic discount for specific customers

  1. Install SmartTrade Pro and set your global trade discount percentage and checkout label.
  2. Tag your trade customers Trade Customer in Shopify, or approve them through the trade registration form, which tags them for you.
  3. On Premium, create tiers and assign customers to them.
  4. Log in as a tagged test customer and check the discount line at checkout.

Full details are on how it works and the features page.

Questions people ask

How do I give an automatic discount to specific customers on Shopify?
Use a discount based on a customer tag. With SmartTrade Pro you tag the customer Trade Customer and their percentage is applied automatically at checkout as a discount line, with no code.
Can Shopify discounts be limited to customer tags?
Shopify discount codes and automatic discounts can both be limited to specific customers or customer segments, and segments can be built from tags. Each discount has one rate, though, so an app like SmartTrade Pro is simpler when different trade groups need different rates.
Can I have multiple automatic discounts on Shopify?
Yes, and Shopify's combination settings on each discount decide whether they stack. Test how your trade discount combines with any other automatic discounts on your own store before going live.
What is a Shopify Functions discount?
A discount that runs on Shopify's own servers inside the native checkout, instead of in theme code or a separate app server. SmartTrade Pro uses Shopify Functions, so trade discounts keep working even if the app's servers are offline.
Do trade customers need a discount code with SmartTrade Pro?
No. Once they are tagged and logged in, the discount is applied at checkout automatically.
Can I do buy 10 get 10% off for trade customers?
Not with SmartTrade Pro, which does percentage discounts by customer and tier, not quantity breaks. Shopify's own discounts or native B2B volume pricing cover quantity-based offers.

Trade pricing that runs itself

Tag a customer, pick their tier, and their price appears on your storefront and at checkout. No codes, no price lists to keep up to date.