A coupon discount system needs to be implemented in an e-commerce shop.
The Shop uses the Smarty Template engine, and it is crucial that the programmer is extremely experienced with this platform.
The Coupon system will have function in this manner:
The visitor places the coupon code in the input box. Through Ajax, the coupon is automatically validated, without the need to refresh the webpage. This implicates, naturally, that the coupons should be stored in a database. If validated, Ajax will output what is the percentage of disccount associated with the coupon, and then will apply it to the total value int he shop basket.
The extra feature that must be implemented is that besides coupons being able to apply discounts, certain coupons/vouchers will deduct money from the total in the shopping cart.
The main difference beween this deduction and the percentage system is that instead of applying a percentage discount, the deduction vouchers apply a fixed credit to the client.