Прямая доставка UPS WooCommerce - Ignitewoo
Ссылка на плагин: https://ignitewoo.com/woocommerce-extensions-plugins-themes/woocommerce-ups-drop-shipping/
- в файле \ wp-content \ plugins \
woocommerce-ups-shipping \ ups_ добавить следующий код:класс.php если (class_exists ('WOOCS')) {глобальный $ WOOCS; $ currency = $ WOOCS-> get_currency_by_country ($ this-> origincountry); $ currencies = $ WOOCS-> get_currencies (); $ курс = $ валюты [$ валюта] ['курс']; foreach ($ rate as $ key => $ item) {$ rates [$ key] = $ item / $ rate; }}