Announcement

Collapse
No announcement yet.

add to cart button not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    add to cart button not working

    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
    Attached Files

    #2
    missing netquotevars

    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..

    Comment


      #3
      forgot to attach file on last post

      sorry forgot to attach this last time.
      Attached Files

      Comment


        #4
        Hi Steve,

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

        Comment


          #5
          ...just glad I wasnt talking rubbish... :-)))

          Comment

          Working...
          X