Hi,
Thank you for reaching out to us.
Can I ask which specific currency switcher you’re using? It’d be great if you could share some screenshots to demonstrate.
If you’re using shortcode, please also share me the shortcode you use. Thanks.
Best regards.
Hi,
The shortcode that I am using is: [woo_multi_currency]
I want to be able to change the text that I have circled in red.
Thanks
You can use this filter wmc_shortcode_currency_display_text to edit the text in the shortcode.
OK great – where can Ifind the syntax for that please ?
Please add this snippet:
add_filter( 'wmc_shortcode_currency_display_text', array( $this, 'wmc_shortcode_currency_display_text' ), 10, 2 );
function wmc_shortcode_currency_display_text($name, $code) {
if ($code == 'GBP') return 'GBP Pounds Sterling';
return $name;
}
Hi,
I have added the code as a snippet but get the message: Could not create snippet. Request failed with status code 500
Just to confirm, I am using CURCY – WooCommerce Multi Currency Premium
Regards
Hi,
In that case, please open a support ticket on this Support Forum instead: https://villatheme.com/supports/forum/plugins/woo-multi-currency/
I’m sorry for the inconvenience, it’s just that we’re not allowed to provide premium support on this platform. It’s for free users only.
Thank you.