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

Currency Code Next to Flags

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

We are displaying the flags on the site to allow for currency selection, not the dropdown.

Can you let me know how we can display the currency code next to them?

[woocs txt_type="code"]
Is not working.

Hello

Unfortunately, the plugin does not have such a feature. You need code customization

In  file - wp-content\plugins\woocommerce-currency-switcher\views\shortcodes\woocs.php - add  a code - https://share.pluginus.net/image/i20220408090714.png

<?php echo $currency['name'] ?>

Is there now way of doing this with a hook or filter? To avoid editing the core code?

Hello

Unfortunately there is no other solution.