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
In add-to-cart-container.liquid, we have a quantity select dropdown and a variant select dropdown.
For lack of time, the quantity select dropdown was implemented to show options 1 - 10, regardless of the selected product variant's available inventory. This was discussed in this PR.
The problem:
A user can try to add more items than available. They won't be able to successfully do this, but there is no feedback that this action failed.
Possible solutions:
Have eventListeners to listen when the "selected" variant changes, and update the quantity based on the selected product variant's inventory
Show a notification to let the user know they are not able to add the quantity selected.
The text was updated successfully, but these errors were encountered:
chrismekim
changed the title
Handle Product Page Variant Select Quantities
Improve handling Product Page Variant Select Quantities
May 7, 2021
In
add-to-cart-container.liquid
, we have a quantity select dropdown and a variant select dropdown.For lack of time, the quantity select dropdown was implemented to show options 1 - 10, regardless of the selected product variant's available inventory. This was discussed in this PR.
The problem:
Possible solutions:
The text was updated successfully, but these errors were encountered: