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 pleaseIf 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.
Quote from leggero on February 24, 2020, 15:42hi 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:
Any ides how to fix this?
Best, Caspar
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:
Any ides how to fix this?
Best, Caspar
Quote from Pablo Borysenco on February 25, 2020, 12:13Hello 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();
}
}
});
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();
}
}
});
Quote from leggero on February 25, 2020, 14:36hi 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):
Any ideas why?
Best, Caspar
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):
Any ideas why?
Best, Caspar
Quote from Pablo Borysenco on February 25, 2020, 23:24Hello Caspar
Do you use any third-party plugins to create a product scheme?
Hello Caspar
Do you use any third-party plugins to create a product scheme?
Quote from leggero on March 1, 2020, 16:59I'm using Yoast SEO woocommerce, might this be the problem?
Best, Caspar
I'm using Yoast SEO woocommerce, might this be the problem?
Best, Caspar
Quote from Pablo Borysenco on March 2, 2020, 13:20Hello Caspar
It's possible.
You can read this - https://currency-switcher.com/woocs-labs/
Hello Caspar
It's possible.
You can read this - https://currency-switcher.com/woocs-labs/
Quote from leggero on March 2, 2020, 14:52Hi 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
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
Quote from Pablo Borysenco on March 3, 2020, 12:13Hello Caspar
I will pass this to the developers
Hello Caspar
I will pass this to the developers