
Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 9, 2020, 13:05
Hello
There is a delay in showing the right currency. - If you use this option - https://c2n.me/49nrUZP.png plugin redraws prices after full page load
Did you do import here - https://c2n.me/49nsa8z.png ?
page=premiumproducts
Hello
There is a delay in showing the right currency. - If you use this option - https://c2n.me/49nrUZP.png plugin redraws prices after full page load
Did you do import here - https://c2n.me/49nsa8z.png ?
page=premiumproducts

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 12, 2020, 10:25
Hello
Ok! Try to add this code:
add_action("admin_head",function(){
if(isset($_GET['page']) AND $_GET['page']=='premiumproducts'){
if (class_exists('WOOCS')) {
global $WOOCS;
$WOOCS->reset_currency();
}
}
});
Hello
Ok! Try to add this code:
add_action("admin_head",function(){
if(isset($_GET['page']) AND $_GET['page']=='premiumproducts'){
if (class_exists('WOOCS')) {
global $WOOCS;
$WOOCS->reset_currency();
}
}
});

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 13, 2020, 11:14
Hello
Ok! please try to add this code in file - \wp-content\plugins\woocommerce-currency-switcher\index.php - https://c2n.me/49pVM3o.png
if(isset($_GET['page']) AND $_GET['page']=='premiumproducts'){
return false;
}
it completely disable my plugin on this page
Hello
Ok! please try to add this code in file - \wp-content\plugins\woocommerce-currency-switcher\index.php - https://c2n.me/49pVM3o.png
if(isset($_GET['page']) AND $_GET['page']=='premiumproducts'){
return false;
}
it completely disable my plugin on this page

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 14, 2020, 10:49
Hello
Wouldn't there be an option to disable the plugin for admins in admin backend? - This will cause errors. But my code is disabling switcher for third party plugin
Read this please - https://currency-switcher.com/facebook-for-woocommerce/
Hello
Wouldn't there be an option to disable the plugin for admins in admin backend? - This will cause errors. But my code is disabling switcher for third party plugin
Read this please - https://currency-switcher.com/facebook-for-woocommerce/