Change price of product in WooCommerce cart and checkout
I'm creating a WooCommerce add-on to customize the product, based on selected options by the visitor and custom price is calculated and stored into session table also. I am able to get that value in cart page also. My problem: I would like to change the default price of the product and replace it with new calculated value in the WooCommerce process as cart, checkout, payment, mail notifications, order... Any advice please? Thanks Ce right hook to get it working is woocommerce_before_calculate_totals . But you will have to complete (replace) the code to get the new price in the hooked function