apiship / woocommerce-module Goto Github PK
View Code? Open in Web Editor NEWApiShip - модуль доставки для WooCommerce (WordPress)
Home Page: https://t.me/apiship_chat/2535
License: MIT License
ApiShip - модуль доставки для WooCommerce (WordPress)
Home Page: https://t.me/apiship_chat/2535
License: MIT License
Первый момент:
Измените обпащение к "Городу", не всегда он именно "input", у нас например "select", лучше просто по ID брать значение
if ( differentCity ) { city = $('#billing_city').val(); } else { city = $('#billing_city').val(); }
Второй момент:
Отложите обновление страницы оформления до момента как AJAX "saveClientSelectedPoint" закончит работу, например:
mapApi.ajax(request).done(function() { $('body').trigger('update_checkout'); });
Иначе название выбраного ПВЗ сбрасывается на предыдущее значение.
Третий момент:
Добавте возможность какьто групировать или скрывать методы доставки курьером, иначе вылазит огромный список со всеми возможными вариантами...
Можно сделать по примеру как у вас вывот ПВЗ реализован ("Отдельный способ доставки до ПВЗ для каждого тарифа", "Отдельный способ доставки до ПВЗ для каждой СД", "Все ПВЗ на одной карте")
⚠ Этот плагин несовместим с включенной функцией WooCommerce «Высокопроизводительное хранилище заказов», его не следует активировать. Управление функциями WooCommerce
Warning: foreach() argument must be of type array|object, false given in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-core.php on line 2145
Warning: Undefined array key "yataxi" in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-shipping-method.php on line 243
Warning: Attempt to read property "data" on null in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-shipping-method.php on line 243
Warning: Undefined array key "yataxi" in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-shipping-method.php on line 243
Warning: Attempt to read property "data" on null in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-shipping-method.php on line 243
Warning: foreach() argument must be of type array|object, false given in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-core.php on line 2145
Warning: Undefined array key "yataxi" in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-shipping-method.php on line 243
Warning: Attempt to read property "data" on null in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-shipping-method.php on line 243
Warning: Undefined array key "yataxi" in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-shipping-method.php on line 243
Warning: Attempt to read property "data" on null in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-shipping-method.php on line 243
Warning: foreach() argument must be of type array|object, false given in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-core.php on line 2145
Warning: Undefined array key "yataxi" in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-shipping-method.php on line 243
Warning: Attempt to read property "data" on null in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-shipping-method.php on line 243
Warning: Undefined array key "yataxi" in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-shipping-method.php on line 243
Warning: Attempt to read property "data" on null in ...\public\wp-content\plugins\wp-apiship\includes\class-wp-apiship-shipping-method.php on line 243
Установлено:
Сайт абсолютно чистый и пустой, установлен с нуля, лишь импортированы примеры товаров из WooCommerce.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.