# Set up priority order of discount rule

{% hint style="warning" %}
**Note**:&#x20;

These steps can be applied for both discount types of the app (**Multiple Wholesale pricing** and **Multiple Volume pricing**) In this case, we take the wholesale pricing as an example:&#x20;
{% endhint %}

### Apply the newest wholesale pricing to products

The app allows users to create multiple wholesale pricing plans and volume pricing plans. Sometimes this case happens: Multiple discount rules are applied to one product.&#x20;

So how does it work? Which discount will be prioritized to apply to the product?&#x20;

There are 3 options for you:&#x20;

* **Apply to oldest wholesale pricings**&#x20;
* **Apply to newest wholesale pricings**&#x20;
* **Auto apply wholesale pricing has more priority**&#x20;

If you want to apply the newly created wholesale pricing, please follow the steps below:&#x20;

**Steps to manage**

1. From the app admin page, click on the **Settings** section in the Navigation bar > **General**&#x20;
2. In the **Multiple Wholesale Pricings** section, select **Apply to newest wholesale pricings**
3. &#x20;Click **Save**

<figure><img src="https://810149679-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7AXvWN0Sv4Sg8s2aVRWp%2Fuploads%2Fh2NNkBWYX3IBqg2zSVgF%2Fimage.png?alt=media&#x26;token=c6b298cb-ad05-4d1c-a15d-5893bd002b62" alt=""><figcaption></figcaption></figure>

***

### Auto apply wholesale pricing has more priority

The discount rule with more detail related to customers/products will be prioritized.

**Steps to manage**

1. From the app admin page, click on the **Settings** section in the Navigation bar > **General:**
2. In the **Multiple Wholesale Pricing** section, select the option **Auto apply volume pricing has more priority**&#x20;
3. Click **Save**

<figure><img src="https://810149679-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7AXvWN0Sv4Sg8s2aVRWp%2Fuploads%2FKd9WFUZfnXvmH3xorLIx%2Fimage.png?alt=media&#x26;token=2cf56440-276e-4a35-b94b-e97fa5c128c4" alt=""><figcaption></figcaption></figure>

Example:&#x20;

{% columns %}
{% column %}
Wholesale pricing 1 : Apply to all customers&#x20;

[![](https://help.samita.io/wp-content/uploads/2024/09/Screenshot_19-1-1024x617.png)](https://help.samita.io/wp-content/uploads/2024/09/Screenshot_19-1.png)
{% endcolumn %}

{% column %}
Wholesale pricing 2: Apply to tagged “wholesale” customers&#x20;

[![](https://help.samita.io/wp-content/uploads/2024/09/Screenshot_20-2-1024x669.png)](https://help.samita.io/wp-content/uploads/2024/09/Screenshot_20-2.png)
{% endcolumn %}
{% endcolumns %}

> **Result**
>
> The Wholesale pricing 2 is prioritized to apply to the products

### Diagram of discount priority

Please view the diagram below for more details

<figure><img src="https://810149679-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7AXvWN0Sv4Sg8s2aVRWp%2Fuploads%2FoNVxqwKXR3yuSVv7gi8y%2Fimage.png?alt=media&#x26;token=a32db285-9426-4ecf-9206-a1ac05a16d66" alt=""><figcaption></figcaption></figure>

> ### **Need support?**
>
> If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [support@samita.io](https://help.samita.io/support@samita.io)
