Announcement

Collapse
No announcement yet.

cart items on brochure pages

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

    cart items on brochure pages

    I am pasting the code below to get items in cart to show on my brochure pages but it is returning a script error:
    <td align="right" bgcolor="#0099CC" class="quickcart">Your Basket |
    <script language="JavaScript">
    <!--
    document.write("Items:&nbsp;" + getCartItem(1)+"&nbsp;");
    document.write("Value:&nbsp;" + getCartItem(1));
    // -->
    </script></td>
    I've done this before and never had a problem can anyone see why now?
    page: http://s136528768.websitehome.co.uk/gifts/comments.html

    Having a nightmare! so if anyone could also see why I also can't go through the checkout phase I'd appreciate it,
    regards
    Bangers
    Boxhedge New Media Design
    Design and development solutions for SME's.
    Tel: 0118 966 2786
    Examples of work can be found at http://www.boxhedge.com

    #2
    I use

    <script language="JavaScript">
    document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+"&nbsp;");
    document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1));
    </script>
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      I think this is what im looking for but dont know where to paste the code ? I want people to add items to the cart without having to wait for the 'cart status' page and also not leave the page they are on but still be able to see whats actually in the cart in the top right box (smart theme).

      Any hints would be great.
      Kind regards,

      Michael

      www.stageprint.co.uk

      Comment


        #4
        Just read several threads on this and it appears others have done it. One thread says "i will post the code for all of you in a few days" but sadly that was the end of the thread

        If it wasnt a netquotevar thingy im sure I could do it but my brain stops after anything above normal html.
        Kind regards,

        Michael

        www.stageprint.co.uk

        Comment


          #5
          Kermy has posted a full cart summary which will appear on catalog pages as an alternative to the current abridged verion. Do an advanced search on posts in the last week by user Kermy.

          This does not remove the need to cycle through the shopping cart when the 'add to cart' button is pressed.
          Bill
          www.egyptianwonders.co.uk
          Text directoryWorldwide Actinic(TM) shops
          BC Ness Solutions Support services, custom software
          Registered Microsoft™ Partner (ISV)
          VoIP UK: 0131 208 0605
          Located: Alexandria, EGYPT

          Comment


            #6
            Thanks bill,

            The code works well but when I add more than 1 product it stretches the sidebar box in a strange way. This may be because the box is no longer 150 wide because I shrunk it last week !

            Will see what I can do and post a message in kermy's thread.

            Mick
            Kind regards,

            Michael

            www.stageprint.co.uk

            Comment

            Working...
            X