Hi Fernan,

The I did for a small/medium size enterprise it was:

   - Cart data is stored at DB level, so the information can be replicated
   among all devices and browsers sessions.
   - If an Anonymous user has cart data and then log in, then merge
   previous stored cart with the new cart (business rules apply here).

It wasn't difficult to implement using the already available catalyst
plugins and, if needed, JSON serialization.

Good luck!


2018-04-26 11:31 GMT-03:00 Fernan Aguero <fernan.agu...@gmail.com>:

> Hello,
>
> what is the current recommended way of developing a persistent
> shopping-cart-style functionality in a catalyst app?
>
> We would like to be able to support the following:
> i) store session data in the server for logged in users
> ii) keep session data across sessions, and across browsers (e.g. computer
> at home, resume session using computer at work)
> iii) allow users to start working anonymously, then merge session data
> (shopping cart) smartly upon logging in
>
> Thanks for any pointer. Cheers,
>
> --
> fernan
>
> _______________________________________________
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/
> catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to