ok, something works, it needs to update every order_product inside the for, the passed object must have an order_product_id and an order_product_quantity, plus the data to edit, order_product_price and order_product_tax in my case. Hoping this info can helps someone else. EDIT: ok I can directly use the object loaded by order_prodcut class, just modifying price and tax and updating it by the update function (the save function wanted a new object, so I was using a new obj).
Now I need to update the order info, like order_full_price, order_subtotal, order_tax_info, can I use the recalculatefullprice function to automate this action? If yes there is something that I need to know ? Once I recalculate all the total and subtotal, can I use class.order save function? Or there is an update like orderproduct?
You are fantastic and you have a lot of patience , but I have to say it , the documentation is really poor , would be useful more doc about at least the most basic functions .