> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.releas.it/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Exclude Percentage Discount Codes from Being Applied to the Additional COD Fee in Shopify

If you're using Releasit to apply a Cash on Delivery (COD) fee on your Shopify store, percentage-based discount codes that apply to all products might also reduce the COD fee. To prevent this, you can configure Shopify to exclude the COD fee from percentage discounts by following the steps in this guide.

This method uses Shopify's collections and discount targeting to ensure that percentage discounts are applied only to specific products, excluding the additional fee item used for COD.

# Step-by-Step Guide

### Step 1: Create a New Collection

* In your **Shopify admin**, go to **Products > Collections**
* Click on **Create collection**
![](https://storage.crisp.chat/users/helpdesk/website/-/9/5/6/c/956ccd10099b2000/image_1q2eufe.png =800x227)
### Step 2: Configure the Collection Settings

* Under **Collection type**, select **Automated**

* **Uncheck the option Online store** under **Sales channels** so the collection is not publicly visible

![](https://storage.crisp.chat/users/helpdesk/website/-/9/5/6/c/956ccd10099b2000/image_11nc4rd.png =800x552)
### Step 3: Set the Collection Conditions

* Use the following condition to include only products where **Title is not equal** to your fee product name (e.g., “COD Fee”):

![](https://storage.crisp.chat/users/helpdesk/website/-/9/5/6/c/956ccd10099b2000/image_m4eu0m.png =800x407)
* This ensures the fee product is excluded from this collection.

### Step 4: Save the Collection

* Click **Save** to create the collection.

### Step 5: Update Your Discount Codes

To ensure discount codes don’t apply to your fee:

* Delete any existing percentage discount codes that are applied to “All products”

* You can keep other types of discounts

### Step 6: Create New Percentage Discount Codes (with Conditions)

1. Go to **Discounts** in Shopify and create a new **Amount off products discount**

2. Set it as a percentage discount

3. Under **Applies to**, select the collection you just created (which excludes the fee product)

4. **Save** the new discount

![](https://storage.crisp.chat/users/helpdesk/website/-/9/5/6/c/956ccd10099b2000/image_vplsos.png =800x725)

![](https://storage.crisp.chat/users/helpdesk/website/-/9/5/6/c/956ccd10099b2000/image_4ll68r.png =800x639)
### Final Notes

* By applying this method, your percentage discounts will no longer reduce the additional COD fee. This ensures you maintain your intended fee structure while still offering promotional discounts.

* If you have any questions or need help with this setup, feel free to contact Releasit support from within the app.
