Woocommerce custom calculation function

i need some help to add one function in my functions.php.

I think is simple but can’t figure how.

Funtion:

$price our $sale_price in native currency

and multiply to a value in $some_currency_exchange (output a integer)

basic

$price * $some_currency_exchange_rate

Thank you

Read more here:: Woocommerce custom calculation function

Leave a Reply

Your email address will not be published. Required fields are marked *