How to Exclude Wholesale Customers From Shopify Discounts

Cover: How to Exclude Wholesale Customers From Shopify Discounts

To exclude wholesale customers from Shopify discounts, limit each discount to a customer segment that leaves out your wholesale tag. Shopify says discounts are available for B2B by default and add to catalog prices. Keep wholesale prices in a price list or app rule, and test the cart as a buyer.

This guide belongs to our complete guide to Shopify B2B. It applies to any retail sale, not only Black Friday. Shopify facts come from the Help Center and shopify.dev pages linked in the text, checked November 2026. BSS B2B Solutions makes BSS B2B Solution, the app used for wholesale prices.

Key takeaways

  • Shopify discounts reach B2B buyers by default, on top of catalog prices.
  • The native fix is eligibility on the discount: a customer segment that excludes the wholesale tag.
  • A code made in BSS B2B Solution does not work in the Shopify checkout discount field.
  • Inside the app, a price list sets the base price, then quantity breaks, then BOGO, then discount codes.
  • Test every sale as a wholesale buyer and as a retail buyer.

Why does a retail sale reach wholesale buyers?

Because a discount applies to every customer its eligibility allows, and in a blended store that includes B2B buyers. Shopify says discounts set to all customers, specific customers or customer segments apply to B2B and D2C customers by default (Shopify Help Center).

ScenarioWhat happensFix
Store-wide automatic discountApplies to B2B and D2C customers by defaultLimit eligibility to a segment that excludes the wholesale tag
Public code sent to a wholesale buyerA code open to all customers can be used by anyone who has itLimit eligibility to a segment or to specific customers
Catalog price plus a saleDiscounts apply as additional discounts on top of catalog price adjustmentsExclude wholesale in eligibility, or keep it in on purpose
App price plus a Shopify saleShopify Help does not say how a native discount combines with a price set by an appTest the cart as a wholesale buyer
How a retail discount meets wholesale buyers (Shopify Help Center, checked November 2026)

Example, illustrative numbers. One product sells for $100.00 retail. A 15% sale is running. The wholesale price, taken from a Shopify catalog, is $60.00.

StepRetail buyerWholesale buyer, sale reaches themWholesale buyer, excluded
Price before the sale$100.00$60.00$60.00
15% sale-$15.00-$9.00none
Buyer pays per unit$85.00$51.00$60.00
Example: 15% sale on a $60.00 wholesale price (illustrative numbers, 60.00 x 0.85 = 51.00)

The wholesale buyer who receives the sale pays $9.00 less per unit than your price list says. Over 100 units, that is $900.00.

How do you keep a Shopify discount away from wholesale customers?

Set the discount’s eligibility to a customer segment that does not include the wholesale tag. Shopify’s segment filter supports a NOT CONTAINS operator on customer tags, and tags are not case sensitive.

  1. Create a customer segment with the filter customer_tags NOT CONTAINS 'wholesale' (segment query reference).
  2. Open the segment and check that your wholesale customers are not in it.
  3. Open the discount. Under Eligibility, choose Customer segments, add the segment and save.
  4. Respect the cap: up to 100 segments on a discount code, up to 5 on an automatic discount (Shopify Help Center).
  5. Add the discount to a test cart as a wholesale buyer, then as a retail buyer. Log in as each one to check the cart, then run a checkout for each.

We ran this on a Shopify demo store on November 26, 2026. The sale was an automatic 15% discount on five products, limited to a segment that excludes the wholesale tag. The cart held 2 units of House Espresso Beans 1 kg, listed at $24.00 each. For this test, the app's price rule for wholesale buyers was -20%.

  • Retail buyer, no tag. The cart shows the label “Harbor Lane 15% sale”, $20.40 per unit and $40.80 for the line.
  • Wholesale buyer, tagged wholesale. The cart shows $19.20 per unit and $38.40 for the line. There is no sale label, and Shopify reports a discount total of 0. The wholesale price in the cart is written by BSS B2B Solution.
Cart of a retail buyer with a 15 percent sale applied
The cart of a retail buyer: the line is labelled Harbor Lane 15% sale and shows $20.40 against the $24.00 list price (demo store, November 26, 2026).
Cart of a wholesale buyer with the wholesale price only
The cart of a wholesale buyer: $19.20 against the $24.00 list price, and no sale label (demo store, November 26, 2026).

We did not run checkout, so we do not state what the wholesale buyer pays in total. Only the cart is shown here. Run a full checkout as a wholesale buyer before your sale goes live.

Customer eligibility setting on a Shopify discount
The discount page in Shopify admin: Eligibility is set to Customer segments, with the Retail shoppers segment selected (demo store, November 26, 2026).
DiscountHow to exclude wholesaleLimit
Shopify discount codeEligibility: customer segment without the wholesale tagUp to 100 segments per discount
Shopify automatic discountSame eligibility settingUp to 5 segments per discount
Offer for B2B buyers onlyCreate a B2B market and assign it to the discount’s eligibility settingsLimits a discount to B2B. It does not exclude B2B
Where to set it in Shopify (Shopify Help Center, checked November 2026)

