Announcement

Collapse
No announcement yet.

Brochure Page - Basket Contents Link

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

    Brochure Page - Basket Contents Link

    Hello,

    I would like to create a Basket (Cart) Contents link on the Brochure_Primary template, so you can see the contents on every page of the site.

    Can anyone tell me the VariableLink I need to use?


    Cheers

    #2
    The following code will show the cart contents

    <div align="center">
    <span class="actxxsmall">
    <script language="JavaScript">
    document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+"&nbsp;");
    document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1));

    </script>
    </span>
    </div>


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Cart Contents on a brochure Page

      If you do it that way you get a Java script error -

      The main reason I want to do this is so i can view a section Page without having the section link showing. So I want to mirror the Act_Primary onto the Act_Brochure_Primary using Links to the variables. This has worked fine with everything except the Cart Contents.

      To get around this problem with the Brochure Pages, I removed the "NETQUOTEVAR:FOOTERGUIDE" and set up my own buttons with links to Checkout, and other sections etc.

      Is there a way to remove the section links and set up your own buttons to the sections?

      Comment


        #4
        The above code displays the cart contents on the page - I think you are wanting a link to actually view the cart.

        To create a new link from a button to the cart page you need

        <a href="http://www.yourdomain.com/cgi-bin/ca000001.pl?ACTION=SHOWCART"><img src="your_cart_image.gif" alt="view cart" ></a>

        similarly if you want to link to a section (or any page) the href code will be

        http://www.yourdomain.com/acatalog/section_name.html


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          Cart Contents on a brochure Page

          Cheers I will give it a try - just as an example I have attached an image of a page I am working on locally.

          I have the five brushes Sections and links to the sections on the left and also a link to "About Our Brushes"

          But I do not want a section called "About Our Brushes"

          so each link that I choose only the products will appear and the "About Our Brushes" fragment but the template will remain still.
          Attached Files

          Comment


            #6
            Nice, clean looking site btw


            Bikster
            SellerDeck Designs and Responsive Themes

            Comment


              #7
              thankyou and thankyou also for your help.

              Comment

              Working...
              X