TAKAR DEEN
Forum Replies Created
-
See this https://ibb.co/yqP94FS
Still showing the wrong currency
@villasupport your link not working properly unable to see your screenshot. kindly share the link of your plugin.
@villasupport which plugin. i am not using any multi currency plugin
@villasupport I have created staging site 3,4 days ago with just theme 2023 and woocommerce plugin enabled but result is still same
i’m not using any multi currency and website showing right currency but when we search product in google it shows INR. I have also used the below snippet but result not changed
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(); } } });it’s about multi currency but i am using single currency in website. never setup multi currency. with single currency this plugin can fix the issue ?
@villasupport using seo plugins. Yoast SEO, Yoast SEO Premium and Yoast SEO: WooCommerce
@villasupport I have not merchant center attached. Website shows correct Currency PKR but google search results showing INR symbol
i have tried all the methods mentioned in the WordPress forums. Also added the currency refreshing snippet almost month before but same issue
- This reply was modified 3 years ago by TAKAR DEEN.