Thread Starter
rw24
(@rw24)
woocommerce_before_calculate_totals did the trick for me.
Thanks for the support.
Thread Starter
rw24
(@rw24)
Can u please provide more details.
For example: where can I change the total price dynamically without using the plug-in? With what hook or what not. I have no clue where to begin at the moment.
Thread Starter
rw24
(@rw24)
Thank you for your reply.
Using this hook, I still need to do QUANTITY * PRICE
With this hook, I indeed can add my custom code. But my custom code returns the total cost and not only the price (it handles the quantity itself). So the calculation is wrong.
The reason why I need to get around this, is because my custom code needs to know the quantity of buyed items and then calculates the price (and the total) based on that.
Is there any way I can get around that?