How to Create Magento Coupons
Coupons are an effective way to attract customers, increase sales, reward existing shoppers, and promote special offers. Magento allows store owners to create coupon codes that customers can enter during checkout to receive discounts.
You can create coupons for a fixed amount, a percentage discount, or other promotional conditions. Magento also allows you to control when a coupon is valid, how many times it can be used, which customers can use it, and which products or categories qualify for the discount.
This guide explains how to create and configure coupon codes in Magento step by step.
What Is a Magento Coupon?
A Magento coupon is a promotional code that customers enter during checkout to receive a discount.
For example:
Coupon Code: SAVE10
Discount: 10%
A customer enters SAVE10 during checkout, and Magento applies the configured discount if all conditions are satisfied.
Coupons can be used for promotions such as:
- Percentage discounts
- Fixed cart discounts
- Product-specific discounts
- Seasonal sales
- New customer offers
- Customer loyalty campaigns
- Free-shipping promotions
- Limited-time promotions
Benefits of Using Magento Coupons
Coupons can help your store achieve several marketing goals.
Increase Sales
A discount can encourage customers who are unsure about purchasing to complete their orders.
Attract New Customers
You can provide a welcome coupon to first-time customers.
Reward Existing Customers
Coupons can be used as loyalty incentives.
Promote Products
You can create coupons that apply only to selected products or categories.
Create Time-Limited Promotions
Expiration dates allow you to run seasonal or short-term campaigns.
Track Marketing Campaigns
Unique coupon codes can help you identify which promotions generate orders.
Magento Cart Price Rules and Coupons
Magento generally uses Cart Price Rules to create discount promotions that can optionally use coupon codes.
A cart price rule defines:
- Which customers qualify
- Which products qualify
- The discount amount
- When the promotion is active
- Whether a coupon is required
- How many times the coupon can be used
For example:
Rule Name: Summer Sale
Coupon: SUMMER20
Discount: 20%
Valid Until: June 30
Before Creating a Coupon
Before creating a coupon, decide:
- Coupon code
- Discount type
- Discount amount
- Start date
- Expiration date
- Eligible customer groups
- Eligible products or categories
- Minimum order amount
- Maximum discount, if applicable
- Number of uses per coupon
- Number of uses per customer
- Whether free shipping should be included
Having these details ready makes the configuration process easier.
How to Create a Magento Coupon
Log in to your Magento Admin Panel.
Navigate to:
Marketing → Cart Price Rules
Click:
Add New Rule
The exact menu names can vary slightly depending on your Magento version and installed extensions.
Step 1: Enter the Rule Name
Enter a descriptive name for your promotion.
For example:
Rule Name: Summer 20% Discount
The rule name is primarily for administrative use, so choose something that clearly identifies the promotion.
For example:
New Customer Welcome Discount
is more useful than:
Discount 1
Step 2: Add a Description
If your Magento configuration provides a description field, enter information explaining the purpose of the promotion.
For example:
Description: 20% discount for customers during the summer campaign.
This helps administrators understand the rule later.
Step 3: Enable the Rule
Find the Active option.
Set it to:
Yes
If you are preparing the promotion in advance, you can keep it inactive until you are ready to launch it.
Step 4: Select the Websites
Magento allows you to choose which websites can use the promotion.
For example:
Websites:
☑ Main Website
If your Magento installation contains multiple websites, select only the websites where the coupon should be available.
Step 5: Select Customer Groups
Choose the customer groups that can use the coupon.
Depending on your Magento configuration, groups may include:
General
Wholesale
Retailer
Not Logged In
If you want the coupon to be available to everyone, select all relevant groups.
For a registered-customer-only promotion, exclude the guest or non-logged-in customer group where appropriate.
Step 6: Set the Coupon Type
Find the Coupon configuration section.
Magento commonly provides options such as:
No Coupon
Specific Coupon
Auto
To create a customer-entered coupon, select:
Specific Coupon
Step 7: Enter the Coupon Code
Enter the code customers will type during checkout.
For example:
Coupon Code: SAVE20
Other examples include:
WELCOME10
SUMMER25
NEWUSER15
FREESHIP
Keep coupon codes:
- Short
- Easy to remember
- Easy to type
- Relevant to the promotion
Avoid confusing characters such as O and 0.
Step 8: Configure Coupon Usage
Magento provides settings that can limit how often a coupon can be used.
For example:
Uses Per Coupon: 500
Uses Per Customer: 1
This means the coupon can be used a maximum of 500 times overall, while an individual customer can use it only once.
If you want unlimited use, the corresponding usage limit can generally be left unrestricted according to your Magento version’s available settings.
Step 9: Set the Active Dates
You can define when the promotion should be available.
For example:
From: 2026-10-01
To: 2026-10-31
This creates a limited-time October promotion.
Using start and expiration dates is useful for:
- Holiday sales
- Weekend promotions
- Seasonal campaigns
- Flash sales
- New-product launches
Step 10: Configure Priority
Magento allows you to assign a priority to promotional rules.
For example:
Priority: 1
When multiple cart price rules apply to the same order, rule priority can affect how Magento processes them.
Plan your priorities carefully if your store has several overlapping promotions.
How to Create a Percentage Discount Coupon
One of the most common coupon types is a percentage discount.
For example:
Coupon Code: SAVE20
Discount: 20%
In the Actions section, find the discount type and select:
Percent of product price discount
Then enter:
Discount Amount: 20
The customer receives a 20% discount on eligible products.
For example:
Product Total: ₹2,000
Discount: 20%
Discount Amount: ₹400
Final Product Total: ₹1,600
The actual final total can differ depending on taxes, shipping, and other configuration.
How to Create a Fixed Amount Coupon
You can also offer a fixed discount.
For example:
Coupon Code: SAVE500
Discount: ₹500
Select the appropriate fixed amount discount action and enter:
Discount Amount: 500
If the eligible cart value is ₹3,000:
Cart: ₹3,000
Discount: ₹500
After Discount: ₹2,500
This type of coupon is useful for promotions such as:
₹500 Off on Orders Above ₹2,500
How to Create a Coupon for Specific Products
Magento allows you to use conditions to control which products qualify.
For example, you could create:
Coupon: LAPTOP10
Discount: 10%
Products: Selected laptops
In the Conditions section, configure the appropriate product attribute conditions.
Possible criteria may include:
- Product SKU
- Product attribute
- Product category
- Product price
- Product quantity
This lets you create targeted promotions instead of discounting the entire catalog.
How to Create a Category-Based Coupon
Suppose you want to offer 15% off all products in the Shoes category.
You can create a cart price rule with a condition targeting that category.
Example:
Coupon Code: SHOES15
Discount: 15%
Category: Shoes
When a customer applies the coupon, only eligible products are discounted.
This is useful for category-specific campaigns.
How to Create a Minimum Order Coupon
A minimum order requirement prevents customers from using a discount on very small purchases.
For example:
Coupon: SAVE20
Discount: 20%
Minimum Order: ₹2,000
A customer with a ₹1,500 eligible cart would not qualify.
A customer with a ₹2,500 eligible cart could qualify.
This can help protect your profit margins.
How to Create a Free Shipping Coupon
Magento can also be configured to use a coupon for free shipping when the applicable shipping configuration supports it.
For example:
Coupon Code: FREESHIP
Shipping: Free
In the rule’s Actions section, configure the shipping discount option available in your Magento version.
You may also combine the promotion with conditions such as:
Minimum Order: ₹1,500
This creates an offer such as:
FREE SHIPPING ON ORDERS ABOVE ₹1,500
Make sure the corresponding Free Shipping shipping method is enabled and properly configured.
How to Restrict a Coupon to New Customers
If you want to create a welcome discount, you can limit the promotion to appropriate customer groups and conditions.
For example:
Coupon Code: WELCOME10
Discount: 10%
You can then combine customer eligibility with your store’s customer-group structure or other available conditions.
A typical campaign might be:
New Customer
↓
WELCOME10
↓
10% Discount
Test the rule carefully with both new and existing customer accounts before launching it.
How to Create a Limited-Use Coupon
Suppose you want the first 100 customers to receive a discount.
Configure:
Coupon Code: FIRST100
Uses Per Coupon: 100
Once the configured number of uses is reached, Magento will stop accepting the coupon according to the rule’s usage settings.
This is useful for:
- Product launches
- Flash sales
- Limited promotions
- Influencer campaigns
How to Create Unique Coupon Codes
For marketing campaigns where each customer should receive a different coupon, Magento can support coupon-code generation through its sales-rule functionality.
Instead of manually creating:
WELCOME01
WELCOME02
WELCOME03
you can generate a larger set of unique codes where supported.
This is useful for:
- Email campaigns
- Customer loyalty programs
- Influencer promotions
- One-time offers
Generated codes can be managed separately from a single shared coupon code.
How to Add Coupon Conditions
Conditions determine when a coupon is eligible.
For example, you can create a rule such as:
If:
Cart subtotal >= ₹2,000
Then:
Apply 15% discount
Other conditions can be based on product information, customer attributes, cart data, and other supported rule conditions.
Conditions are especially useful when you do not want a coupon to apply to every product or every order.
How to Configure Coupon Actions
The Actions section determines what happens when the customer qualifies.
Typical settings include:
- Discount type
- Discount amount
- Maximum quantity discount
- Discount step
- Free shipping
- Discount on shipping
- Additional action settings depending on Magento version
Always review the action carefully before activating the promotion.
How to Test a Magento Coupon
Never launch a coupon without testing it.
Test 1: Add Eligible Products
Add products that should qualify for the promotion.
Test 2: Open the Cart
Proceed to the shopping cart or checkout.
Test 3: Enter the Coupon
Enter:
SAVE20
in the coupon field.
Test 4: Apply the Coupon
Click:
Apply
Magento should calculate the discount.
For example:
Subtotal: ₹2,000
Coupon: SAVE20
Discount: -₹400
Test 5: Test an Ineligible Order
Try the same coupon with products that should not qualify.
The discount should not be applied if the configured conditions are working correctly.
Test 6: Test the Expiration Date
If the coupon has an expiration date, verify that it stops working after the configured period.
Common Magento Coupon Problems
Coupon Code Does Not Work
Check:
- The rule is active
- The coupon code is correct
- The customer belongs to an eligible group
- The selected website is correct
- The coupon has not expired
- Usage limits have not been reached
- Cart conditions are satisfied
- Product conditions are satisfied
Coupon Applies to the Wrong Products
Review the Conditions section.
Check whether your product or category conditions are too broad.
For example, a condition intended for one category may accidentally include additional products if the rule structure is incorrect.
Coupon Is Not Visible at Checkout
Magento generally displays the coupon entry field through the cart or checkout depending on the storefront configuration.
If the field is missing, check your theme, checkout customization, and installed extensions.
Coupon Says It Has Expired
Check the rule’s:
From Date
To Date
Also verify the Magento store’s date and time configuration.
Coupon Usage Limit Has Been Reached
Check:
Uses Per Coupon
Uses Per Customer
If the total coupon usage limit has been reached, additional customers will not be able to use the code.
Managing Existing Coupons
To manage your existing coupon promotions, go to:
Marketing → Cart Price Rules
You can view your promotional rules and modify or deactivate them as needed.
For a promotion that should no longer be available, disable the rule rather than leaving an outdated promotion active.
How to Disable a Coupon
If you want to stop a coupon immediately:
- Go to:
Marketing → Cart Price Rules
- Open the relevant rule.
- Set the rule to inactive.
- Save the rule.
- Test the coupon from the storefront.
The coupon should no longer be accepted once the rule is inactive.
Best Practices for Magento Coupons
1. Use Clear Coupon Codes
Prefer:
SAVE20
WELCOME10
FREESHIP
over complicated strings that customers may mistype.
2. Set Usage Limits
For high-value promotions, configure appropriate usage limits to prevent excessive discounts.
3. Add Expiration Dates
Limited-time offers create a clear promotional period and prevent old campaigns from remaining active indefinitely.
4. Use Minimum Order Values
A minimum order can help protect your margins.
For example:
15% Off Orders Above ₹2,000
5. Test Before Advertising
Always test the complete customer journey before publishing a coupon on your website, email campaigns, or social media.
6. Avoid Conflicting Promotions
Multiple active cart price rules can create unexpected results. Review your promotion priorities and conditions when running several campaigns simultaneously.
7. Monitor Coupon Usage
Review how often coupons are being used and compare the resulting sales with the discount cost.
Example Magento Coupon Campaign
Suppose you want to run a festive promotion.
You could configure:
Rule Name: Festive Sale
Coupon Code: FESTIVE20
Discount: 20%
Minimum Order: ₹2,000
Customer Groups: All Eligible Groups
Start Date: October 1
End Date: October 31
Uses Per Customer: 1
A customer purchases ₹3,000 worth of eligible products.
The discount would be:
₹3,000 × 20% = ₹600
The product subtotal after the discount would be:
₹3,000 - ₹600 = ₹2,400
Shipping and taxes are then calculated according to the store’s configuration.
Frequently Asked Questions
What is a coupon in Magento?
A Magento coupon is a promotional code that customers can enter during checkout to receive a configured discount.
Can I create percentage coupons?
Yes. Magento supports percentage-based discounts through cart price rules.
Can I create a fixed amount coupon?
Yes. You can configure a fixed discount amount, such as ₹500 off an eligible purchase.
Can I limit a coupon to specific products?
Yes. Conditions can be used to restrict discounts to selected products, categories, SKUs, or other supported attributes.
Can I limit how many times a coupon can be used?
Yes. Magento provides coupon usage settings that can limit total uses and, depending on configuration, uses per customer.
Can I set an expiration date?
Yes. You can define the active period for a cart price rule.
Can I create a free-shipping coupon?
Yes. Magento’s cart price rule functionality can be used for shipping-related promotions when the appropriate shipping configuration is available.
Why is my coupon not working?
Check the rule status, website, customer group, date range, coupon usage limits, cart conditions, product conditions, and discount configuration.
Conclusion
Magento coupons provide a flexible way to create targeted discounts and promotional campaigns. By using Cart Price Rules, you can create percentage discounts, fixed discounts, product-specific offers, minimum-order promotions, limited-use codes, and shipping-related promotions.
For the best results, keep coupon codes simple, define clear eligibility conditions, set appropriate usage limits, and test every promotion before making it public.
A properly configured coupon can help attract new customers, increase average order value, promote specific products, and encourage more shoppers to complete their purchases.