Thread Starter
fdeww
(@fdeww)
@fahadmahmood if the order quantity exceeds the total summation, it shouldn’t allow the user right?
if the user wants 10 items and we only have a total of 6 (2 from location A, 4 from location B) then the user shouldn’t be allowed to order 10, they can only order 6.
Thread Starter
fdeww
(@fdeww)
@fahadmahmood that was not my issue, this works fine. but when i have TOTAL stock = 3 but only 2 in location karachi and 1 in location isalamabad, and the customer chooses 3 it doesn’t work. the stock is not deducted and i have to manually deduct it in wp-admin