PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Different price for each currency

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi, mine is a one-product store and I want to set separate prices for each country - For example, US will be $20 but Japan will be 50 Yen.

I set the prices but the currencies are not auto detected when a user visits the page. (I am not allowing them to manually change the currency).

Hello

Please  watch  this  video - https://currency-switcher.com/video#video_1

You can  use  -  GeoIP -  But this only switches the currency on the first visit

My plugin settings look very different from the video. It doesn't seem to have those options. GeoIP is enabled but still it shows base currency.

I already did the changes but no luck. Please check these screenshots.

  1. Product prices admin - https://tinyurl.com/2cljnwns
  2. Product page - https://tinyurl.com/26cjge3o
  3. GeoIP rules of plugin - https://tinyurl.com/22jh4d7x

Do I need to add this in my  header.php?

$pd = WC_Geolocation::geolocate_ip();
if (isset($pd['country']) AND!empty($pd['country'])) {
if ('JP'==$pd['country']) {
$WOOCS->set_currency('JPY');
}
}

I believe it's working when I changed the"Currency storage" from"Transient" to"PHP Session". Will it bring any issues?

Hello

Please read  this - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me

pay attention - https://share.pluginus.net/image/i20220607084925.png

 I changed the"Currency storage" from"Transient" to"PHP Session". Will it bring any issues? - It started working and because you cleared your user's last currency data (it's like a first visit - read above).

Please read  this - https://gist.github.com/PavloBorysenko/3257245000e5c77c98fba754eccd0337

Everything is as per your links. Can you just answer my question please instead of sending links?

You should read articles on my links

an  example - I believe it's working when I changed the"Currency storage" from"Transient" to"PHP Session". Will it bring any issues? - there is no definite answer here because you have not figured out how it works and tomorrow you will write that GeoIP has stopped working.

Have you tried my last link?  This link has a complete answer on how to make sure that the user cannot switch the currency and GeoIP always works