laserpaal wrote:
Is there a possibility for implementing this feature?
Hello!
Everything is possible
laserpaal wrote:
When my account got automatically logged out after a while, I lost all the items that I had added to the shopping cart.
It would fit nicely beside the "Update you shopping cart" button.
The technical underlying problem is that the cart can be kept in (at least) 3 different ways:
- COOKIE level - but then when you use a different device, the cart is gone because the cookie is local to your machine
- SESSION level - it follows your login/account but will expire when PHP5 decides to make a round of clean-up and delete too old sessions --- I coded this one and it should stay alive for some time before disappearing
- DATABASE level - persistent but will require a major rewrite of the Cart code
I added one item unlikely to sell any time soon in my own cart.
Let's see how long it stays there while I reconnect from different devices.
Julien