Support » Plugin: Price Based on Country for WooCommerce » Disable automatic currency change

  • Resolved cristian5



    Right now, the plugin automatically changes the currency based on the visitor’s country. I would like the plugin to not modify the currency, unless specifically told to by a code like this:

    add_action( 'wc_price_based_country_before_frontend_init', 'customer_country' );
     function customer_country(){
         if( ICL_LANGUAGE_CODE == 'romana' ) {

    Is there any hook I can use?

Viewing 1 replies (of 1 total)
  • Plugin Author Oscar Gare


    Displaying the price and currency based on the customer country is the goal of the plugin. So, there is no way to disable this feature.

    If you don’t want to use the geolocation to determine the visitors country, change the WooCommerce option “Default customer location” to “Shop base address”

Viewing 1 replies (of 1 total)
  • The topic ‘Disable automatic currency change’ is closed to new replies.