

How to Set Up Shopify Discount Codes and Coupons: A Beginner’s Guide
Running a Shopify store means you’ll want to encourage purchases, reward loyal customers, and clear old inventory. Discount codes and coupons are one of the easiest ways to do this. Whether you’re selling print-on-demand products or physical goods, Shopify makes it straightforward to create and manage promotions without any coding.
In this guide, we’ll walk through the exact steps to set up your first discount codes, configure different promotion types, and avoid common mistakes.
Understanding Discounts in Shopify
Shopify offers two main ways to offer discounts:
- Discount codes: Customers enter a code at checkout (e.g., “SUMMER20”) to receive a discount.
- Automatic discounts: Discounts apply automatically based on conditions you set, without requiring a code.
Both types can be percentage-based, fixed dollar amounts, free shipping, or combinations thereof. We’ll focus on discount codes first, as they’re the most popular for beginners.
How to Create Your First Discount Code
Follow these steps to create a working discount code in your Shopify Admin:
- Log in to your Shopify Admin dashboard.
- Navigate to Discounts from the left sidebar menu.
- Click the Create discount button (top right).
- Select Discount code from the options.
- Enter your code name in the field labeled Code. Use uppercase letters and numbers for clarity (e.g., “FIRST20” or “SUMMER2024”). Avoid special characters unless necessary.
- Choose your discount type:
- Percentage: Takes a percentage off the order total or specific products (e.g., 15% off).
- Fixed amount: Reduces the total by a set dollar amount (e.g., $10 off).
- Free shipping: Removes shipping charges.
- Enter the discount value. For a percentage, enter “20” for 20%. For fixed amount, enter the dollar value.
- Set the Applies to option:
- All products: The discount works on any item in your store.
- Specific products or collections: Choose which items qualify (useful if you want to discount only POD products or seasonal inventory).
- Configure Conditions (optional but useful):
- Minimum purchase requirements (e.g., “Only apply if order is $50 or more”).
- Customer eligibility (e.g., “First-time customers only”).
- Quantity limits (e.g., “Only the first 100 uses”).
- Set the Active dates. Choose when the code starts and ends. If you leave the end date blank, the code stays active indefinitely.
- Review your settings and click Save discount.
Shopify will display a confirmation message. Your discount code is now live and ready to use.
Practical Examples for Different Scenarios
Example 1: Welcome New Customers
Create a code “WELCOME15” that gives 15% off any product, no minimum purchase. Set it to apply to all customers. This encourages first-time buyers to complete their purchase.
Example 2: Clear Print-On-Demand Inventory
Create a code “POD30” that gives 30% off only items in your “Clearance” collection. Set a limit of 200 uses and an end date two weeks away. This creates urgency while protecting your regular inventory margins.
Example 3: Bulk Order Incentive
Create a code “BULK50” that gives $50 off any order of $200 or more. This encourages larger purchases and is popular with businesses buying in bulk or POD customers ordering for events.
Managing Your Discount Codes
After creating codes, you can track their performance and make adjustments:
- Go to Discounts in your Admin to see all active and expired codes.
- Click any code to view total uses, total discounts given, and which customers used it.
- Edit a code by clicking its name, then updating values like percentage, end date, or conditions.
- Deactivate a code by clicking Deactivate (it stays in your records but won’t work at checkout).
- Delete a code by opening it and selecting Delete. This removes it permanently.
Best Practices for Discount Codes
Keep codes memorable: Use short, easy-to-spell codes (“SAVE10” rather than “AKXP92”) so customers don’t mistype them.
Use codes in marketing: Share your codes on social media, in email campaigns, and in your store’s announcement bar. A code with no promotion behind it won’t drive many sales.
Track your margins: Calculate whether discounts still leave you profitable. For POD products with variable costs, larger discounts may reduce your margin significantly.
Set expiration dates: Most promotions work better with a deadline. “Use code SUMMER20 through August 31” creates urgency.
Limit high-value discounts: If you’re offering 40% off, consider limiting uses to 100 or setting a short time window.
Test before promoting: After creating a code, add a product to your store’s cart and try the code at checkout to confirm it works correctly.
Setting Up Automatic Discounts
If you want discounts to apply without codes, use automatic discounts:
- Go to Discounts and click Create discount.
- Select Automatic discount.
- Configure the discount type, value, and conditions the same way as discount codes.
- Automatic discounts will apply at checkout if conditions are met (e.g., “Spend $75, get free shipping”).
- Click Save discount.
Automatic discounts are great for loyalty-building strategies without requiring customers to hunt for codes.
Common Mistakes to Avoid
- Forgetting to test: Always verify the code works before sharing it with customers.
- Setting unclear conditions: If a customer can’t use your code, they’ll abandon their cart. Double-check your minimum purchase, product selection, and eligibility rules.
- Offering discounts too often: Customers may wait for a sale instead of buying at full price. Space out major promotions.
- Ignoring discount limits: Unlimited 50% off discounts can destroy profitability. Use quantity limits or short time windows.
- Not communicating the code: A great discount code no one knows about won’t drive sales. Include it in email newsletters, social posts, and your website.
Frequently Asked Questions
Can I use the same code multiple times?
Yes. By default, discount codes can be used unlimited times. To limit uses, set a quantity cap (e.g., “Use only 50 times total”) or a usage per customer limit in your discount settings.
What if a customer enters a wrong code?
Shopify will display an error at checkout saying the code is invalid. The customer can try again or remove the code. If they enter an inactive or expired code, it will also be rejected.
Can I see which customers used a discount code?
Yes. In your Discounts section, open any code and scroll down to see a list of orders that used it, including customer names and purchase amounts.
Do discount codes work on shipping costs?
That depends on your code settings. Percentage discounts apply to the product subtotal only, not shipping. To discount or remove shipping, create a code specifically for “Free shipping” or use an automatic discount with a free shipping condition.
Related Guides
- How to Add Google Analytics to Your Shopify Store: A Beginner’s Guide
- Shopify SEO Settings: A Complete Beginner’s Step-by-Step Guide
- Making Your Shopify Store Mobile Friendly: A Complete Beginner’s Guide
Discount codes are a simple but powerful tool to drive sales and reward customer loyalty. Start with one or two codes, monitor their performance in your Shopify Admin, and adjust as needed. For a professional, cohesive store experience, explore Shopify themes at Vithemes that make your promotions shine.



