• Resolved abood666

    (@abood666)


    Hi,

    I have found something missing in woocommerce that can make it more perfect.

    I am trying to make the cart quantity auto decreased to match stock availability. for example i have put 10 iteams in cart then some on else bought 5 but my cart stayed at 10 as default woocommerce cart behavior it will tell me sorry but there is something wrong with your cart after you try to checkout. Rather than just auto decrease the product quantity in cart to 5 so the customer will have more smooth ride to checkout, pay and gone. also keep in mind there is other products in carts in cart so why to lose all those purchases over one.

    please im not really good with php i got to a point to loop through products quantities but how to match them i have no idea. this also will solve anther problem of product out of stock will be removed from cart as its quantity will be zero. so its 2 birds with 1 stone.

    wish to hear from you.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘cart quantity and stock in harmony’ is closed to new replies.