# 🎟️ Set Discount Codes on Your Orders

The **Discount Code** feature allows your customers to **apply discount codes directly to their B2B carts**, just like on a regular Shopify store. This ensures a flexible and rewarding shopping experience — while still keeping full control over which customers, products, or order types can use discounts.

It’s a simple yet powerful tool for running promotions, rewarding loyal buyers, or offering special deals to selected wholesale customers.

### ⚙️ How to Enable and Use Discount Codes

Follow the steps below to set up and apply discount codes for your B2B/Wholesale orders:

#### 🔹 Step 1: Enable the Discount Code Feature

1. From your **Shopify admin**, go to **Apps → BSS B2B Solution**.
2. In the left sidebar, open **Discount**
3. Toggle on the **Discount Code** to activate the feature.
4. Navigate to **Installation** on **Discount Code** card, click **Check compatibility**, and then install the Discount Code box to your cart page. Once it's done, your customers will see a **discount code box** on the cart.

***

#### 🔹 Step 2: Create Discount Codes in BSS B2B Solution

1. From your Shopify admin, go to **Apps →** **BSS B2B Solution** **→** **Discount → Discount Code → Create rule**.
2. Fill in or Generate your Code, and then choose the discount type you want to offer:
   * **Product Discount** (Fixed amount or Percentage)
   * **Order Discount** (Fixed amount or Percentage)
   * **Free shipping**
3. Set conditions such as:

* Minimum order value or quantity
* Eligible products or collections
* Customer eligibility (e.g., specific B2B customers or groups)

4. Click **Save** once you finish setting up.

💡 *Tip:* You can use tags or customer groups to control which customers can apply certain discount codes.

***

#### 🔹 Step 3: Apply Discount Code During Checkout Process

When customers place an order:

* They can enter the **discount code** in the field provided.
* The system will automatically validate the code and apply the discount.
* The total amount will update instantly, reflecting the reduced price.

If the discount code doesn’t meet the set conditions, customers will receive an error message explaining why the code cannot be applied.

***

#### 🔹 Step 4: View Applied Discounts in Orders

After checkout, both you and the customer can view the applied discount:

* On the **Order Confirmation page**
* In the **Order Details** section inside your **Shopify admin**

This helps you easily track which promotions or campaigns are being used by your B2B customers.

### 💡 Example

Let’s say you create a discount code called **B2BSPRING10** that gives **10% off orders over $500**.\
When an eligible wholesale customer places a qualifying order and enters the code, the system automatically applies the discount — creating a seamless, professional buying experience.

***

## Check how Discount Code looks on your store:

* On the Cart page:

<figure><img src="https://lh4.googleusercontent.com/3i0OBlu9Z_soWokUUPtvKwm0jZ6sEMU987v9u204SduqrORkzAQsyT0F9LxcO_E-p5vwH9sihbYiRjTH7m7VxCK1h8VNuaLekjCAv0-ppRMuEejwQ3SxZg5J8h4aHJg4pdUWEJrqEzmdd9wvXMR7o6Y" alt=""><figcaption></figcaption></figure>

* On the Checkout page:

<figure><img src="https://lh3.googleusercontent.com/F6p3DLEodpjcZHwfenut0ET0CGPVQL_Iz3R4fygKYetKzNqHBMdeLq4vTKqrr6bYfcxbz8dSS1HizuUaPSXzgdHK_JyYsR_CpsbFzzs2vJ6qUFzzugKD_iSCmTlFTdxOGeifY9_9MsTe9UY995V289k" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Don't like how your Discount Code looks on your store? Reach out to us at [**support-sbc@bsscommerce.com**](mailto:support-sbc@bsscommerce.com) or [**Live Chat**](https://go.crisp.chat/chat/embed/?website_id=9f64b5a9-1a02-4190-93b8-8ef56b19f740)**.**
{% endhint %}
