Docs: Quantity box shows NaN when I use + or –.
Quantity box shows NaN when I use + or –.
Updated on September 8, 2022
This error shows if you don’t enable inventory stock. First, you have to enable inventory stock from woocommerce settings.
1. Go to WooCommerce → Settings
2. Click the Products tab, then the little Inventory link
3. Check Enable stock management.
After that, you have to set the stock of the products. You can set that from the products’ inventory.