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

Welcome 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 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, How can i set the welcome currency in my function.php file NOT in the plugin Dashboard/Frontend?

Thanks

Hello

Try  to  code

global $WOOCS;

if (intval($WOOCS->storage->get_val('woocs_first_unique_visit_custom')) === 0) {
$WOOCS->is_first_unique_visit = true;
$WOOCS->set_currency('USD');//paste your  welcome currency
$WOOCS->storage->set_val('woocs_first_unique_visit_custom'', 1);
}