> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://regiostech.crisp.help/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 Change Discount Class

 you created the wrong type of discount (e.g. an *order discount* when you meant to create a *product discount*), Shopify doesn't allow you to change the discount class directly.

## Example Use Cases

* You selected “Order Discount” but need per-item logic
* You want to switch from “Product Discount” to “Free Gift”

## What to Do

[![](https://storage.crisp.chat/users/helpdesk/website/-/d/1/3/e/d13e90de659a8800/image_17odbtl.png)](https://www.loom.com/share/7e95a1e1b04a422b96b91533a11798a5?sid=5dfc3a83-36fc-436c-8cc3-2091f8991739)

Click the thumbnail above to watch a video demonstration.

1. Open the existing discount.
2. Click the export icon in the logic builder to **export your logic as JSON**.
3. Create a **new discount** and choose the correct class.
4. Use the import icon to **paste your logic JSON into the new discount**.
5. Delete the old discount if no longer needed.

This ensures your logic stays intact while using the correct class.

## Why It Works This Way

The discount class determines the structure of the function in Shopify's backend. Once saved, it can't be changed, which is why this workaround is necessary.

## Can I Keep Redeem Codes When Changing Discount Class?
You can't change an existing discount from product to order. You have to recreate it. You can export the discount codes to a CSV before deleting the existing discount and then import them into the new discount.

## Your Feedback Matters

Your review helps keep this small business running. Please [leave one](https://apps.shopify.com/regios-automatic-discounts#modal-show=ReviewListingModal) on the Shopify App Store.
