Announcement

Collapse
No announcement yet.

Full Cart Summary workaround

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

    #16
    Hi guys,

    From what you've said so far:

    - I'll add in a variable to hold the script number
    - Add a variable to hold the path to the cgi-bin
    - add a further step in the instructions to remove optionally remove shipping fees & discounts from the summary total

    I never use brochure pages so haven't come across the cookie not being readable from them. I'll play around this afternoon and see if I can figure it out.
    www.gbradley.co.uk
    Web Development, Actinic Patches, Scripts & more

    Comment


      #17
      Have a look at my site Graham see what you think. The errors the same of brochure on catalog pages so you may even be able to see if the brochure pages work also. Hopefully.
      Football Heaven

      For all kinds of football souvenirs and memorabilia.

      Comment


        #18
        Having a look at your site now George, navigating through the products OK but server times out when I try to add to cart. I have noticed one thing you'll need to change:

        Go to the actinicextras.js file and search for "ss000001.pl", change it to "ss000002.pl". This is because you are using a different script number from the default.
        www.gbradley.co.uk
        Web Development, Actinic Patches, Scripts & more

        Comment


          #19
          The cookie is being read correctly when I hit View Cart, so for some reason the JS script can't read the extra info appended to the end of the cookie. Can you confirm you saved the changes in step 3? In actinicOrder.pm you need to change

          Code:
          $sCookie =  "CART_TOTAL\t" . ACTINIC::EncodeText2($sTotal) . "\tCART_COUNT\t" . ACTINIC::EncodeText2($nCount) . "\n";
          to
          Code:
          $sCookie =  "CART_TOTAL\t" . ACTINIC::EncodeText2($sTotal) . "\tCART_COUNT\t" . ACTINIC::EncodeText2($nCount) . "\t" . $pCartObject->fullCartSummary() . "\n";
          www.gbradley.co.uk
          Web Development, Actinic Patches, Scripts & more

          Comment


            #20
            I have re-done the js mod as discussed, uploaded and looks like its all go now.

            Couple of alterations needed though. Our prices include vat, but I do not want to show a breakdown, or vat added on top. So, two badges at £2.00 each would show them, plus a total of £4.00 only. You better advise me on what to remove.

            Also any comments or recommendations on the number of letters showing per item?
            Football Heaven

            For all kinds of football souvenirs and memorabilia.

            Comment


              #21
              You can set the VAT level in cart.pm. Search for "$defaultTax=17.5" and replace it with "$defaultTax=0".

              As for abbreviating the item names, I set the default to a low value so the summary would not take up much screen space. If you have long or similar names, increase the length to make them more obvious to users. Just remember you do have a finite amount of information you can store in a cookie!
              www.gbradley.co.uk
              Web Development, Actinic Patches, Scripts & more

              Comment


                #22
                Can I remove the `VAT £0.00` line completely?
                Football Heaven

                For all kinds of football souvenirs and memorabilia.

                Comment


                  #23
                  Yup, just noticed setting to 0 wouldn't omit the line. In actinicExtras.js, change "if (match[0]){" to "if (match[0] > 1){". That should do the trick.

                  Sorry its turned out you've been my lab rat! Will impliment these changes and put the new .zip on the site.
                  www.gbradley.co.uk
                  Web Development, Actinic Patches, Scripts & more

                  Comment


                    #24
                    Nope, that, erm, removes the lot!



                    Any opinions on if its `better` or not much appreciated.


                    I think so, although we do have some orders for 50 lines at a time so I'll have to see how that looks. Maybe the worlds longest webpage!

                    Noted the cookie limitations too, any idea how this could hamper this add-on?
                    Football Heaven

                    For all kinds of football souvenirs and memorabilia.

                    Comment


                      #25
                      Making the last change worked for me. Make sure you changed the code exactly.

                      Most large e-commerce sites eg Amazon, Play impement a summary of this sort, and I certainly prefer being able to see exactly what I've ordered without having to click away. If you recieve many orders with 50 lines I would say you are in the minority, and perhaps your site is suited to the standard summary. With some more work it would be possible to display the detailed breakdown until the user reaches a certain number of lines, upon which the standard summary is displayed to save screen space.

                      As with most things, you can't please everyobdy - I guess its just a matter of opinion which way is better.
                      www.gbradley.co.uk
                      Web Development, Actinic Patches, Scripts & more

                      Comment


                        #26
                        I've sent you an email - save the forum's storage space
                        www.gbradley.co.uk
                        Web Development, Actinic Patches, Scripts & more

                        Comment


                          #27
                          Thats it up and running now. Have a look see what you think comrades
                          Football Heaven

                          For all kinds of football souvenirs and memorabilia.

                          Comment


                            #28
                            im having the same problem as George had, was there something in that mail that fixed it ?

                            http://www.pegasusbathrooms.co.uk/acatalog is the new site that im making and I am testing it out on here before putting it on our big one..

                            any suggestions to the site are welcome too!
                            www.bathroomexpress.co.uk

                            Comment


                              #29
                              Yes, I don't have access to the email at the moment but hopefully Graham will answer here. Failing that I'll email you the info later.
                              Football Heaven

                              For all kinds of football souvenirs and memorabilia.

                              Comment


                                #30
                                it@whirlpoolexpress.co.uk if ya could =)
                                www.bathroomexpress.co.uk

                                Comment

                                Working...
                                X