Language: English

🏷️ How to Create a Discount Code in Shopify

Discount codes let customers enter a code at checkout to get a reduction 🏷️


🛠️ Create a Discount Code

➡️ From your Shopify Admin, go to Discounts

➡️ Click Create discount

➡️ In Select discount type, choose a type, for example Amount off products or Amount off orders

➡️ Under Method, select Discount code (not automatic discount)

➡️ In the Discount code section, enter a code name or click Generate code

➡️ In the Value section, choose Percentage or Fixed amount and enter the value

➡️ Optionally set Applies to, Minimum requirements, Eligibility, Maximum discount uses and Combinations

➡️ In Active dates, set a start date and optionally click Set end date

➡️ Click Save

Expected Result: The code appears on the Discounts page.


⚙️ Settings You Can Configure

  • Active dates: when the code is valid
  • Maximum discount uses: limit total uses, or limit to one use per customer
  • Minimum requirements: a minimum purchase amount or a minimum quantity of items
  • Applies to: specific products or specific collections (for product discounts)
  • Eligibility: all customers, specific customers, customer segments or markets
  • Combinations: which discount classes the code can combine with

⚠️ Important Notes

  • Avoid special characters in code names so the code works in checkout URLs
  • Start and end times follow the time zone set in your Shopify admin
  • A code can apply to up to 100 specific customers, products and variants. Beyond that you see the error "Item entitlements exceeded max number"
  • A store can hold up to 20,000,000 unique discount codes
  • A code applied at checkout does not apply to post-purchase offers
  • A once-per-customer code does not carry over if you delete and recreate it. Customers who used the original can use the new one once

🔧 Troubleshooting

The code does not work Check active dates, minimum requirements, eligibility, eligible products and combination settings, then test in a private window, see 🧹 How to Clear Your Browser Cache or Test in an Incognito Window.

Need help with Hoppy apps and discounts? Contact our support team via chat 💬


✅ Final Result

✅ Customers can apply your code at checkout