darryl fernandez

Results 20 comments of darryl fernandez

@rebornishard hello, for non-users (guest), you can set cookies for this guest as their cart identifier and retrieve that cookie on server and bind it just like when you bind...

Hi, the reason for this is mainly for the build scripts as part of the CI process or automated deployment process. This is a matter of preference though, or depends...

Hello I recommend use the database based session.

Hello @berpcor, the cart does not have this functionality. But I believe you can do with your own implementation and just manually trigger the `Cart::clear();` if the duration is met....

Did you find a good way to solve your scenario? currently, the storage is hard-coded on the Cart's Service Provider which as you can see, we pull the laravel's session...

I might need to create another driver for cookies storage for this..

Hi you should not add product with same ID. If same product but totally different attribute and price, you should add it as new product with new unique ID. the...

Hi. you should not use the Product ID as the ID when you add an item on the cart. Generate a unique ID when you add item on the cart...

Hi. That is totally up to you. You can use any random string or better use a library to generate a Uuid for your row ID.

Hi. Please check my reply on this issue: https://github.com/darryldecode/laravelshoppingcart/issues/221