Inventory + Continue selling when out of stock NOT WORKING

We have some items in our store, where we track quantity and allow for buying when out of stock.

However:

  • When in the cart, you cannot add more than 1 when an item is out of stock

  • If you change the number manually, it changes the number to the NEGATIVE number found in inventory

Example: 0.6mm nozzles:

  • Inventory: -9

  • Customer adds to cart

  • In the cart, customer tries to click “up” button to buy 4 nozzles

  • Quantity will only stay at 1

  • If the customer tries to highlight the number and change it to 4, then the number changes to -9.

  • Item varient is set to “Track Quantity” and “Continue Selling when Out Of Stock”

This system is not working properly, please help!

Thanks :slightly_smiling_face:

Fixed in the Theme Code:

in the Cart liquid files (particularly cart_design_1.liquid for my store), find the following lines:


I removed the code in red at “max=”:

max=“{{ inv_qua }}” title=“{% if inv_qua < 100000 %}{{inv_qua}} {{ ‘products.product.in_stock’ | t }}{% else %}{{ ‘products.product.many_in_stock’ | t }}{% endif %}”

and replaced the value for max with [max=“999999”] — it got everything working properly again :slightly_smiling_face: