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

Google shows wrong 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 there

My main currency is CHF, but I also have EUR for certain countries.

If you see the rich snippet, it is the CHF Prices, but the EUR Currency, but it should be CHF Prices and CHF Currency:

https://search.google.com/structured-data/testing-tool/u/0/?hl=de#url=https%3A%2F%2Fappenzeller-gurt.com%2Fshop%2Fappenzeller-guertel%2F

Any ides how to fix this?

Best, Caspar

Hello Caspar

Try  to add  this  code  in  functions.php

//for bots
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();
}
}
});

hi Pablo

Thanks for the snippet. I added it in the functions.php, but it still remains EUR like this is the rich snippet (cache emptied):

https://search.google.com/structured-data/testing-tool/u/0/?hl=de#url=https%3A%2F%2Fappenzeller-gurt.com%2Fshop%2Fappenzeller-guertel%2F

Any ideas why?

Best, Caspar

Hello  Caspar

Do you use any third-party plugins to create a product scheme?

I'm using Yoast SEO woocommerce, might this be the problem?

Best, Caspar

Hello  Caspar

It's possible.

You can read  this - https://currency-switcher.com/woocs-labs/

 

Hi there

It's actually not the Woocommece SEO, it's the currency switcher. I deactivated Woocommerce SEO and EUR  remains. I deactivated currency switcher and CHF  show up.

Any thoughts? Which language is showed as standard with your plugins? Is the country where Google accesses the page?

best, Caspar

 

Hello  Caspar

I will pass this to the developers