Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the logic behind using unassigned cart_id's ? #23

Open
elig0n opened this issue Jun 2, 2019 · 1 comment
Open

What is the logic behind using unassigned cart_id's ? #23

elig0n opened this issue Jun 2, 2019 · 1 comment

Comments

@elig0n
Copy link

elig0n commented Jun 2, 2019

A user can have multiple carts, why is that needed?
Don't a user only need one cart that will be assigned to his user ?

@edertaveiraturing
Copy link

So, have 2 important whys.

  1. You can handle the shopping carts with cookies or session for example and handle it on the frontend, and empty the unused shopping carts.
  2. You can save a shopping cart to get and buy later. (https://backendapi.turing.com/docs/#/shoppingcart/get_shoppingcart_saveForLater__item_id_)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants