Support » Plugin: WooCommerce Currency Switcher by WooBeWoo » Change currency with language

  • Resolved jandrabek


    Hello, is it possible to trigger currency change with language change? I found code for some other currency switchers (but yours is the only one that work properly with my website 🙂

    add_filter(‘wp_head’, function() {
    $lang = get_locale();
    global $WOOCS;
    switch ($lang)
    case ‘en_US’:

    Not sure with what I should replace $WOOCS to make it work. Can you help? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nick McReynolds


    Hello jandrabek,

    Try it like this:

    if (class_exists('frameWcu')) {

    If it won’t help, contact our internal support team

    Thread Starter jandrabek


    Thank but I’m not familliar with php. Can you give me full code for at least one currency and laguage? en_US is EUR. I mean code I can put to functions.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change currency with language’ is closed to new replies.