Hi Jason, one query though, so the TotalPrice is BEFORE any other price concerns (such as shipping costs and also the current Gift voucher redemption I have in place). I used the Gift Voucher redemption as part of the discount part of ecart if I can remember. Im just wondering how I can include both the original gift voucher system AND the new coupon system I wish to incorporate. Plus I would need to consider the order of the calculations so the coupon discount doesnt intervere with they shipping costs and the gift voucher calculations. plus in your coupon calcuation where would i place this code on the checkout form? and I would also be allowing the admin to create their own coupon codes with different percentage values that also have an expiry date.
any guidelines appriciated on the above queries :)
Chris