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

Dropdown text string

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

Hi there

I am wanting to know how to remove the , from in between the currency code and the currency symbol in the currency dropdown. For example, USD, $ would become USD $.

I am using a shortcode to add the dropdown to the top of my website (using 'style=1'). I can make the change directly in the plugin files, but I would obviously rather add a filter to my functions.php files. I have tried using the 'woocs_currname_in_option' filter, but I just can't seem to get it right!

If you need reference, my staging site is here: http://0xf.f0e.myftpupload.com

Thanks for you help!

Rebecca

Hello Rebecca

Check  please  this  option - https://c2n.me/47HvjAu.png

And  use  a filter. Example:

add_filter('woocs_currname_in_option', function($name){

if($name=='USD'){

$name.=' $';

}

return $name;

});

Hi there

Thank you for your swift reply.

I am almost there! But, I need to remove the trailing ,$

With the above code I get the concatenation of name and symbol, but not the removal of the ,$. The result is: USD $,$ (see here: http://0xf.f0e.myftpupload.com/shop). However I need it to read: USD $ (and AUD $ and NZD $).

I have tried a str_replace() without much luck. Do have a further suggestion (sorry if I am missing something really obvious!).

Thank you!

 

 

Hello

Did  you check  it - https://c2n.me/47HvjAu.png ?

if  no  luck -  drop  me  wp-admin access

Hi there

Thanks for getting back to me.

Yes, I have checked the show money signs option in the Options tab and still no joy ;-/

I am probably missing something obvious, but if you could take a look, that would be great.

Login details are:

PRIVATE DATA!

Thanks!

Hello

I  mean - The setting should be the same - https://c2n.me/47HvjAu.png   Result - https://c2n.me/47JBGsM.png

Oh sorry - I misunderstood that part. Ok, I will try that. Thank you.

Hello

Welcome;)