Changeset 3227463
- Timestamp:
- 01/23/2025 12:58:52 PM (14 months ago)
- Location:
- eshoplogisticru/trunk
- Files:
-
- 3 edited
-
Modules/Unloading.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
wc-eshop-logistic.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eshoplogisticru/trunk/Modules/Unloading.php
r3205693 r3227463 166 166 if ( $pageType == 'shop_order' ) { 167 167 168 $order = wc_get_order( $postId ); 169 $orderShippings = $order->get_shipping_methods(); 170 $orderShipping = array(); 171 172 foreach ( $orderShippings as $key => $item ) { 173 $orderShipping = array( 174 'id' => $item->get_method_id(), 175 'name' => $item->get_method_title(), 176 ); 177 } 178 $checkDelivery = stripos( $orderShipping['id'], WC_ESL_PREFIX ); 179 if ( $checkDelivery === false ) { 180 return false; 181 } 182 183 $checkName = $this->getMethodByName( $orderShipping['name'] ); 184 if ( ! $checkName['name'] ) { 185 return false; 186 } 187 168 188 add_meta_box( 169 189 'woocommerce-order-esl-unloading', -
eshoplogisticru/trunk/readme.txt
r3210317 r3227463 4 4 Requires at least: 5.3 5 5 Tested up to: 6.6 6 Stable tag: 2.1.4 56 Stable tag: 2.1.46 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
eshoplogisticru/trunk/wc-eshop-logistic.php
r3210317 r3227463 6 6 * 7 7 * @link https://wp.eshoplogistic.ru/ 8 * @since 2.1.4 58 * @since 2.1.46 9 9 * @package WC_Eshop_Logistic 10 10 * … … 13 13 * Plugin URI: https://wp.eshoplogistic.ru/ 14 14 * Description: Несколько служб доставки в одной интеграции: CDEK, DPD, Boxberry, IML, Почта России, Деловые Линии, ПЭК, Dostavista, GTD, Байкал Сервис и др. 15 * Version: 2.1.4 515 * Version: 2.1.46 16 16 * Author: eShopLogistic 17 17 * Author URI: https://eshoplogistic.ru/p747575 … … 41 41 define( 'WC_ESL_PLUGIN_DIR', plugin_dir_path(__FILE__) ); 42 42 43 define( 'WC_ESL_VERSION', '2.1.4 5' );43 define( 'WC_ESL_VERSION', '2.1.46' ); 44 44 45 45 define( 'WC_ESL_DOMAIN', 'wc-esl' );
Note: See TracChangeset
for help on using the changeset viewer.