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

Need to disable on on some products, or user-roles

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,

I am testing this plugin. i have a category on products on one page for denmark, and a category on an other page for the rest of the world. i need to disable the currencyswitcher for denmark. either by user role, page(including subpages) or by products.

Is this possible?

Thansk in advance

 

Hello

You can  try  to use  this  option - https://share.pluginus.net/image/i20230419102746.png

I have tried it, but it removes it on both denmark and rest of the world products.

 

Here is an example
http://skioldpartner.com/product/esf/
is a denmark product

http://skioldpartner.com/product/esf-test-mar-2023/
is a rest of the world product

i only need to disable it on denmark products, but it removes it on both

OK! If the user will only see prices in one currency on this page and will not be able to switch to another currency - would you like this solution?

 

Yes, in denmark products only.

Rest of the world still need to be able to change the currency.

Please  try  to add this  cide  in  functions.php

add_filter('wp_head',function(){    
    if(class_exists('WOOCS') && is_product() && is_single('3596')){   
        global $WOOCS; 
        $WOOCS->set_currency('SEK'); 
    } 
});

 

I think this might be a little out of my league.

Thanks anyway

Hello

Ok! If this causes problems for you or you are not sure that you will do it correctly, you can give me FTP access - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134615.png - I will paste this code