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

Get API current currency on WooCommerce REST API

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.

Hello team,

I am trying to get current selected currency using woocommerce REST API but it is showing default currency.

Can you please let me know asap how can I fix it.

Thanks

Hello

what code are you using?

Hello,

I am integrating with React code for this page.

https://underlyn.com/design-your-gallery/

Hello

Did  you read this - https://currency-switcher.com/using-rest-api-with-woocommerce-currency-switcher/

What code do you use to get the current currency?

Hello

We are not using anything, we are getting currency from WooCommerce's API.

Hello

Ok!  In this case, this article(  https://c2n.me/48WoxIB.png ) will help you.

okay

https://currency-switcher.com/using-rest-api-with-woocommerce-currency-switcher/

Where to add this code in theme can you please let me know?

 

Hello

Add please next code into the file functions.php of the current wordpress theme