Hello!
After viewing the thread here: http://www.zen-cart.com/showthread.p...-code-from-URL
I am having a bit of a problem 
I am trying to retrieve a coupon code from the URL .
I entered in the index.php
this code
Code:
// this is for http://localhost/?coupon=spring123
$CouponCode = stripslashes($_GET["coupon"]);
if ($CouponCode=='')
echo 'NO COUPON CODE';
echo mysql_real_escape_string($CouponCode);
?>
1. How do I exactly verify if the code is valid ?
2. How to I enter the code in the box at the end of shipping ? Maybe I should include the coupon code in the session .... ?
Thanks!