You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like how laracart can handle coupons etc, but can't help thinking the way to get / update and remove items is a little clunky, as you first have to find the item by the ID, for example, get the hash, then update or remove using the hash. Is there any reason why there couldn't be a simpler method using the ID to get / update / remove the item, even if it did the find for us behind the scenes?
laravelshoppingcart seems to use this method, which makes it a lot simpler to do tasks such as increasing quantity, or removing items from the session. It even has a way of updating a specific user's cart, which could be handy for admins to assist users by adding items remotely.
The text was updated successfully, but these errors were encountered:
I'm looking at which cart package to use, and have been comparing laracart to laravelshoppingcart - https://github.com/darryldecode/laravelshoppingcart
I like how laracart can handle coupons etc, but can't help thinking the way to get / update and remove items is a little clunky, as you first have to find the item by the ID, for example, get the hash, then update or remove using the hash. Is there any reason why there couldn't be a simpler method using the ID to get / update / remove the item, even if it did the find for us behind the scenes?
laravelshoppingcart seems to use this method, which makes it a lot simpler to do tasks such as increasing quantity, or removing items from the session. It even has a way of updating a specific user's cart, which could be handy for admins to assist users by adding items remotely.
The text was updated successfully, but these errors were encountered: