Answer the question
In order to leave comments, you need to log in
How to add extra currencies in Woocommerce?
All the best!
There is a code:
add_filter('woocommerce_currency', 'change_existing_currency_symbol', 10, 2);
function change_existing_currency_symbol( $currency ) {
global $post, $product;
if ( has_term( 'cars', 'product_cat' ) ) {
return 'EUR';
}else{
return $currency;
}
}
Answer the question
In order to leave comments, you need to log in
In the cart and order, woo will work with the main currency.
It's not entirely clear - do you just want to change the symbol or are you using a second currency for cars?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question