> For the complete documentation index, see [llms.txt](https://docs-shpf.bsscommerce.com/b2b-wholesale-solution/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-shpf.bsscommerce.com/b2b-wholesale-solution/other-b2b-modules/discount-code.md).

# Discount Code

The **Discount Code** module allows your customers to apply discount codes directly on their B2B orders — giving them the same familiar shopping experience they get from a retail store, while keeping full control over how discounts are applied in a wholesale environment.

This module is **B2B Solution's own discount-code system**, not Shopify's. You create the codes inside the app (**B2B orders & discounts › Discount Codes**), and the app renders a **Discount Code box on your cart page** where B2B buyers enter them. The discount is calculated in the cart before checkout begins.

{% hint style="warning" %}
**Storefront v4 stores:** Discount Codes is hidden in the admin for shops running storefront v4. If you do not see the **Discount Codes** tab, contact support.
{% endhint %}

{% hint style="warning" %}
**This is not the same thing as Shopify's native discount codes.** A code you create in Shopify Admin will not appear in this module, and a code you create here does not exist in Shopify Admin. They are two separate systems — see [Using this alongside Shopify's native discounts](#using-this-alongside-shopifys-native-discounts) below.
{% endhint %}

This feature is perfect for running **promotions, loyalty rewards, or seasonal campaigns** tailored to your wholesale buyers.

***

#### 💡 What You Can Do with the Discount Code Module

* ✅ **Enable or disable discount code usage** on wholesale orders.
* ✅ **Create discount codes inside the app**, scoped to your B2B buyers.
* ✅ **Restrict discounts** by customers, customer tags, products, collections, product tags, or minimum order value or quantity.
* ✅ **Limit and schedule codes** with total and per-customer usage limits and a Start/End date.
* ✅ **Share a link** that applies the code automatically.
* ✅ **Offer flexible deals** like percentage off, fixed amount off, or free shipping.
* ✅ **Combine with other B2B pricing rules** for complete control over order value.

***

#### ⚙️ Why It’s Useful

* 💬 **Enhance customer experience:** Let B2B customers enjoy promotions effortlessly.
* 🏷️ **Run wholesale campaigns:** Create targeted offers to boost loyalty and order frequency.
* ⚖️ **Maintain pricing integrity:** Manage which discounts apply to specific B2B buyers or groups.
* 🚀 **Encourage larger purchases:** Incentivize higher order values through strategic discounts.

***

The **Discount Code** module makes it easy to combine **wholesale flexibility with promotional power**, giving you a simple yet effective way to reward your B2B customers and grow long-term relationships.

{% content-ref url="/pages/VF90Auxkh7owzoDOqGN9" %}
[Set Discount Codes on Your Orders](/b2b-wholesale-solution/other-b2b-modules/discount-code/set-discount-codes-on-your-orders.md)
{% endcontent-ref %}

***

## Using this alongside Shopify's native discounts

You can keep using Shopify's own discount codes at the same time, but there are two behaviours to plan for.

### Native Shopify discounts apply to everyone by default

A discount code created in Shopify Admin is **not aware of your B2B setup**. Unless you deliberately limit it — using Shopify's own customer segments, or by making it a one-time code — it is available to **every shopper who knows the code**, retail and wholesale alike. That means a code you intended for a retail campaign can also be redeemed by a wholesale buyer who is already receiving negotiated B2B prices, discounting the same order twice.

If you run native Shopify campaigns while B2B pricing is live, restrict them to the right audience in Shopify Admin (customer segment or specific-customer eligibility) rather than assuming B2B buyers are excluded.

### Not every native discount type works with B2B pricing

B2B Solution builds its own checkout to carry your B2B prices through to the order. Shopify's native discounts are evaluated by Shopify in that same checkout, and **the two do not combine reliably for every discount type** — automatic discounts and some code types may not apply, may apply on top of the B2B price, or may be dropped, depending on the discount and the pricing modules in play.

Two controls matter here:

* **Settings › Shopify checkout settings › Shopify discount** decides whether native Shopify codes are accepted at all in the B2B checkout the app creates. It is **off by default**. See [Shopify checkout settings](/b2b-wholesale-solution/advanced-settings/display-discounted-prices-as-msrp-on-checkout-page.md) (settings now live under **Settings** in the app sidebar).
* **Volume Pricing** applies its prices in the cart rather than through Shopify's discount system, so it does not stack with Shopify automatic discounts in the same calculation step.

{% hint style="warning" %}
**Test before you launch a campaign.** If you plan to let B2B buyers use native Shopify codes on top of B2B prices, place a test order with a wholesale account first and check the final total and the discount lines. Combining two discount systems on one order is the most common cause of unexpected order totals.
{% endhint %}

{% hint style="info" %}
If you need further assistance, please feel free to reach us at [**support@bss-b2b.solutions**](mailto:support@bss-b2b.solutions) or [**Live Chat**](https://go.crisp.chat/chat/embed/?website_id=9f64b5a9-1a02-4190-93b8-8ef56b19f740).
{% endhint %}
