Announcement

Collapse
No announcement yet.

Which NETQUOTEVAR do I use for the cart contents?

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

    Which NETQUOTEVAR do I use for the cart contents?

    Hi All,

    Quick (and invariably stupid) question for you...

    A new client wants a running total of whats in the cart and the cart value in the top corner of the page. I cant seem to find the right NETQUOTEVAR to use though. Had a look round the forums and someone mentioned using code from Act_ShopppingCartXML? Is this right? There's loads of it, surely I dont need to use the lot?!

    Any help would, as always, be very much appreciated.

    Cheers
    Charles

    _________________________
    B&M Design & Advertising Ltd
    www.bm-group.co.uk


    #2
    here is the code - lifted from one of the themes so you'll have to change the style

    <table border="1" cellspacing="0" cellpadding="0"><tr><td class="actxsmall" background="bk.gif"><script language="JavaScript">
    document.write("Items&#58;&nbsp;" + getCartItem(3)+"&nbsp;<BR>");
    document.write("Value&#58;&nbsp;" + getCartItem(1));
    </script></td></tr></table>

    Comment


      #3
      If you take a look at:

      www.skylinepromotions.co.uk/acatalog

      You can see that I have inserted the code and its not working. Anybody got any ideas?

      Please note that this is purely a test platform and the site is not working properly yet.

      Thanks
      Charles

      _________________________
      B&M Design & Advertising Ltd
      www.bm-group.co.uk

      Comment


        #4
        You have a bug in the HTML.

        Copy the header information from another Act_Primay.html and see if the code works then.
        Owner of a broken heart

        Comment

        Working...
        X