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

WOOCS - WooCommerce Currency Switcher - US Dollars showing up on Google UK even though set for UK

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 had this issue with the free version so upgraded to the paid version.

When set for IP per country (my website is UK based) it was fine for the Uk and showed sterling and when I used a US IP address it showed up as US dollars.

However, when I google any of our items in the UK google uk is defaulting rather than sterling

I asked my programmer to look into it and he could find any issues with how I had set it up so advised contacting the developer.

Simon

Hello Simon

Read this  please - https://currency-switcher.com/google-product-feed-woocommerce/

What is your base currency?

Sterling - British Pounds

Simon

Hello

Try  to add this  code  in  functions.php

function isBot(&$botname = ''){
$bots = array(
'rambler','googlebot','aport','yahoo','msnbot','turtle','mail.ru','omsktele',
'yetibot','picsearch','sape.bot','sape_context','gigabot','snapbot','alexa.com',
'megadownload.net','askpeter.info','igde.ru','ask.com','qwartabot','yanga.co.uk',
'scoutjet','similarpages','oozbot','shrinktheweb.com','aboutusbot','followsite.com',
'dataparksearch','google-sitemaps','appEngine-google','feedfetcher-google',
'liveinternet.ru','xml-sitemaps.com','agama','metadatalabs.com','h1.hrn.ru',
'googlealert.com','seo-rus.com','yaDirectBot','yandeG','yandex',
'yandexSomething','Copyscape.com','AdsBot-Google','domaintools.com',
'Nigma.ru','bing.com','dotnetdotcom'
);
foreach($bots as $bot)
if(stripos($_SERVER['HTTP_USER_AGENT'], $bot) !== false){
$botname = $bot;
return true;
}
return false;
}
add_action('wp_head', function(){
if( isBot() ){
if (class_exists('WOOCS')) {
global $WOOCS;
$WOOCS->reset_currency();
}
}
});

Not being a programmer can you add this and send the plugin with it working correctly?

That would be really helpful.

Many thanks

Simon

Hello Simon

Can you replace the file in the plugin?

yes I can

simon

Hello

Try  to  change  file - wp-content\plugins\woocommerce-currency-switcher\index.php

Link  to  a new file  in  the  private data.