woocommerce admin edit order item hooks
-
Is it possible to edit order item totals and custom fees in the woocommerce admin edit order screen? The only hook that I can find is woocommerce_new_order_item, but when I add/remove a product in the admin I need to adjust the custom order items totals (e.g. like deposit and delivery fees which are order line item fees).
For example, if I increase the quantity of a product (or add a different product to the order) in the edit order admin, I need to also increase the deposit amount on the order. I would also need to do the opposite, if I decrease quantity or remove a product from the order I’ll need to decrease the deposit amount.
Is this doable?? What hooks should I be looking at? I’ve searched several forums and can’t seem to find an answer.
Any help at all would be greatly appreciated.
- The topic ‘woocommerce admin edit order item hooks’ is closed to new replies.