# Create a OneCode discount with Shopify Sidekick

With [OneCode: Stackable Discounts](https://apps.shopify.com/rm-combo-discounts) installed, you can ask Shopify Sidekick to set up a stackable discount for you. Start your message with "Use OneCode to" and describe the offer. Sidekick opens the OneCode editor and fills in the code, the discount types, and the conditions. You check the form and click Save. Nothing is created or changed until you do.

Use Sidekick in Shopify admin in a web browser. The Shopify mobile app doesn't open OneCode discounts yet.

## How to create a discount with Sidekick

1. Open Sidekick in your Shopify admin.
2. Start with "Use OneCode to", then describe the offer. Say whether you want a code or an automatic discount, and name products and collections the way they appear in your store.
3. Sidekick opens the OneCode editor and fills it in. If it asks which kind of discount to create, choose OneCode.
4. Check the form. You can change anything yourself, or ask Sidekick to change it.
5. Click **Save discount**. The discount goes live then, unless you set a later start date.

If you leave out "Use OneCode", Sidekick may try to create the discount itself and stop with a message like "App discounts are created from their app". Start a new Sidekick conversation and begin with "Use OneCode to".

![OneCode editor filled in for code SUMMER: a 20% Product Discount on the Summer Collection and a 10% Product Discount on Accessories](/images/editor-two-collections.png)

## Prompts that work

- "Use OneCode to create a code SUMMER: 20% off the Summer collection and 10% off Accessories." An item in both collections gets the bigger discount.
- "Use OneCode to create an automatic discount: buy 2 save 10%, buy 3 save 15%, buy 4 or more save 20% on the Socks collection."
- "Use OneCode to create a code SOCKSBOGO: buy one get one free on the Socks collection, cheapest item free." One item per order is free, not one for every pair.
- "Use OneCode to create an automatic discount: free shipping on orders over $75, only in the US."
- "Use OneCode to create a code VIP15: 15% off and free shipping for customers tagged VIP." Customer tags only match customers who are logged in.
- "Use OneCode to create a code ACC10: 10% off Accessories, plus half-price Express Shipping when they buy accessories." Use the shipping rate name exactly as customers see it at checkout.

## Edit an existing OneCode discount

Ask Sidekick to change a saved OneCode discount, for example: "Use OneCode to change my SUMMER code so Accessories get 15% off." Sidekick opens that discount's edit page and makes the change. Check it, then click **Save**. Sidekick can't switch a saved discount between a code and an automatic discount, so create a new discount for that.

## What you set yourself

Sidekick can fill in the method, the code or title, active dates, combinations, usage limits, discount types, and conditions. You set these in the form yourself: bulk codes (available after the first save), subscription recurring cycles, discount tags, and, on Shopify Plus, "Multiple per product" stacking.

## Sidekick is not Claude's Shopify connector

Claude's Shopify connector has its own create-discount action, and that action makes a percentage-off code. It doesn't open OneCode. See [OneCode vs the Claude connector](/compare/onecode-vs-claude.md) for the difference.

OneCode costs $9.90 USD every 30 days after a 7-day free trial, billed by Shopify. Install it from the [Shopify App Store](https://apps.shopify.com/rm-combo-discounts) before you ask Sidekick.
