• Resolved bakhti

    (@bakhti)


    Hi, I have a basic currency (USD) which is set as “Not visible” and a currency (UZS) which is set as “Visible” in the plugin settings. But for some reason the website is keeping showing the basic one (USD). I have tried to make the right currency show, but it is random. After the same settings sometimes shows the right currency and I should not touch it so not to break it again. Please help me fix it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter bakhti

    (@bakhti)

    Fixed it by adding currency switcher, however I have only one currency to show to the user. Once it somehow changes back to usd, I’m adding switcher plugin, switching back to the currency which should be visible then removing the widget again and it changes the currency for the desired one for all users. Don’t understand if it should work like this?

    Plugin Support mediawebster

    (@mediawebster)

    Hello

    If you want to always have only one currency. please add in functions.php

    add_filter('wp_head',function(){    
        if(class_exists('WOOCS')){
            global $WOOCS;
            $WOOCS->set_currency('USD');
        }
    });
    Thread Starter bakhti

    (@bakhti)

    Thank you. I’ll try your code

    • This reply was modified 2 years, 10 months ago by bakhti.
    Plugin Support mediawebster

    (@mediawebster)

    Welcome;)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not showing set as “visible” currency’ is closed to new replies.