Commera

Commera

Open in ChatGPT
Ask ChatGPT about this page
Open in Claude
Ask Claude about this page

Create a discount code

Make a code that shoppers type in the cart or at checkout to get money off.

Meera wants to post one code on her shop's Instagram: "DIWALI10" for 10% off any order over ₹999. To protect her margin, the discount stops at ₹200.

Before you start

Read Discounts overview.

Steps

  1. Go to Discounts and click Create discount. Pick Amount off order.

  2. On the Setup tab, keep Discount code selected. In Code, type "DIWALI10". Or click Generate to make a random code.

    Shoppers can type the code in any case. "diwali10" works too.

  3. Under Value, keep Percentage. Set Discount (%) to 10 and Maximum discount to 200.

    The hint reads "“10% off, up to 200”. 0 means no cap."

  4. Check your discount in Test a cart on the right. Pick a product in Search items. Click Add item to add more. Meera adds a Darjeeling tea (₹650) and a teapot set (₹1,499). 10% of ₹2,149 is ₹214.90, so the cap holds the discount at ₹200.

    The DIWALI10 code with 10 percent off up to 200, and a test cart showing 200 off 2,149
  5. Open the Conditions tab. Click Minimum purchase, select Minimum subtotal, and type 999 in Subtotal.

    The Conditions tab with Minimum subtotal set to 999
  6. Click Save at the top right.

Check it worked

The discount now shows Active at the top, and it appears in the Discounts list.

Try it as a shopper. Put products worth more than ₹999 in your cart. Type "DIWALI10" in the Discount code box and click Apply. A "Discount (DIWALI10)" line appears and the Order total goes down.

The storefront cart with DIWALI10 applied: 200 off a 2,149 subtotal, order total 1,949

A code applied in the cart stays on through checkout. For a full run, see Place a test order.

Good to know

Next

Automatic discounts

Last updated 3 weeks ago
Was this helpful?
Thanks!