ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Saving Product Cart Session
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Saving Product Cart Session

 Post Reply Post Reply
Author
Message
shawn View Drop Down
Newbie
Newbie


Joined: 31-August-2007
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote shawn Quote  Post ReplyReply Direct Link To This Post Topic: Saving Product Cart Session
    Posted: 30-September-2007 at 2:44am

Hi,

I have implemented the code to save product cart session in a database. This stores the cart information in the access database along with the cart information. Please note that there will be problem if you are using reward points. I have done the testing on Windows on ie, firefox and netscape.

Please note that most of our products are BTO products so I haven't tested it for normal products.

Please do not install this on the production site, install on dev server and test it out. Also do not just copy all the files over the current one, as these files are copied from our site and there are changes which has been made other than these. I have marked then with a comment CHANGES SAVE SESSION. Search for these changes.

I would high request if Early Impact can make it part of their next install, as this is a very usefull feature and can be found on almost all of the major shopping cart system.

There are 2 tables - one table store the customer information and the other one saves the cart array information. All the reading and writing is controled by one code page in savesession folder.

Please try it out at you risk, don't hold me responsible if this does not work. But I can help in install or set up.

Download it from my website at http://www2.printpapa.com/temp/savesession.zip

My production site is www.printpapa.com

Here is a testing account on the production site(please do not create account if you do not intent to place orders). IAlso please do not place any test order. THIS IS A LIVE PRODUCTION SITE FOR OUR PRINTING. f you have problems then please email me or post it in this forum.

username/password : testing@printpapa.com / password

Things to test is to add some things to the cart then when you check out use the above username and password and click on remember me and click continue. Then close your browser and come back again and you should see the cart contents being automatically populated. You should even be able to login in another computer and it should populate you cart once you login.

Please note that there might be cases since this account will be used by other people for testing the cart contents may differ or the beahviour might be different.

 

Enjoy
Shawn



Edited by shawn - 30-September-2007 at 3:29am
Back to Top
MikeCC View Drop Down
Newbie
Newbie


Joined: 26-August-2007
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote MikeCC Quote  Post ReplyReply Direct Link To This Post Posted: 29-January-2010 at 8:53am
I realise this is an old thread, but Shawn has taken the file off the server.
 
Does anyone have a copy please? Would like to add the facility to our v3.51 site.
 
Thanks
 
Mike
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 29-January-2010 at 8:59am
Hi Mike, we don;t have a copy of this but there are some other options:
1. Greybeard Design has an add-on for "Session Saver" here:
 
2. Upgrade to 4.0 and it is built into Product Cart.
 
Thanks,
Dan
NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 29-January-2010 at 9:00am
Hi Mike,
  Upgrade to V4 - It has a save cart facility built in :-)
As this post was from 2007 even if the code was available there is a fair chance it would not be compatible with V3.51

A similar feature, that handles preventing session timeouts is available as an add-on : http://wiki.earlyimpact.com/widgets/thirdparty/sessionsaver
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 29-January-2010 at 9:02am
Hi Dan,
    Great minds think alike :-)
Back to Top
shawn View Drop Down
Newbie
Newbie


Joined: 31-August-2007
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote shawn Quote  Post ReplyReply Direct Link To This Post Posted: 29-January-2010 at 1:25pm
Back to Top
MikeCC View Drop Down
Newbie
Newbie


Joined: 26-August-2007
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote MikeCC Quote  Post ReplyReply Direct Link To This Post Posted: 31-January-2010 at 1:29pm
Thanks for replies everyone.
 
Yes, I'm aware of the Greybeard session saver and that still might be an option. I know v4 is the real answer but we've been fiddling around for some time with 3.51 store and don't want a code update just yet.
 
Shawn - appreciate posting the code again.
 
Hamish - not too concerned about direct compatibility with 3.51 - just want some pointers on how it was done. Can adapt as required.
 
Thanks again.


Edited by MikeCC - 31-January-2010 at 1:41pm
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.