PDA

View Full Version : Coupon Codes


DaveT
04-Nov-2004, 01:50 PM
Hello

Currently I wish to include coupons in the shopping cart which is OK (once you work out how to use the right templates).

But the coupon code box appears with a default of NETQUOTEVAR:COUPONCODE in it which the script tries to validate on every form action.

I assume it should be blank when it loads and retian the value when it submits.

Anyone know what I can do to correct it?

The text box is set to:

<input type="text" name="COUPONCODE" size="20" maxlength="255" value="NETQUOTEVAR:COUPONCODE" class="input" />

Thank you all.

TraceyG
08-Nov-2004, 08:47 AM
Hi,

Can you check in 'Design | Options | Layouts' that you have 'Template for shopping cart and checkout' selected for your 'View Cart Layout'. If not, then please select it and update your site.

DaveT
08-Nov-2004, 08:56 AM
Hi Tracey

Yes I had read a post by Nadeem and that certainly improved things but didn't affect the text field value being the NETQUOTEVAR.

Thanks again.

TraceyG
08-Nov-2004, 09:01 AM
Hi,

Is there a URL that I can take a look at?

DaveT
08-Nov-2004, 09:07 AM
I'll put it up for a little bit so you can see it.

The link will be at:

http://cgi.www.mr-fothergills.co.uk/cgi-bin/www.mr-fothergills.co.uk/ca000001.pl?ACTION=SHOWCART&BPN=catalogbody.html

I'll take it down as soon as possible because it gets in the wsy of ordering by trying to validate "NETQUOTEVAR:COUPONCODE" as a coupon code.

Could you let me know when you've had a look so I can remove it?

Thank you.

TraceyG
08-Nov-2004, 09:36 AM
Hi,

Try replacing Act_ShoppingCart.html from your original theme folder (c:\program files\actinic v7\formats\themes\theme name)