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

How to have 2 different default currencies for 2 pages

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 guys,

Thanks for your plugin, it's great. Is it possible to have 2 different default currencies for 2 pages.

Page 1 -> default selector on USD
Page 2-> default selector on EUR

Thank you for your help.

Hello

Not sure if this is possible

But you can make that these pages always have their own currency (the user cannot change this)

Add code  to  functions.php

add_filter('wp_head', function() {

if(class_exists('WPCS')){
global $WPCS;
if(is_page('paste_page_slug'))
{
$WPCS->storage->set_val('wpcs_current_currency', 'USD');

$WPCS->current_currency='USD';
}

}
});