moltin / cart

Shopping cart composer package
Other
110 stars 62 forks source link

setIdentifier #11

Closed mybigman closed 10 years ago

mybigman commented 11 years ago

Hi Guys,

When setting the Cart::identifier('test123'); I was under the impression that I would rename the identifier that was generated or move the cart contents over into it?

Seems it just creates a empty array under a cart session variable...

What am I missing here?

Thanks

chrisnharvey commented 11 years ago

Hi there, the setIdentifier() method simply changes which cart you have active, this is so you can have multiple carts if you wish.