FOX - Currency Switcher for WooCommerce

UPS Shipping and UPS Access Point™: Official Plugin By UPS — Plugin oficial de envíos UPS y puntos de acceso UPS

Enlace del plugin: https://wordpress.org/plugins/ups-eu-woocommerce/
  • en el archivo wp-content\plugins\ups-eu-woocommerce\src\models\ups-eu-woo-model-currency.php añade el código:
    return $amount;
  • en el archivo wp-content\plugins\ups-eu-woocommerce\src\models\ups-eu-woo-model-ups-shipping-api.php añade el siguiente código:
    if (class_exists('WOOCS') AND $result->custom->monetary_value) {
        global $WOOCS;
        $result->custom->monetary_value_fomart = wc_price($WOOCS->woocs_exchange_value($result->custom->monetary_value));
    }