Skip to main content
Discount codes
Dave Quested avatar
Written by Dave Quested
Updated over 4 years ago

What types of discounts can I offer?

You can create 3 different types of discount:

  • Percentage off (e.g. 20% off your order)

  • Fixed amount off (e.g. $20 off your order)

  • Free shipping (e.g. Free shipping on your order)

How are discount codes redeemed?

In the cart, customers can enter the discount code and click Redeem. You'll need to ensure you've enabled discount codes first (under Commerce > Settings), otherwise the discount code box won't be shown.

How is the discount calculated against the order?

For percentage/fixed amount discount types, the discount is applied to each line item, then rounded to 2 decimal places. This matches how Xero works.

Shipping costs are always added after the discount has been applied.

For free shipping discounts, we simply discount any shipping.

When applying a discount, we ensure the tax is properly adjusted.

Can I use discount codes as gift vouchers/certificates?

No need to, use Gift vouchers

How many discount codes can I create?

You can create as many as you like!

Can I limit the number of times a code can be redeemed?

Yes, just enter a Redeem limit when creating a discount code.

Can I specify a minimum order price before the discount code can be redeemed?

Yes, just enter a Minimum order price when creating a discount code

Can I automatically expire a discount code on a certain date?

Absolutely, when creating a discount code you can choose Start / end dates. The discount code is only valid between these dates. If you leave the Start date empty the discount code will be available immediately. If you leave the End date empty, the discount code will be available indefinitely. 

Can I disable a discount code, or put it on hold?

Yes, just change the status to Disabled. You can swap it back to Active later on.

How do I add a discount code?

  1. Go to Commerce > Discount codes.

  2. Click Add.

  3. Enter a Title (e.g. June promotion)

  4. Enter a Code, this must be unique. (e.g. JUNEPROMO13). Codes can be a maximum of 20 characters, and can only contain numbers and letters. No spaces or special characters. Codes are automatically converted to uppercase.

  5. Choose the Type of discount.

  6. If you have chosen Percentage or Fixed amount, you must enter a Discount amount.

  7. Choose whether you want this discount code to Exclude items on sale (where sell price is different to comparison price)

  8. You can optionally choose how many times the code can be redeemed by entering a Redeem limit.

  9. You can optionally choose a Minimum order price before the code can be used. (i.e. 20% off on orders over $100).

  10. You can optionally Restrict to a pricing tier.

  11. You can optionally Restrict to a product.

  12. You can optionally Restrict to a product category.

  13. You can optionally Restrict to a product tag.

  14. You can optionally Restrict to an event.

  15. You can optionally Restrict to an event category.

  16. You can optionally Restrict to an event tag.

  17. You can optionally Restrict to a shipping address country.

  18. You can optionally choose a timeframe, by selecting Start / End dates, limiting when the discount code can be used.

  19. Then click Add

You'll need to ensure you've enabled discount codes first (under Commerce > Settings), before giving to customers. Otherwise they won't see a discount code box to redeem during checkout.

How do I edit a discount code?

  1. Go to Commerce > Discount codes.

  2. Next to the discount code, click Edit.

  3. Change the details of the discount code.

  4. Click Update.

How do I delete a discount code?

  1. Go to Commerce > Discount codes.

  2. Next to the order, click Delete.

  3. Click Delete

Did this answer your question?