PDA

View Full Version : add to cart button not working


orcharduk
09-Jan-2003, 12:45 PM
I've modified my product layout template and I think I broke the code I cant get my 'graphic' add to cart button working. I've attached the tempalte if anyone wants to have a look.

Thanks in advance

harlequin
11-Jan-2003, 06:27 PM
Hi John, looking at your templates there are a couple of crucial NETQUOTEVARS missing, I dont know if you have removed them or they were missing from the original product templates...anyway..

Just after the NETQUOTEVAR:ENDSEPERATOR there should be two more n.q.vars i.e.

NETQUOTEVAR:PRODUCTFORMBEGIN NETQUOTEVAR:TEMPLATEBEGINXML

and also at the end of each product layout (just BEFORE NETQUOTEVAR:NEXT need to be the corresponding 'closing' tags.

NETQUOTEVAR:TEMPLATEENDXML

NETQUOTEVAR:PRODUCTFORMEND

I have inserted them into the attached file,
so hopefully this helps.

Im not sure, but you may also get problems where there is spaces inbetween the line

NETQUOTEVAR:PRODUCTBEGINLINK NETQUOTEVAR:PRODUCTLINKTEXT NETQUOTEVAR:PRODUCTENDLINK

I think they need to have no spaces although i may be wrong, just another thing you can try..

harlequin
11-Jan-2003, 06:30 PM
sorry forgot to attach this last time.

orcharduk
13-Jan-2003, 11:19 AM
Hi Steve,

Your amends to my template worked fine. Thanks for taking the time to help.

harlequin
13-Jan-2003, 11:27 AM
...just glad I wasnt talking rubbish... :-)))