Announcement

Collapse
No announcement yet.

Full Cart Summary workaround

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #46
    Thats the changes made, so now you won't have to worry about getting the correct cgi/script settings.

    Marc, if you like, attach copies of your actinicorder.pm, cart.pm and actinicextras.js files to an email (web [at] gbradley.co.uk) and i'll have a look into it for you over the weekend.
    www.gbradley.co.uk
    Web Development, Actinic Patches, Scripts & more

    Comment


      #47
      Hi Graham,

      I have sent the email - Thanks for taking the time to check this out, it's really appriciated!!
      __________________
      Cheers ,
      Goders

      Software-1st
      http://www.software-1st.co.uk

      Comment


        #48
        oops i forgot to tell ya that I got it working on my site, i just went through and made sure all the variables were correct, it was just me being sloppy.

        Great add on

        thanx to everyone who gave me a hand too... much appreciated.

        Ben
        www.bathroomexpress.co.uk

        Comment


          #49
          Graham,

          Thanks for the download, very much appreciated
          I am having problems with the item text forcing my smart cart (top right box) too wide but this may be due to the fact the box is now 130px instead of 150px ?.

          Im still testing with the standard actinic template products and for some reason the cart is emptied and crashes if I add a pair of boots ?

          I like your site and will look you up for blank media in the future.

          Cheers

          Mick
          Kind regards,

          Michael

          www.stageprint.co.uk

          Comment


            #50
            Hi Mick,

            It sounds like that could be what's causing it to expand, but its hard to know without a link to look at. You could try reducing the abbreviation length, or editing the summary HTML.

            I've only just this minute put up a new version which should make it easier for everyone to edit the HTML - look at my site to see how it works.

            Can't think why it would crash by adding that particular product, but I haven't tested adding products with components/attributes yet (although I can't see that being a problem for choices without a value attached to them). Do the other products with components work ok? It could also be I've overlooked having single-quotes in the item title - i'll have a look when I get a moment.
            www.gbradley.co.uk
            Web Development, Actinic Patches, Scripts & more

            Comment


              #51
              Thanks for your reply Graham,

              The width issue is due to the amount of text / prices not been fixed and if the item has a long name it pushes the box wider. If you go to your disk site and try to buy 100, 000 disks you will see what I mean, obviously none of us are going to receive a half million pound order but for those with much smaller sidebars this could be a problem with a £50.00 order and long product names.

              If I knew how to adjust javascript I would change the cart summary to show the items ordered, how many of each and just 1 total price at the bottom. This should solve the width issue unless someone places a massive order.

              The other problem is very weird because I have set all the standard actinic products to be the same and yet a pair of boots will empty the cart and crash it until all items and cookies cleared.

              I have put the cart back to how it was for now but will gladly do some tests for you as this is a very much needed upgrade to the smart (actually not so smart) template.

              Cheers
              Kind regards,

              Michael

              www.stageprint.co.uk

              Comment


                #52
                The maximum number of characters that can be displayed is by default set to 12, but you can alter this (as explained on my site).

                The newest version splits the HTML into 5 lines of code, and uses variables to substitute values, just like an Actinic template. Take a look at the getFullCart() javascript function, and if you have an understanding of HTML, you should be able to edit the table how you like it.

                Other than that, I don't see a way around it other than editing the smart template to accomodate more text.
                www.gbradley.co.uk
                Web Development, Actinic Patches, Scripts & more

                Comment


                  #53
                  Just tested items with components/attributes and also items including quotes in the title, with no problems.

                  Also, I'd like to add a couple of screenshots of various implimentations of the summary to the download page - shnufc & George, hope is this okay? They'll link to your site, of course
                  www.gbradley.co.uk
                  Web Development, Actinic Patches, Scripts & more

                  Comment


                    #54
                    Ive just altered the js file to remove the prices for each item in the hope it would help the width issue but it appears that the width stretches when the total vat goes into double figures ? The js file is now back as graham intended, to avoid confusion.

                    If you go to my test site and buy 1 calculator it will be fine, then buy another and another and eventually when you get to 7 calculators the vat will be £10.43 and the width will automatically expand. Still have the problem with a pair of boots emptying and crashing the cart.

                    http://207.210.84.126/acatalog/

                    Any help would be great as this is one of the features I have always wanted along with turning off the viewcart bounce for each item added, still dont know how to do that one.
                    Kind regards,

                    Michael

                    www.stageprint.co.uk

                    Comment


                      #55
                      Just thought I would add that im more than happy to have the fullcartsummary just showing items, number of items, no vat value at all and just a total price. This may solve my width issue with the smart box.
                      Kind regards,

                      Michael

                      www.stageprint.co.uk

                      Comment


                        #56
                        VAT issue in the workaround

                        Hi Graham,

                        I've just installed the workaround...great work! Thanks.

                        Trouble is I'm having problems with the VAT showing an extra penny in the cart display on http://www.homestyleshop.co.uk

                        Any ideas on how to fix this?

                        Thanks again.
                        Chris.

                        Comment


                          #57
                          I think ive fixed it
                          Messed about with the js until I tried this:

                          var vatLine="<tr><td colspan='2'

                          Changed to this:

                          var vatLine="<tr><td colspan='0'

                          Works well up to multiple thousands of pounds but still the problem with the mysterious pair of boots, maybe this is a fault with that particular stock actinic product ?

                          If anyone feels like testing what I have done please do so as I would like to know if it messes up the width of box or stays put as it did for me 5 minutes ago.

                          If this continues to work I will be well chuffed and just need to get rid of the hugely annoying and timewasting auto bounce to 'shopping cart status' page and back again....yawn.

                          Cheers

                          Mick
                          Kind regards,

                          Michael

                          www.stageprint.co.uk

                          Comment


                            #58
                            Mick,

                            Glad you managed to get it working to your needs I've described how to remove the cart bounce here - I've altered it slightly from other posts to fix a small issue that cropped up with Mozilla.

                            Chris,

                            I've gone to your site and added a few items to the cart, and the totals appear fine for me. Its possible the VAT could be out for some products and not others. I've used a simple VAT calculation which I doubt will mirror Actinic's way of doing things. If someone from Actinic could point me in the right direction to the VAT / rounding functions, I can possibly try to mirror what they've done to improve the accuracy.
                            www.gbradley.co.uk
                            Web Development, Actinic Patches, Scripts & more

                            Comment


                              #59
                              Is there any plans to add full VAT support to this script at some point? We currently run VAT levels of 17.5%, 5% and 0% dependant on product (obviously) so it wouldn't really work for us, unless we run it completely non VAT, which I find confusing. If it showed VAT inclusive prices per line, and had full VAT support, it would be my first, and favourite, script amendment.

                              Keep up the good work.

                              David
                              Cheers

                              David
                              Located in Edinburgh UK

                              http://twitter.com/mcfinster

                              Comment


                                #60
                                10 out of 10

                                Graham,

                                Im now using your cart summary and no bounce code and im chuffed to bits

                                Your right about the missing search error being a small price to pay for a fast efficient shop. Cannot thank you enough for these 2 essential and much needed upgrades.

                                Excellent work !

                                Regards

                                Mick
                                Kind regards,

                                Michael

                                www.stageprint.co.uk

                                Comment

                                Working...
                                X