![]() |
Saving Product Cart Session |
Post Reply ![]() |
Author | |
shawn ![]() Newbie ![]() Joined: 31-August-2007 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() 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 Edited by shawn - 30-September-2007 at 3:29am |
|
![]() |
|
MikeCC ![]() Newbie ![]() Joined: 26-August-2007 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
netprofits ![]() Certified ProductCart Developers ![]() Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Hi Dan,
Great minds think alike :-) |
|
![]() |
|
shawn ![]() Newbie ![]() Joined: 31-August-2007 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
![]() |
|
MikeCC ![]() Newbie ![]() Joined: 26-August-2007 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |