Updating cart item quantity when stock is too low #944
Web10-Joris
started this conversation in
Feature Requests
Replies: 2 comments
-
Somehow I missed the notification for this, sorry!
Unfortunately, this isn't possible at the moment. I'll move this discussion into the "Feature Request" category so it's considered in the future. I'd welcome a PR to change this behaviour for v6. |
Beta Was this translation helpful? Give feedback.
0 replies
-
No problem! Thanks for the response. When I have time and figured out how to add this I will create a PR. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure if this functionality is already built-in, but in my current setup, when a user tries to update the quantity of a cart item using the
{{ sc:cart:updateItem }}
form to a value higher than the available stock, the page simply refreshes without making any changes to the cart. Is it possible to enhance this behavior by adding the maximum available amount of that product to the cart and sending a notification to the user, such as: "We only have X items left of Product"?Beta Was this translation helpful? Give feedback.
All reactions