Setting up discount coupons
page last edited on 26 April 2017
X-Cart 5 allows you to create coupons for your customers. A coupon is a secret code which a customer can use to get a discount on their order (typically, a fixed amount or a percentage off, or free shipping). It is possible to limit the use of a coupon to a specific order subtotal amount, time period, product category, product class or user membership level. If necessary, it is also possible to set the number of times that a coupon can be used.
The coupons feature in X-Cart 5 is enabled by the module Coupons:
To use the coupons feature, make sure the module is installed and enabled at your store. If the module is not installed, you can install it from the X-Cart Marketplace. For general module installation instructions, see Installing modules from the Marketplace.
When the Coupons module is enabled, a link Have a discount coupon? is provided at checkout.
Buyers can use this link to expand a section where they can enter their coupon code:
Provided that a valid coupon code is being used, the coupon will be applied to the order:
The result will be reflected at checkout:
If an invalid coupon code is entered (for example, if the coupon code is misspelled, expired or otherwise does not meet the coupon application conditions), the user will be informed of the problem: For example, here’s the result of using an expired coupon code:
To create a coupon:
In your store’s Admin area, go to the Coupons section (Promotions > Coupons) and select to create a new coupon by clicking the New discount coupon button:
A page for coupon creation opens:
Specify the details of your discount coupon.
- Vendor - This field is available only in X-Cart Multivendor. For information on using this field, see Coupons: Usage with Multivendor.
- Code - Code that a buyer will need to enter at checkout to get the discount.
- Comment - Comment to help you identify this coupon.
- Enabled - Whether the coupon is active and can be used by customers. Disable the option to deactivate the coupon.
- Discount type - Type of discount provided by the coupon. Can be expressed as a fixed amount in the store currency (“$ off”), a percentage (“Percent”) or a discount for the amount of the order shipping cost (“Free shipping”).
- Discount amount - The amount a buyer can get off their order. This field is only available with Discount type set to “$ off” or “Percent”.
- Active from - Coupon validity period start date.
- Active till - Coupon expiration date.
- Subtotal range (begin) - Minimum subtotal amount (The coupon will not be applied if the subtotal is less than the amount specified here).
- Subtotal range (end) - Maximum subtotal amount (The coupon will not be applied if the subtotal is more than the amount specified here).
- Limit the number of uses - Leave this option disabled to allow unlimited use of the coupon. Enable to be able to specify the absolute maximum number of times this coupon can be used (The maximum number of uses) and/or the maximum number of times this coupon can be used per user (The maximum number of uses per user).
- Coupon cannot be combined with other coupons - Whether the coupon can be combined with other coupons.
- Categories - Category/-ies to which the coupon should be applied.
- Product classes - Product class(es) to which the coupon should be applied.
- Memberships - Membership level(s) allowed to use the coupon.
Click the Create button at the bottom of the page.
The coupon will be created and added to the list in the Coupons section:
Now your customer should be able to enter the code HAPPY10 at checkout and get a 10% discount on an eligible order.
Help make this document better
This guide, as well as the rest of our docs, are open-source and available on GitHub.