WooCommerce set specific currency on site shop

I’ve just ran into your question, and of course it was almost a year, so, I’m not sure if you’ve solved the issue. I’ll put an answer here in case you still didn’t (which I doubt), and for other people may be searching for an answer.
My suggestion is to go with JQuery on the Front End to replace the price and the currency symbol based on the visitor selected country or the admin’s set local currency.

In the admin set model, based on the StoreFront Theme:

  • First, you enqueue a JQuery script that will make the change, this goes in you main plugin page:

    add_action( ‘wp_enqueue_scripts’, ‘add_local_currency_changer’ );
    function add_local_currency_changer() {
    wp_enqueue_script(‘local_currency_changer’, // name your script so that you can attach other scripts and de-register, etc.
    ‘/wp-content/plugins/YOUR-PLUGIN-DIR/js/local_currency_changer.js’, // this is the location of your script file
    array(‘jquery’) // this array lists the scripts upon which your script depends
    );
    }

  • Second, you create the JQuery script which should be similar to:

    <script>
        jQuery(document).ready(function($) {
            $(".woocommerce-price-amount"). innerHTML('<span class="woocommerce-Price-  currencySymbol">--YOUR NEW LOCAL CURRENCY SYMBOL HERE--</span>');
            $(this).append("--YOUR NEW LOCAL PRICE HERE--");
        })
    </script>
    

Please note that I didn’t test the above code. Still, it is just a suggestion for the direction where you would be heading.

Also, please note that “–YOUR NEW LOCAL PRICE HERE–” can be a complex calculation or even may use Ajax to call a dynamic rate service such as Google…etc, and not just a static text.

Hope this helps.