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

BUG CartReservation - needs to account for quantity #17

Open
jsirish opened this issue Dec 4, 2019 · 0 comments
Open

BUG CartReservation - needs to account for quantity #17

jsirish opened this issue Dec 4, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@jsirish
Copy link
Member

jsirish commented Dec 4, 2019

Describe the bug
Currently in inventory.js, we're passing the following variables to the endpoint:

  • code
  • product.id
  • product.expires

We'll need to add the quantity of the product to the endpoint call, and account for it when setting the reservation.

Expected behavior
If I add 2 of a product to the cart, it adds 2 cart reservations

@jsirish jsirish added the bug Something isn't working label Dec 4, 2019
@jsirish jsirish added this to the 1.0.3 milestone Dec 4, 2019
@muskie9 muskie9 modified the milestones: 1.0.3, 1.0.4 Dec 11, 2019
@muskie9 muskie9 removed this from the 1.0.4 milestone Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants