Changeset 3149181
- Timestamp:
- 09/10/2024 11:27:35 AM (19 months ago)
- Location:
- eshoplogisticru/trunk
- Files:
-
- 3 edited
-
Classes/Table.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
wc-eshop-logistic.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eshoplogisticru/trunk/Classes/Table.php
r3111217 r3149181 96 96 } 97 97 98 $attrProduct = $getProductDetail->get_data(); 99 $records[$key]['weight'] = (isset($attrProduct['weight']))?round(floatval($attrProduct['weight']),2):0; 100 $records[$key]['width'] = (isset($attrProduct['width']))?round(floatval($attrProduct['width']),2):0; 101 $records[$key]['length'] = (isset($attrProduct['length']))?round(floatval($attrProduct['length']),2):0; 102 $records[$key]['height'] = (isset($attrProduct['height']))?round(floatval($attrProduct['height']),2):0; 98 $weight = $getProductDetail->get_weight(); 99 $width = $getProductDetail->get_width(); 100 $length = $getProductDetail->get_length(); 101 $height = $getProductDetail->get_height(); 102 $records[$key]['weight'] = (isset($weight))?round(floatval($weight),2):0; 103 $records[$key]['width'] = (isset($width))?round(floatval($width),2):0; 104 $records[$key]['length'] = (isset($length))?round(floatval($length),2):0; 105 $records[$key]['height'] = (isset($height))?round(floatval($height),2):0; 103 106 } 104 107 } -
eshoplogisticru/trunk/readme.txt
r3148743 r3149181 4 4 Requires at least: 5.3 5 5 Tested up to: 5.8 6 Stable tag: 2.1.2 26 Stable tag: 2.1.23 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
eshoplogisticru/trunk/wc-eshop-logistic.php
r3148743 r3149181 6 6 * 7 7 * @link https://wp.eshoplogistic.ru/ 8 * @since 2.1.2 28 * @since 2.1.23 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.2 215 * Version: 2.1.23 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.2 2' );43 define( 'WC_ESL_VERSION', '2.1.23' ); 44 44 45 45 define( 'WC_ESL_DOMAIN', 'wc-esl' );
Note: See TracChangeset
for help on using the changeset viewer.