WOOCS - WooCommerce Currency Switcher

Wholesale For WooCommerce by WPExperts

Plugin URL: https://woocommerce.com/products/wholesale-for-woocommerce/

  • in file wp-content\plugins\woocommerce-wholesale-pricing\inc\class-wwp-wholesale.php add next code:
    if (class_exists('WOOCS')) {
        global $WOOCS;
        $min_wholesale_price = $WOOCS->woocs_exchange_value(floatval($min_wholesale_price));
        $max_wholesale_price = $WOOCS->woocs_exchange_value(floatval($max_wholesale_price));
        $min_original_variation_price = $WOOCS->woocs_exchange_value(floatval($min_original_variation_price));
        $max_original_variation_price = $WOOCS->woocs_exchange_value(floatval($max_original_variation_price));
    }

  • to the same file add next code:
    if (class_exists('WOOCS')) {
        global $WOOCS;
        $r_price = $WOOCS->woocs_exchange_value(floatval($r_price));
        $original_price = $WOOCS->woocs_exchange_value(floatval($original_price));
        $wholesale_price = $WOOCS->woocs_exchange_value(floatval($wholesale_price));
    }