Announcement

Collapse
No announcement yet.

See what people have put in their basket?

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

    See what people have put in their basket?

    Hi Guys - not sure if this has been covered before but I have looked and not found a thread.

    Is it possible to see what people have put in their baskets - even if they don't purchase the items?

    E.G If a person comes to my store, and put 5 rugby programmes in his/her basket, but then never completes a transaction - is it possible for me to have a look at what he had put in his basket?

    Not sure if its possible at all.

    I am using V7 Developer.

    Many Thanks in Advance,

    Kevin - from a very cold Egham, Surrey.
    KDM Digital Media - Actinic web design and hosting

    #2
    Hi,

    I'm by no means an actinic expert but does the cart files created by your customer on the server not reference the product reference from the catalog itself?

    Comment


      #3
      Maybe yes - I'll have a look at those in more detail.

      I just wondered if anybody had done this before and if there was a "quick" way of achieving it.

      Thanks for the hint.

      Cheers

      Kevin
      KDM Digital Media - Actinic web design and hosting

      Comment


        #4
        Hi Kevin

        That is a very interesting idea. I would be interested to know if you have any luck with this as it could be very useful!

        Paul
        KJ Beckett
        Men's Clothing & Accessories
        Cufflinks, Underwear, Ties, Grooming Products
        Bath, England
        Fast delivery to UK, USA and worldwide.
        Men's Fashion Blog

        Comment


          #5
          As Actinic removes the expired carts from the system, it would be nice if they logged the time,date & contents when they did this.

          I don't think they do though and it wouldn't be too easy to do outside of actinic as you'd need to make sure you weren't including carts that were deleted after the order was completed.

          Maybe something for the wishlist.

          Mike
          -----------------------------------------

          First Tackle - Fly Fishing and Game Angling

          -----------------------------------------

          Comment


            #6
            I have added this to the wishlist for you.

            Comment


              #7
              Brilliant - Thanks Chris
              KDM Digital Media - Actinic web design and hosting

              Comment


                #8
                If anyone knows perl and would like to implement this...

                I would take a look on Session::ClearOldFiles which does the cleanup of expired files. A quick way to achieve this is to change this function to move the expired files to a separate folder instead of removing them. E.g. try to chage the code
                Code:
                ACTINIC::ChangeAccess("rw", $sFilePath);
                ACTINIC::SecurePath($sFilePath)
                unlink ($sFilePath);
                to something like
                Code:
                   ACTINIC::ChangeAccess("rw", $sFilePath);
                ACTINIC::SecurePath($sFilePath)
                if ($sExtension eq "session")
                   {
                   rename $sFilePath, "$sPath/expiredcartfolder/$sFile";
                   }
                else
                   {
                   unlink ($sFilePath);
                   }
                where expiredcartfolder should be the folder name you wish to store the expired cart files. Note that this folder should be created by you inside the acatalog folder on the server and should have the appropriate access rights to allow the scripts to write in.

                The session files are XML files so you can read them by any text editor. But if any of you like the challenges then the above code can be improved to extract the cart data and create CSV files.

                Please note that the usual disclaimer applies. Therefore please do not forget to backup your files before doing any change and note that Actinic doesn't support any script customisation. I wrote this directly into the forum while waiting for the compiler to finish its work. Therefore it is not tested at all. So it is your own risk to try. I wonder how many people will try it after this long warning. :-)

                Anyway I hope this helps on some way.

                Cheers,
                Zoltan
                Actinic Software
                www.actinic.co.uk

                Comment


                  #9
                  Zoltan,

                  That looks nice and simple. The good thing about it is that the time and date will be captured by the system when the expired files are re-written.

                  It also shouldn't be too hard to write a simple script to analyse the number of expired files over time, etc. I might look at that when I get a bit of time.

                  Thanks.

                  Mike
                  -----------------------------------------

                  First Tackle - Fly Fishing and Game Angling

                  -----------------------------------------

                  Comment

                  Working...
                  X