WooCommerce stock update code

Closed job
Appstar
Appstar
Employer
3 deals
Job category:
Desktop/web applications
Expected budget:

250.00 PLN

Published:
Finished

Job description

The task is to execute a code, which after adding to functions.php after the payment of the order by the customer, will be saving in the database on the position of the order the amount that is left in the warehouse. The solution must support products without variants as well as with variants.

Required functions: