Open in TWICE Admin
Catalog → Discount Codes
Prerequisites
Have ready before you start:
- The code string customers will type.
- The listings or collections the code covers, if it is not store-wide.
- The campaign dates. Offered dates set when customers can redeem the code. Discount period dates set which bookings, sales or billing cycles it covers.
The walkthrough
1
Create the code
Go to Catalog → Discount Codes and click Create discount code. The code opens at once as a disabled placeholder such as
NEW-4K2P9X, with Enabled off.2
Name the code
Replace the placeholder in Code with the string customers type. Use letters, digits, hyphens and underscores. Fill in Description with the campaign name, which only you see.
3
Set the type and value
Choose Percentage or Fixed under Discount type, then enter the Value. For Fixed, pick a Scope: Per order takes the amount off once, Per item takes it off every eligible item.
4
Choose who may redeem it
Open the access select and choose Anyone with the code for a campaign code. Choose Only staff and integrations when staff apply the code or an integration grants it.
5
Limit it to items
Select the purchase types under Applies to, then add listings under Apply to listings and collections under Apply to collections. Select places under Limit to locations. An empty field means no restriction.
6
Exclude items
Add the items the code must never discount under Exclude listings and Exclude collections. An excluded item pays full price even when Apply to listings covers it.
7
Set how long a subscription is discounted
Open Applies for in the Subscriptions section and choose First cycle only, Number of cycles or Every cycle. Enter Number of cycles when you choose that option. Skip this step when Applies to excludes subscriptions.
8
Cap the redemptions
Enter the total number of redemptions across all customers in Usage limit. Leave it empty for Unlimited. Times used counts redemptions as the campaign runs.
9
Set the dates
Set Offered from and Offered until for when customers can redeem the code. Set Discount period from and Discount period until for the booking, sale or billing dates the discount covers. Leave a date empty for no limit.
10
Apply it automatically
Switch Auto-apply on to apply the code without anyone typing it. Select storefronts under In storefronts, or leave it empty for all of them.
11
Allow stacking
Switch Combinable on when the code may share an item with other combinable codes. Leave it off to make this the only discount on the items it covers.
12
Turn the code on
Switch Enabled on and save. Do this last, because an enabled code is redeemable as it stands.
How do I know it worked?
The code appears in Catalog → Discount Codes with Status Enabled, its value, and Usage at0. Open a test order, go to Discounts → Discount codes → Apply, and enter the code. The code is accepted and the right amount comes off the right items.
Troubleshooting / common pitfalls
A customer says the code does not work
A customer says the code does not work
The storefront shows Invalid discount code for every failure. Apply the code from an order in admin to see the specific reason. See Why a code is rejected.
The code takes nothing off, or the wrong items
The code takes nothing off, or the wrong items
Check Applies to, Apply to listings, Apply to collections and the exclusion fields together. See Restrictions.
A fixed code took off far more than expected
A fixed code took off far more than expected
Scope is set to Per item. Switch it to Per order to take the amount off once. See Discount types.
Related articles
Discount codes
How a code resolves against an order.
Discount Codes
The view reference, field by field.
Build a collection
The collections a code can be limited to.
Price a listing
The price a discount comes off.