Content of the page


Useful function when you want to convert any amount in non-basic currency into basic currency amount. For example you have 40GBP. Basic currency of your shop is EUR, to convert that 40GBP into XX EUR you are need do next:

40 – amount in GBP 0.8343 – rate of 1 GBP relatively to 1… read more


This function will help you to define checkout page. Use it to define that current page is checkout.

Better use in your site header.php OR in wp_head hook callback  


This function created to define what currency is “welcome” in WOOCS settings.

Welcome currency is currency which will be set for the first visit of any unique visitor to your site if its not redefined by GEO IP rules on the settings page of the plugin.  


This function reset current selected currency to default currency

You can use it by your own logic for any customization of behavior on checkout page with this function  


Works when GEO IP option is enabled in the plugin settings. This function returns currency which is set in the GEO IP rules of the plugin

Here you can get country codes: (use Alpha-2 code) Use next code if you want to get full name of the country by its code: