WOOCS - WooCommerce Currency Switcher

Measurement Price Calculator (by WooCommerce)

Plugin link: https://woocommerce.com/products/measurement-price-calculator/

In file \plugins\woocommerce-measurement-price-calculator\classes\class-wc-price-calculator-cart.php add next code:

if (class_exists('WOOCS')) {
    global $WOOCS;
    if ($WOOCS->is_multiple_allowed) {
        $currencies = $WOOCS->get_currencies();
        $conversion_rate = $currencies[$WOOCS->current_currency]['rate'];
        $price = $price / $conversion_rate;
    }
}

//the same file, see screen #2
if (class_exists('WOOCS')) {
    global $WOOCS;
    $temp_price = $WOOCS->woocs_exchange_value(floatval($temp_price));
}