How to solve woocommerce product stock management - add to cart value problem? - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Wednesday, August 31, 2022

How to solve woocommerce product stock management - add to cart value problem?

In woocommerce after creating a product when i click to set stock manage for that product and define the maximum value to ex(100) here is the image where i set the value to 100 now when i save and preview that product the default add to cart buy product should be 0 or 1 and it is shown 100 and the add to cart + - to add product does not work so the customer will have to buy 100here is the img for reference now when i manually edit the numbers of the product ex(10) and click to add to cart than a msg saying value must be 100 now when i look at the html through console than this html is shown

<input type="number" id="quantity_630e359d05759" class="input-text qty text" step="1" placeholder="0" min="100" max="100" name="quantity" value="4" title="Qty" size="4" pattern="[0-9]*" inputmode="numeric" aria-labelledby="Bollywood Classics 1 (Copy) quantity">

By some error the minimum quantity is set to 100 in backend and which is causing this problem. please help me solve this issue



source https://stackoverflow.com/questions/73546742/how-to-solve-woocommerce-product-stock-management-add-to-cart-value-problem

No comments:

Post a Comment