Add a new method to FlatDiscount to tell if it is already in the cart.

Add a template variable to tell if there is already one in the cart.
Modify the default template to include the thank you message and to hide
the add to cart button if this coupon is already in the cart.
This commit is contained in:
Colin Kuskie 2008-06-27 20:25:30 +00:00
parent 59424e1fe3
commit e51d02e3d8
5 changed files with 34 additions and 5 deletions

View file

@ -2,6 +2,7 @@
- fixed: Colorpicker window would not open (Martin Kamerbeek / Oqapi)
- fixed: Reverted change to RichEdit that caused IE6 to stop working
- fixed: Subscription: Price not displaying
- fixed: Flat Discount Coupon: Add to Cart button seems broken
7.5.14
- fixed: RSS feeds report modified date instead of create date