trying to clear a coupon session
Hey Jason
In an ecart install I have set up the coupons system (as per the coupon series in the tutorial area). I want to clear the coupon code when the buyer returns to one of 2 pages (invoice_thanks.php and checkout_success.php). I have added <?php if(isset($_SESSION['PromoCode'])) unset($_SESSION['PromoCode']); ?> to both these pages below </html> but it isnt clearing the session and keeps adding the coupon discount if you go back into buy something.
Cheers
Jamie