Woocommerce – Cart is not cleared after purchase because of wc_update_product_stock() function
I have this a this action to fired when an order changes status to "processsing". This code causes a problem: the cart is no cleared after a purchase. I found that the line which is causing this issue is: wc_update_product_stock(…