How to create discount codes on Shopify
To create discount codes on Shopify, navigate to Discounts in your admin panel, click Create discount, choose your discount type, set the discount value and conditions, then generate or enter a custom code. Save your discount to make it active for customers.
Prerequisites
- Shopify admin account access
- Active Shopify store
- Products added to your store
- Understanding of discount types (percentage, fixed amount, free shipping)
Step-by-Step Instructions
Access the Discounts section
Create a new discount
Configure discount details
Set minimum requirements and usage limits
Generate or customize the discount code
SAVE20 or FREESHIP2026.Set active dates and combinations
Review and save the discount
Share and monitor your discount code
Common Issues & Troubleshooting
Discount code not working at checkout
Check that the discount is active, hasn't expired, and meets all minimum requirements. Verify that the code was entered correctly (codes are case-sensitive) and that it hasn't reached its usage limit.
Cannot create custom discount code
Ensure your custom code contains only letters, numbers, and hyphens. The code must be unique and not already in use. Avoid special characters like spaces, symbols, or emojis.
Discount not applying to specific products
Review the Applies to settings and ensure the correct products or collections are selected. Check that the products aren't already discounted if you haven't enabled discount combinations.
Customers can't see discount in cart
Discounts only appear after the code is entered at checkout. Make sure customers are entering the code in the Discount code field during checkout, not in the cart page.