If we need to modify product quantity after successful order in Woo-Commerce then we can use below hook. When we don't need to decrease product quantity which same then main product but product price is 0.
Woocommerce
- WooCommerce gives us a very flexible option to add/modify products/orders/payments. we can manage it directly by the admin panel of WordPress or some tasks using the code.