How to Add a Discount Code in WooCommerce
Here's a comprehensive guide on how to create and manage discount codes in your WooCommerce store.
1. Access WooCommerce Coupons
Log in to your WordPress dashboard
Navigate to WooCommerce → Coupons
Click on "Add coupon" button
2. Set Up Basic Coupon Details
Enter a coupon code (use uppercase letters and numbers for better readability)
Add a description (optional, but helpful for tracking)
Select the discount type:
Percentage discount
Fixed cart discount
Fixed product discount
Enter the discount amount
3. Configure Coupon Options
Set an expiry date (optional)
Enable/disable free shipping
Set minimum and maximum spend amounts (optional)
Limit usage to X items per coupon (optional)
Limit usage to X items per user (optional)
4. Product Restrictions
Choose which products the coupon applies to
Exclude specific products if needed
Select applicable product categories
Exclude specific categories if needed
5. Usage Restrictions
Restrict to specific email addresses (optional)
Set user roles that can use the coupon
Allow/disallow use with other coupons
6. Save and Test
Click "Publish" to activate the coupon
Test the coupon in your store's checkout process
Verify that the discount is calculating correctly
Important Tips:
Always test coupons before sharing them with customers
Keep track of active coupons and their expiration dates
Monitor coupon usage through WooCommerce reports
Consider using seasonal or holiday-specific codes for marketing campaigns
Common Issues and Solutions:
If coupons aren't working:
Check the usage restrictions
Verify minimum spend requirements
Ensure the coupon hasn't expired
Confirm product restrictions
Best Practices:
Use clear, memorable coupon codes
Set reasonable usage limits to prevent abuse
Keep detailed records of coupon campaigns
Regularly review and clean up expired coupons
By following these steps and guidelines, you can effectively create and manage discount codes in your WooCommerce store to drive sales and customer engagement.