Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ttg_ce2_cart_discounts [2011/12/01 22:15] (current)
matthew created
Line 1: Line 1:
 +====== TTG CE2 Cart Discounts ======
 +
 +TTG CE2 Cart supports two types of discounts, Discount Banding and Discount Codes.
 +
 +===== Discount Banding =====
 +
 +Discount bands are configurations of discounts applied to cart total before taxes and shipping has been applied. Bands are specified with amounts, being the minimum amount before a band applies, and a percentage. Discounts may be configured within the ''%%settings.php%%'' file, under the section labeled "DISCOUNT BANDING".
 +
 +Examples: 
 +
 +discountband=amount=100|percentage=10
 +discountband=amount=200|percentage=20
 +discountband=amount=300|percentage=30
 +
 +In these examples, the customer would receive a 10% price break for orders of $100 or more, a 20% price break for orders exceeding $200, and a 30% discount for orders exceeding $300.
 +
 +===== Discount Codes =====
 +
 +Discount codes are codes that can be given to customers to receive a percentage discount on the total before taxes and shipping. Discounts may be configured within the ''%%settings.php%%'' file, under the section labeled "DISCOUNT CODES".
 +
 +Two required parameters below are 'code', which can be anything, for example 'newyearpromo', and percentage, the discount to be given. Codes can also be given an expiry, in the format of YYYY-MM-DD, e.g. 2012-12-31. Dates must be valid, e.g. not 2011-02-30 (a past date).
 +
 +Examples:
 +
 +discountcode=code=THECODE|percentage=10
 +discountcode=code=THEBIGCODE|percentage=20|expiry=2011-08-17
  
Print/export