Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 9 replies, has 0 voices.

Last updated by Miguel Vieira 13 hours, 28 minutes ago.

Assisted by: Shekhar Bhandari.

Author Posts
August 5, 2025 at 2:26 pm #17296938

Miguel Vieira

Background of the issue:
I'm trying to create a custom currency switcher for my site under development using the WPML plugin. I've followed the documentation to create a custom currency switcher by creating a folder within my theme directory and adding the necessary files as outlined. I'm using the Twenty Twenty-Five theme. I added the currency_switcher shortcode with the switcher_style attribute and also tried using the wcml_currency_switcher action with a custom shortcode.

Symptoms:
The custom currency switcher is not appearing at all on my site.

Questions:
Why is the custom currency switcher not appearing on my site?

August 7, 2025 at 6:57 am #17301440

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hi there,

Thanks for reaching out to WPML support! I’m here to help you out with this issue.

Can you please go to WooCommerce->WooCommerce Multilingual->Multicurrency settings and send me a screenshot?

Also, try using the default currency switcher widgets and see if that works for you.

Looking forward to hearing from you!

Thanks

August 7, 2025 at 11:10 am #17302334

Miguel Vieira

Hello!

The default shortcode works, but since I want to customize it, I created my own, but I must be doing something wrong.

Screenshot 2025-08-07 120249.png
August 8, 2025 at 4:36 am #17304302

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello

To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

August 11, 2025 at 5:42 am #17308082

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Instead of uploads folder, can you move the files to the theme folder once and see if it helps?

Look forward to your reply.

Thanks

August 11, 2025 at 11:40 am #17309495

Miguel Vieira

Hello!

I’ve moved the files and updated the switcher_style prop, but it didn't work. I had already tried this approach as well before requesting assistance.

August 12, 2025 at 4:34 am #17311754

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I have escalated the issue to our 2nd tier for further feedback.

Thanks

August 12, 2025 at 8:44 am #17312420

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Our 2nd tier checked and suggested the following workaround https://wpml.org/errata/new-custom-currency-switchers-not-recognised-with-wcml-5-5-x/

Can you please check and see if it helps.

Thanks

August 12, 2025 at 1:57 pm #17313830

Miguel Vieira

Hello again,

I tested it and it didn't work. I added the file, as shown in the attached screenshot, and disabled and enabled the plugin, but it still doesn't appear.

Screenshot 2025-08-12 145536.png
August 13, 2025 at 4:57 am #17315385

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

I changed the code in theme functions.php to the following and it's working for me

'switcher_style' => 'twenty-twenty-five-flowt-currency-switcher'

let me know if this helps.

Thanks

August 14, 2025 at 12:04 pm #17320881

Miguel Vieira

Thank you! It's finally working.