Announcement

Collapse
No announcement yet.

Shopping Cart Summary on Section/Product pages

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

    Shopping Cart Summary on Section/Product pages

    Hi,

    I am using version 9 and I would like to show a summary of the shopping cart on every page (section and product pages etc), which would include the names of the products, quantity and price.

    I am trying to add it into the "Web Page Outer Layout". The layout <actinic:variable name="ShoppingCartSummary" value="Shopping Cart Summary In A Line" /> works fine, but does not show enough detail. All the other layouts I have tried show the uncoverted code on all pages except "View Cart" where it works perfectly.

    Thanks in advance.

    #2
    This is not a standard ability but a former community member (not seen him around in a while) Graham created a superb mini cart which displays on all pages - see http://community.actinic.com/showpos...5&postcount=10


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      http://www.teclan.net/

      or how about these rather clever mini carts?

      Comment


        #4
        Originally posted by jont View Post
        This is not a standard ability but a former community member (not seen him around in a while) Graham created a superb mini cart which displays on all pages - see http://community.actinic.com/showpos...5&postcount=10
        This script only appears to work for pages that are in the cgi-bin directory. On all other pages (section and product pages), the script returns "No items in cart." Perhaps this is caused by the fact I am using Actinic version 9.

        Originally posted by gabrielcrowe View Post
        http://www.teclan.net/

        or how about these rather clever mini carts?
        Trying to find free alternatives, but thank you for the link anyway.

        Comment


          #5
          That was written for v8 (IRC) so may need some patching to work with v9 (most likely the productID changes)


          Bikster
          SellerDeck Designs and Responsive Themes

          Comment


            #6
            Script works fine on V9 but you have to follow the instructions VERY CAREFULLY. I suggest you strip it out and re-install.

            You may want to edit the script as well, I didn't like VAT added then showing a discount!
            Alan Johnson

            Quality Parrot Cages & Accessories by Parrotize UK
            Pet Accessories by Animal Instinct

            Comment


              #7
              Originally posted by jont View Post
              That was written for v8 (IRC) so may need some patching to work with v9 (most likely the productID changes)
              I would not even know where to start on this one.

              Originally posted by animal dreams View Post
              Script works fine on V9 but you have to follow the instructions VERY CAREFULLY. I suggest you strip it out and re-install.

              You may want to edit the script as well, I didn't like VAT added then showing a discount!
              I have done as you suggested and reinstalled the script carefully. I am still getting the same problem where the script will work fine on all pages generated within the cgi-bin directory work fine, but all other (index, section, product) pages will only display "No items in cart.". I can only presume that this is caused by these pages not having access to the set cookies...?

              Comment


                #8
                URL please?

                Comment


                  #9
                  Oh! I have just worked it out. I have been using the URL without the www. prefix. Just wrote it on here to see if the link worked ok with the www. prefix and the script works fine. For others that do not want to fall into the same trap add this to your .htaccess file

                  Code:
                  RewriteEngine on
                  #Redirects a user from mydomain.com/* to www.mydomain.com/*
                  RewriteCond %{HTTP_HOST} ^mydomain\.com
                  RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]
                  Thanks for everyone's help!

                  Comment

                  Working...
                  X