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.