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:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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)); } |
