Best for
B2B and wholesale trade pricing
Structure
Tier, Bundle, or Split Bundle
Platforms
Checkout, POS, or both
Code required?
Yes — trade discount code
Trade Discount
Overview
Stores often run B2C promotions—sitewide sales, bundles, and tier discounts—while B2B buyers need different rules (wholesale or trade pricing). At checkout, a logged-in B2B customer can still see automatic offers that were built for retail shoppers, which is confusing and can undercut the contract pricing you want for trade accounts.
Trade Discount solves that with a code-activated discount mode. The customer enters their trade code (for example TRADE15). Discount Engine then removes those other automatic promotions and applies only the trade discount you configured—so B2B checkout reflects your trade tiers, not mixed-in B2C offers.
Trade Discount works alongside your other discount types (Tier, Bundle, Split Bundle) in the admin, but it only takes effect when the code is entered: it replaces whatever automatic discounts would otherwise apply to the cart.
How does Trade Discount differ from automatic discounts?
Trade Discount is the only code-activated mode in Discount Engine. Unlike Tier, Bundle, and Split Bundle discounts that apply automatically when conditions are met, Trade Discount requires the customer to enter a specific discount code at checkout. When that code is entered, all other automatic promotions are removed and only the trade pricing applies.
This separation ensures B2B customers see consistent wholesale pricing instead of a mix of B2C retail offers and trade rates.
What happens when a trade code is entered at checkout?
- Automatic discounts (Tier, Bundle, Split Bundle, etc.) can be active for everyone—retail-style offers may appear in the cart or at checkout for any customer until something overrides them.
- A B2B / trade customer reaches checkout and may still see those B2C-oriented automatic discounts on the order.
- They enter their trade discount code. Discount Engine strips the other automatic promotions and applies the trade discount configuration instead (your trade tiers and messages).
- Eligible lines show the trade pricing and checkout messaging you set—aligned with trade policy, not the retail stack.
Without the code: Whatever automatic discounts are active can apply (same as other shoppers), including offers aimed at B2C.
With the code: Automatic discounts are removed and replaced by the trade discount—only your trade rules apply.
Configuration Reference
Fields and options are the same as for Tier Discount, Bundle Discount, or Split Bundle Discount—use whichever doc matches the shape you are building. In the admin, set Discount Mode to Trade Discount instead of an automatic mode.
The only Trade-specific step: put the discount code string (the exact code customers will type, e.g. TRADE15) in the metafield your Discount Engine setup uses to link the Shopify discount to that string. Without that metafield value, the function cannot match the entered code to this discount configuration.
Continue reading
Frequently Asked Questions
Can a customer use a trade code and still get automatic B2C discounts?
No. When a trade code is entered at checkout, Discount Engine removes all other automatic promotions (Tier, Bundle, Split Bundle, etc.) and applies only the trade discount configuration. This ensures B2B customers see consistent wholesale pricing without B2C offers mixed in.
What happens if a customer does not enter the trade code?
Without the trade code, the customer is treated like any other shopper. Whatever automatic discounts are active (Tier, Bundle, Split Bundle) apply normally. The trade discount has no effect unless the code is entered.
Can I use Tier, Bundle, or Split Bundle configurations inside a Trade Discount?
Yes. Trade Discount uses the same configuration fields as Tier, Bundle, or Split Bundle — you choose the structure that matches your trade pricing needs. The only difference is the discount mode is set to Trade Discount and a discount code is required in the metafield to activate it.
Where do I set the trade discount code?
The discount code string (e.g. TRADE15) must be entered in the metafield that your Discount Engine setup uses to link the Shopify discount to that code. Without this metafield value, checkout cannot match the entered code to your trade discount configuration.
Can I have multiple trade discount codes with different pricing?
Yes. Create separate Trade Discount instances, each with its own code in the metafield and its own discount configuration. Each code activates only its associated trade discount when entered at checkout.
Does Trade Discount work on Shopify POS?
Yes. By default, the Platform setting is Both - POS & Checkout, so the trade discount applies at both online checkout and POS when the code is entered. You can restrict it to POS Only or Checkout Only if needed.
Demo
Configuration and checkout behavior (including trade code vs automatic discounts) are shown in this walkthrough.