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

Shortcode to get GEO IP currency outcome

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.

I have a page that is using the [wpcs_price type=”fixed” value= shortcode to show pricing in 5 different options. E.g. people in Fiji see Australian pricing

What is the shortcode to capture the data of what currecny was shown? As i need to send this data to another application

 

assuming something like [wpcs-currency shown] ??

Hello

You can try this function - https://wp-currency.com/function/wpcs-current_currency

ok so after trialling, the following kind of works.

[wpcs_current_currency]

However it  gives the following output: Current currency is: AUD

how do i make it just output AUD

As I wrote before, it is better to use a function. And you can create a custom shortcode

add_shortcode('your_custom_shortcode_name', function(){

if(class_exists('WPCS')) {
global $WPCS;
return $WPCS->current_currency;
}
return '';
});

ahh sorry that makes sense now

 

implemented and it works, thank you!!

Great! Welcome;)