1. Go to WooCommerce > Coupons.
2. Click "add coupon".
3. Insert your coupon code manually.
4. Or you may click on "generate coupon code", system will auto-generate a code for you.
5. Choose your discount type, it can either be "percentage discount" / "fixed cart discount" / "fixed product discount".
- Percentage discount : A percentage discount for the entire cart. For example, if the cart contains 3 t-shirts @ RM20 each = RM60, a coupon for 10% off applies a discount of RM6.
- Fixed cart discount : A fixed total discount for the entire cart. For example, if the cart contains 3 t-shirts @ RM20 each = RM60, a coupon for RM10 off gives a discount of RM10.
- Fixed product discount : A fixed total discount for selected products only. The customer receives a set amount of discount per item. For example, 3 t-shirts @ RM20 each with a coupon for RM10 off applies a discount of RM30.
6. Insert the coupon amount (numbers only).
For e.g. enter '10' for RM10 or 10%.
7. Insert the coupon expiry date if any.
8. Click on "usage restriction" tab.
- Minimum spend : Allows you to set the minimum subtotal needed to use the coupon. Note: The sum of the cart subtotal + tax is used to determine the minimum amount.
- Maximum spend : Allows you to set the maximum subtotal allowed when using the coupon.
- Individual use only : Tick the box if you don’t want this coupon to be used in combination with other coupons.
- Exclude sale items : Tick the box if you don’t want this coupon to apply to products on sale. Per-cart coupons do not work if a sale item is added afterward.
- Products : Products that the coupon will be applied to, or that need to be in the cart in order for the fixed or percentage discount to be applied.
- Exclude products : Products that the coupon will not be applied to, or that cannot be in the cart in order for the “Fixed cart discount” to be applied.
- Product categories : Product categories that the coupon will be applied to, or that need to be in the cart in order for the fixed or percentage discount to be applied.
- Exclude categories : Product categories that the coupon will not be applied to, or that cannot be in the cart in order for the “Fixed cart discount” to be applied.
- Allowed Emails/Email restrictions : Email address or addresses that can use a coupon. Verified against customer’s billing email. You're allow to include a wildcard character (*) to match multiple email addresses, for example, `*@gmail.com` would enable any gmail address to use a coupon.
9. Click on "usage limits" tab.
- Usage limit per coupon : How many times a coupon can be used by all customers before being invalid.
- Limit usage to X items : How many items the coupon can be applied to before being invalid. This field is only displayed if there are one or more products that the coupon can be used with, and is configured under the Usage Restrictions.
- Usage limit per user : How many times a coupon can be used by each customer before being invalid for that customer.
10. Click "publish" once done.