Shopify themes, liquid, logos, and UX
I would like to add an error message on the cart section if variant quantity is less than the current variant quantity after updating the cart. You can try the product "Cardigan Set" and set the variants in to Sea Blue and 6M, currently this product had a quantity of only 1 and if I set it into 2 and click the update cart button the error should be appear since the current variant qty of this product is 1.
Hi @lichael06,
You need to turn off "Continue selling when out of stock" and turn on "Track quantity" in the inventory part of the product which you want to show an error message on the cart section if less than the current quantity.
Admin store > Product > Selected product you want > Find of part "inventory" > Set up options as below figure
Finally, the result will be like this
We hope this can help you.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024