Need to group wholesale customers first? See companies and catalogs versus customer tags and the wholesale price by customer tag setup.

What price does a wholesale buyer pay when several rules apply in BSS B2B Solution?

The app starts from a Price List or Custom Pricing price. Quantity breaks apply on that price, then BOGO, then discount codes. Priority runs from 0 to 99, the lower number wins, and it is compared only inside one module.

This order belongs to the app. It does not change how Shopify’s own discounts work. For rules that overlap, read which B2B rule wins.

Example, illustrative numbers. Retail price $100.00, Price List $60.00, a 10% quantity break at 50 units, then a 5% wholesale code.

StepRuleArithmeticPrice per unit
1Price ListSet price$60.00
2Quantity break, 10% at 50 units60.00 x 0.90$54.00
3Wholesale code, 5%54.00 x 0.95$51.30
Example: one product through three rules (illustrative numbers)

A Shopify sale that reaches this buyer is a separate step. Shopify Help does not say how it combines with a price set by an app, so test it in a cart.

For setup of the pricing side, see wholesale pricing on Shopify.

How do you run a discount code for wholesale buyers only?

Use the Discount Code module of BSS B2B Solution. A rule targets customer tags such as wholesale, and it can exclude customers or tags. It needs a paid plan, which you can try during the 14-day free trial.

Per the BSS B2B Solution Discount Codes page, last reviewed October 11, 2026, a rule can target everyone, logged-in buyers, guests, named customers or customer tags. You choose the discount type, a minimum purchase and usage limits. Exclusions win over targeting.

Three limits matter here:

  • A code made in the app does not work in the Shopify checkout discount field.
  • Buy it now, express checkout buttons and direct checkout links can skip it.
  • It is not applied at Shopify POS.

See BSS B2B Solution pricing for plans.

What goes wrong most often?

Most leaks trace to one cause: the buyer who receives the sale is not the buyer you pictured when you set it up. Check each of these four before the sale goes live.

  • Tag spelling. Shopify matches the exact tag and ignores case. wholesaler does not match wholesale.
  • Guest checkout. In our cart test, a logged-out buyer saw the sale price while eligibility was All customers. After we switched eligibility to the segment, the same cart showed the list price and no sale. Shopify says segment customers can be identified at checkout by email address or phone number, so test a guest checkout as well.
  • Shared links. A sale link or code in an email works for anyone it is open to.
  • Admin-only tests. A discount that looks right in admin can differ in a buyer’s cart.

Checklist before your next sale

Run these five checks before every sale, in this order. Do the two test carts last, because they only prove the earlier steps worked. Fix any failed check, then run the list again from the top.

  1. Your wholesale customers carry the same tag, spelled the same way.
  2. The discount’s eligibility is a segment that excludes that tag.
  3. A wholesale test account shows the wholesale price only.
  4. A retail test account shows the sale price.
  5. The code you email is limited to the group you meant.

Running retail and wholesale in one store? Read how to run B2B and B2C on one Shopify store.

Frequently asked questions

Can wholesale customers use my retail discount codes?

Yes, if the code’s eligibility allows them. A code open to all customers works for anyone who has it, and Shopify says discounts apply to both B2B and D2C customers by default. Limit eligibility to a segment that leaves out the wholesale tag.

How do I exclude a customer tag from a Shopify automatic discount?

Create a customer segment with customer_tags NOT CONTAINS 'wholesale', then set the discount’s eligibility to that segment. An automatic discount accepts up to 5 segments. Shopify matches the exact tag and ignores case, so check your tag spelling before you save.

Do BSS B2B Solution discount codes work in the Shopify checkout box?

No. Per the BSS B2B Solution Discount Codes page, a code made in the app does not work in the Shopify checkout discount field. Buy it now, express checkout buttons and direct checkout links can skip it, and it is not applied at Shopify POS.

Which BSS B2B Solution plan has Discount Code?

Discount Code needs a paid BSS B2B Solution plan. Plan names and prices change, so the pricing page has the current list. Once the plan is active, a Discount Code rule can target customer tags, and an exclusion wins over targeting, as in the wholesale-only example above.

BSS B2B Solution
Keep wholesale prices apart from retail sales

Set wholesale prices, quantity breaks and wholesale-only discount codes in one app. 14-day free trial on paid plans.

Install BSS B2B Solution See the app

Sources

Shopify pages checked on November 26, 2026. BSS facts come from the BSS B2B Solution Discount Codes page (last reviewed October 11, 2026) and the rule priority guide.

Our blog is supported by commissions earned from affiliates. Read our Affiliate Disclosure.
Install BSS B2B Solution 14-day free trial on paid plans