On my current sign up page, I have enabled the coupon code field. I would like to have the sign up page automatically add a specific coupon code in the field. Also, Customer could still delete coupon code to add their unique coupon code. The reason for this is many customers forget to add their coupon code, then once they get to the credit card page, and see it not discounted, they do not complete the payment page. If this isn't possible, maybe I could move the coupon code field to the top of the sign up page. Can someone tell me how to do this? thank you in advance.
Maybe placing something like this at the top of the signup.php page: after the <?php if ($_REQUEST['coupon'] == "") { $_REQUEST['coupon'] = "couponcode"; } David
Good evening and thank you for your response. Please help a woman who is completely clueless about programing understand your suggestion. if ($_REQUEST['coupon'] == "") { $_REQUEST['coupon'] = "couponcode"; } Would I put my coupon code number somewhere in those lines? Assuming my coupon code is ABCDE, where would the coupon code go? Thank you in advance.
replace couponcode with your coupon code. if ($_REQUEST['coupon'] == "") { $_REQUEST['coupon'] = "ABCDE"; } David
It worked! Thank you so much! Not only did I fix my page, but I learned something new as well. Thanks again. Pascale http://www.workoutsondemand.com