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

MultiCurrency_ Welcome currency issue

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.

I Build an e-commerce website

Problem:
I set 2 currencies (USD, EGP)
i set (EGP) currency as a default and static, to let customers checkout and pay with (EGP) only.
From (Options) i Set (USD) as (Welcome currency).
and From (GeoIP) i selected all countries as (USD), and assigned it to new (Profile.)
I have a problem to fix (Welcome Currency) after every action or refresh.
it always converted to (EGP) instead of (USD)

Note:
i tested with two browsers (google chrome, firefox), and still the same problem.
i cleaned browser cache, still the same problem.

The Brief:

How i fix the (welcome currency) and keep after each refresh?

Hello

You can  add  custom  code - https://currency-switcher.com/force-currency-on-checkout-page

An example:

add_filter('wp_head',function(){

if(!class_exists('WOOCS')) {

return;

}

global $WOOCS;

if(is_checkout()){

$WOOCS->set_currency('EGP');

}else{

$WOOCS->set_currency('USD');

}

});

Thanks a lot, it works fine

It fixed the (Welcome currency = USD), even after refresh, and except (checkout page) from this condition.

But like that the (Currency Switcher) will not be useful anymore, Because it stopped working.

Any ideas to let it work again, without deleteing the last code?

Hello

Unfortunately No, this code fixes currencies.