K
K
Konstantin Fedoev2016-10-15 12:55:48
WordPress
Konstantin Fedoev, 2016-10-15 12:55:48

How to change woocommerce "sale" currency symbol?

Actually a subject.
Given:
1) Old wordpress and very old woocommerce
2) 1 product two prices (the main price is in dollars, and for some products the additional price (sale) should be in rubles.
In this regard, I would like to know how to change the $ y
And if anyone knows, it would be cool if you tell me how to display the "sale" price, supposedly in rubles, i.e. $
price = $price*62.99
UPD: I found this one add_filter(' woocommerce_get_price
', 'cmw_custom_price', 100, 2);
function cmw_custom_price($price, $info)
{
$price = $price* 62.99;
return $price;
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question