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:
The result of applying a coupon looks similar to the following:
To create a coupon:
In your store’s Admin area, go to the Coupons section (Promotions > Coupons):
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.
For example, we want to create a coupon to let our customers use the code HAPPY10 to get a $10 discount on items from the Apparel category if the order subtotal amount is over $100. The coupon should be valid from Oct 9, 2015 through Oct 13, 2015. We want to limit the use of this coupon to no more than once and we want to forbid using this coupon in combination with any other coupons. In this case we should specify the coupon details as follows:
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. Note that only one customer will be able to do so as this is a single use coupon.
Help make this document better
This guide, as well as the rest of our docs, are open-source and available on GitHub.