i need some help to add one function in my functions.php.
I think is simple but can’t figure how.
$price our $sale_price in native currency
and multiply to a value in $some_currency_exchange (output a integer)
$price * $some_currency_exchange_rate
Read more here:: Woocommerce custom calculation function