PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Problem with currency!!! Urgent

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi, i`m using

this code for change currency automatic:
/**
 * Switch currency with language change
 */

add_filter('wp_head', function() {
    $lang = ICL_LANGUAGE_CODE;
    global $WOOCS;

    switch ($lang)
    {
        case 'en':
            $WOOCS->set_currency('EUR');
            break;

        default:
            $WOOCS->set_currency('BGN');
            break;
    }
});
/**
 * Switch currency with language change */
/**



When i change the language everyting is ok exept currency
https://prnt.sc/qv6xbc
When i refresh the page currency on Final total is ok, but when i change tha language again the currency doesnt change :((
Please help me

https://elshisha.com/en/product/el-shisha-prive-black/






Hello

Paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png

 

Done!

Hello

This seems to be incompatible with a third-party plugin.

Read  this  - https://currency-switcher.com/woocs-labs/  AND  - https://currency-switcher.com/woocommerce-extra-product-options-themecomplete/

OR

Try to change  the  hook  to  init  ( https://c2n.me/45O5YUA.png )

 

Hi again, when i`m trying this https://c2n.me/45O5YUA.png  all prices show only in EURO :(

 

And  this doesnt work:

//And add this code in functions.php of your current wp theme:
add_filter('woocs_fixed_raw_woocommerce_price', 'compatibility_woo_tm_extr', 10, 3);

function compatibility_woo_tm_extr($fix_price, $product, $price) {
global $WOOCS;
//var_dump($price);
if (is_cart() OR is_checkout()) {
$new_price = $WOOCS->woocs_exchange_value($price - $fix_price);
$fix_price += $new_price;

return $fix_price;
}
return $fix_price;
}

Hello

Please  drop  me  wp-admin+FTP access. I will check  it