Home : Digital Asset Management : Programming OpenEdit : ECommerce Setup : Coupons
Coupons
You can add coupon codes to your catalog that will apply a discount to the total cost of the order.Adding Coupon Codes
To add a coupon code you just need to add a SKU to a product that includes a negative price. For example:/store/products/coupons.xconf
<page>
<product name="Coupon Code" id="coupons" ordering="-1" available="TRUE">
<item sku="C54321" inventory="100">
<price quantity="1">-2.00</price>
</item>
<item sku="C4321" inventory="100">
<price quantity="1">-1.00</price>
</item>
</product>
</page>
Now you must trigger a reindex to load in this file by going here as the admin user: /store/admin/reindex.html
