Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Don't allow shopper to increase quantity past stock max #1887

Closed
haszari opened this issue Mar 6, 2020 · 0 comments
Closed

Don't allow shopper to increase quantity past stock max #1887

haszari opened this issue Mar 6, 2020 · 0 comments
Assignees
Labels
focus: rest api Work impacting REST api routes.

Comments

@haszari
Copy link
Member

haszari commented Mar 6, 2020

This seems to be possible with current cart - maybe the change quantity API needs to check stock? And setting a max limit for the quantity selector could prevent this.

See below - can update to 9 belts when there is only one in stock.

Screen Shot 2020-03-06 at 2.21.05 PM.png

See also related #1850 #1652 #1864 #1778

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
focus: rest api Work impacting REST api routes.
Projects
None yet
Development

No branches or pull requests

2 participants