How to use the Discount Coupon Codes Module

Contents:

Configuring the Order Total Module

To configure the Discount Coupon Codes module, go to Modules > Order Total > Discount Coupon in the admininistration section of your website. Click the Edit button on the right side of the screen to edit the configuration options. Explanations for each option are provided below:

Creating Discount Coupon Codes

Log in to your admin section and go to Catalog > Discount Coupons. Click the New Coupon button to create a new Discount Coupon Code. The only field that is required is the percent discount field.

Once you have created a discount coupon code, you may distribute it in any format. The only information a customer will need to use a coupon is the code you specified when creating the coupon. You can send out codes in newsletters, order confirmations, etc.

Discounts are displayed as order total lines in the customer's checkout confirmation screen and order history screen, and in all admin order screens.

Discounts are applied BEFORE tax.

Explanation of Coupon Fields:

How to Create Percentage Discounts

Percentage discounts require only a code and a discount percentage. All other fields are optional.

How to Create Fixed Discounts

PLEASE NOTE: Due to the way osCommerce handles order total calculation and the way that Discount Coupon Codes applies a discount to order totals, fixed discounts have the possibility of being off by small fractions. This can possibly result in a fixed discount of $5.00 being displayed in the order total line as $4.99, for example. The frequency of this happening will be very low. The reason has to do with when the Discount Coupon Codes contribution calculates discounts. The calculation happens during the order object creation, when final total values are not yet known, so the discount is applied incrementally. There are pros and cons to this method. Some other Discount Coupon modules calculate discounts after the order object has been created and so may handle fixed discounts with a higher degree of accuracy. If the possibility of fractional rounding errors is unacceptable to you or your customers, I recommend trying one of the other discount coupon contributions.

Fixed discounts are created by setting an order minimum (the minimum amount a customer must have in his or her cart before being eligeable for the discount), a percentage discount, and an order maximum (the maximum order amount to apply the discount to). If the order maximum is the same as the order minimum, then the percentage discount for every order using this code will be fixed.

Suppose you wish to allow a $5.00 discount on orders $25 or more. By setting the order minimum and maximum both to $25, you ensure the applied discount will be the same for all orders using this discount coupon code. If the discount percent is 20%, the discount will always be $5.00.

You may enter an order minimum and a fixed discount amount when creating coupons to have the Discount Coupon Codes module automatically calculate the correct discount percentage for you.

Common Problems

Support

You can find support for this contribution at http://forums.oscommerce.com/index.php?showtopic=213019 (OSCommerce User Forums). Please read through the previous postings to see if your problem or question has already been answered.