Question about Cart and Session

28 views
Skip to first unread message

liuggio

unread,
Dec 30, 2011, 5:13:51 AM12/30/11
to vespolina-dev
Hi i'm studing vespolina,
Are you going to save the Cart-Id into the user session?
Is already implemented?
How to lock the cartId to the user ?

Thanks a lot

PS
Is there a weekly meeting?
When?

Daniel Kucharski

unread,
Jan 2, 2012, 3:17:32 PM1/2/12
to vespolina-dev
Hey Illuggio,

It is the objective to couple the cart to the user (session). The
last commits to the CartBundle master allow you to find and store a
cart by a given owner.
An owner can be an user id or a session id (if the user is not logged
in).

https://github.com/IamPersistent/VespolinaCartBundle/blob/master/Document/CartManager.php#L72

Example usage:

https://github.com/inspiran/VespolinaStoreBundle/blob/master/Controller/CartController.php

The code is just a start but we do have the objective to provide cart
<-> user mappings.

liuggio

unread,
Jan 3, 2012, 9:05:52 AM1/3/12
to vespol...@googlegroups.com

WOW thanks a lot
this is the info i was looking for.
liuggio
--
 __________________liuggio_________________________________
 
  __/|_      We reject kings, presidents and voting.
/o )   \/    We believe in rough consensus
)__ v _/\          and running code  (I.E.T.F. credo)
______________________________________________________________
Reply all
Reply to author
Forward
0 new messages