Changeset 3166450
- Timestamp:
- 10/10/2024 10:26:23 AM (18 months ago)
- Location:
- eshoplogisticru/trunk
- Files:
-
- 4 edited
-
Classes/Shipping/ExportFileds.php (modified) (5 diffs)
-
readme.txt (modified) (1 diff)
-
views/settings.php (modified) (3 diffs)
-
wc-eshop-logistic.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eshoplogisticru/trunk/Classes/Shipping/ExportFileds.php
r3161540 r3166450 18 18 'type' => '', 19 19 'packing_type' => '', 20 'issue' => '' 20 'issue' => '', 21 'combine_places' => array( 22 'apply' => '', 23 'dimensions' => '', 24 'weight' => '' 25 ) 21 26 ) 22 27 ); … … 28 33 'combine_places' => array( 29 34 'apply' => '', 30 'dimensions' => '' 35 'dimensions' => '', 36 'weight' => '' 31 37 ) 32 38 ), … … 124 130 $result = array(); 125 131 if ( $name === 'boxberry' ) { 132 $optionsRepository = new OptionsRepository(); 133 $exportFormSettings = $optionsRepository->getOption('wc_esl_shipping_export_form'); 126 134 $result = array( 127 135 'order' => array( … … 142 150 2 => 'выдача части вложения' 143 151 ) 144 ) 152 ), 153 'order[combine_places]' => array( 154 'apply||checkbox||Объединить все грузовые места в одно' => ($exportFormSettings['combine-places-apply'] == 'on')?'checked':'', 155 'dimensions||text||Габариты итогового грузового места (Д*Ш*В)' => ($exportFormSettings['combine-places-dimensions'])??'', 156 'weight||text||Вес итогового грузового места в кг' => ($exportFormSettings['combine-places-weight'])??'' 157 ), 145 158 ); 146 159 } … … 174 187 'order[combine_places]' => array( 175 188 'apply||checkbox||Объединить все грузовые места в одно' => ($exportFormSettings['combine-places-apply'] == 'on')?'checked':'', 176 'dimensions||text||Габариты итогового грузового места (Д*Ш*В)' => ($exportFormSettings['combine-places-dimensions'])??'' 189 'dimensions||text||Габариты итогового грузового места (Д*Ш*В)' => ($exportFormSettings['combine-places-dimensions'])??'', 190 'weight||text||Вес итогового грузового места в кг' => ($exportFormSettings['combine-places-weight'])??'' 177 191 ), 178 192 'delivery' => array( -
eshoplogisticru/trunk/readme.txt
r3164990 r3166450 4 4 Requires at least: 5.3 5 5 Tested up to: 5.8 6 Stable tag: 2.1.3 06 Stable tag: 2.1.31 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
eshoplogisticru/trunk/views/settings.php
r3164990 r3166450 993 993 <div class="input-group"> 994 994 <label for="" class="col-sm-4 col-form-label"> 995 <?php echo __( 'Объединить все грузовые места в одно (СДЭК)', WC_ESL_DOMAIN ) ?> 995 <?php echo __( 'Объединить все грузовые места в одно', WC_ESL_DOMAIN ) ?> 996 <label> 997 <div class="help-tip"> 998 <p> 999 СДЭК, Boxberry 1000 </p> 1001 </div> 1002 </label> 996 1003 </label> 997 1004 <?php … … 1012 1019 <div class="input-group"> 1013 1020 <label for="" class="col-sm-4 col-form-label"> 1014 <?php echo __( 'Габариты итогового грузового места. Формат: строка вида «Д*Ш*В», в сантиметрах (СДЭК)', WC_ESL_DOMAIN ) ?> 1021 <?php echo __( 'Габариты итогового грузового места. Формат: строка вида «Д*Ш*В», в сантиметрах', WC_ESL_DOMAIN ) ?> 1022 <label> 1023 <div class="help-tip"> 1024 <p> 1025 СДЭК, Boxberry 1026 </p> 1027 </div> 1028 </label> 1015 1029 </label> 1016 1030 <?php … … 1027 1041 class="col-sm-8" 1028 1042 value="<?php echo esc_attr( $combine_places_dimensions ) ?>" 1043 /> 1044 </div> 1045 <div class="input-group"> 1046 <label for="" class="col-sm-4 col-form-label"> 1047 <?php echo __( 'Вес итогового грузового места в кг', WC_ESL_DOMAIN ) ?> 1048 <label> 1049 <div class="help-tip"> 1050 <p> 1051 СДЭК, Boxberry 1052 </p> 1053 </div> 1054 </label> 1055 </label> 1056 <?php 1057 $combine_places_weight = ''; 1058 if ( isset( $export_form['combine-places-weight'] ) ) { 1059 $combine_places_weight = $export_form['combine-places-weight']; 1060 } 1061 ?> 1062 <input 1063 type="text" 1064 class="form-control" 1065 placeholder="<?php echo __( 'Вес итогового грузового места в кг', WC_ESL_DOMAIN ) ?>" 1066 name="combine-places-weight" 1067 class="col-sm-8" 1068 value="<?php echo esc_attr( $combine_places_weight ) ?>" 1029 1069 /> 1030 1070 </div> -
eshoplogisticru/trunk/wc-eshop-logistic.php
r3164990 r3166450 6 6 * 7 7 * @link https://wp.eshoplogistic.ru/ 8 * @since 2.1.3 08 * @since 2.1.31 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.3 015 * Version: 2.1.31 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.3 0' );43 define( 'WC_ESL_VERSION', '2.1.31' ); 44 44 45 45 define( 'WC_ESL_DOMAIN', 'wc-esl' );
Note: See TracChangeset
for help on using the changeset viewer.