Changeset 3385737
- Timestamp:
- 10/28/2025 09:22:42 AM (5 months ago)
- Location:
- fivepost/trunk
- Files:
-
- 8 edited
-
admin/meta-box.php (modified) (1 diff)
-
assets/css/admin-styles.css (modified) (1 diff)
-
classes/fivepost-wp.class.php (modified) (1 diff)
-
classes/shipping.class.php (modified) (1 diff)
-
fivepost.php (modified) (1 diff)
-
languages/fivepost-wp-ru_RU.mo (modified) (previous)
-
languages/fivepost-wp-ru_RU.po (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fivepost/trunk/admin/meta-box.php
r3061801 r3385737 246 246 <label><?php _e('Select warehouse', 'fivepost-wp')?></label> 247 247 <select name="warehouse" class="five-post-warehouse"> 248 <? 248 <?php 249 249 foreach ($data['warehouses'] as $wh) { 250 ?><option value="<?php echo esc_attr($wh['id'])?>"<?php echo esc_attr( ($wh['default']==1)?' class="s"':'' )?>><?php echo esc_attr($wh['name'])?></option><? 250 ?><option value="<?php echo esc_attr($wh['id'])?>"<?php echo esc_attr( ($wh['default']==1)?' class="s"':'' )?>><?php echo esc_attr($wh['name'])?></option><?php 251 251 } 252 252 ?> 253 253 </select> 254 254 </div> 255 <? }?>255 <?php } ?> 256 256 <div class="form-row"> 257 257 <label><?php _e('Payment Method', 'fivepost-wp')?></label> -
fivepost/trunk/assets/css/admin-styles.css
r2719914 r3385737 428 428 width:0%; 429 429 } 430 #fivepost_importwh_fromfivepost { 431 margin-bottom: 50px; 432 } -
fivepost/trunk/classes/fivepost-wp.class.php
r3366672 r3385737 2382 2382 2383 2383 //send notification email to client 2384 $clientMail = $wc_order->get_billing_email(); 2385 if (!empty($clientMail)) wp_mail($clientMail, __('Your order has been assigned a tracking number', 'fivepost-wp'), Tools::rederFrontTemplate('mail/neworder.tpl',['orderId'=>$cnt->getOrderId()]), ['Content-type: text/html; charset=utf-8']); 2384 2385 if ($shipping_method->settings['en_send_track_msg'] === 'yes') { 2386 $clientMail = $wc_order->get_billing_email(); 2387 if (!empty($form['email'])) $clientMail = $form['email']; 2388 if (!empty($clientMail)) wp_mail( 2389 $clientMail, 2390 __('Your order has been assigned a tracking number', 'fivepost-wp'), 2391 Tools::rederFrontTemplate('mail/neworder.tpl',['orderId'=>$ord_num]), 2392 ['Content-type: text/html; charset=utf-8'] 2393 ); 2394 } 2386 2395 2387 2396 wp_send_json([ -
fivepost/trunk/classes/shipping.class.php
r3352162 r3385737 172 172 'default' => 'yes', 173 173 'description'=> __('The module will not allow you to place an order if the pickup point is not selected','fivepost-wp'), 174 'desc_tip'=>true 175 ], 176 'en_send_track_msg' => [ 177 'title' => __('Enable sending the tracking number of the shipment to the client', 'fivepost-wp'), 178 'type' => 'checkbox', 179 'default' => 'yes', 180 'description'=> __('If enabled, when submitting a request, the client will be sent a notification with the tracking number of the shipment, the client will be able to track their shipment','fivepost-wp'), 174 181 'desc_tip'=>true 175 182 ], -
fivepost/trunk/fivepost.php
r3366672 r3385737 4 4 Plugin URI: 5 5 Description: 5Post — федеральный логистический сервис, дочернее подразделение X5 Group. Мы осуществляем доставку заказов из интернет-магазинов и маркетплейсов наших партнеров в пункты выдачи заказов и постаматы в магазинах "Пятёрочка" или "Перекрёсток". 6 Version: 1.0. 86 Version: 1.0.9 7 7 Author URI: https://ipol.ru 8 8 Text Domain: fivepost-wp -
fivepost/trunk/languages/fivepost-wp-ru_RU.po
r3344658 r3385737 4 4 "Project-Id-Version: Plugins - RC WooCommerce Buy One Click\n" 5 5 "POT-Creation-Date: \n" 6 "PO-Revision-Date: 202 2-04-12 15:25+0300\n"6 "PO-Revision-Date: 2025-10-05 14:02+0300\n" 7 7 "Last-Translator: \n" 8 8 "Language-Team: \n" … … 12 12 "Content-Transfer-Encoding: 8bit\n" 13 13 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" 14 "X-Generator: Poedit 3. 0.1\n"14 "X-Generator: Poedit 3.4.2\n" 15 15 16 16 msgid "5Post Delivery" … … 121 121 msgid "The module will not allow you to place an order if the pickup point is not selected" 122 122 msgstr "Модуль не даст оформить заказ, если не выбрана точка выдачи" 123 124 msgid "Enable sending the tracking number of the shipment to the client" 125 msgstr "Включить отправку трек-номера отправления клиенту" 126 127 msgid "If enabled, when submitting a request, the client will be sent a notification with the tracking number of the shipment, the client will be able to track their shipment" 128 msgstr "Если включено, при отправке заявки клиенту будет отправлено уведомление с трек-номером отправления, клиент сможет отслеживать свое отправление" 123 129 124 130 msgid "Client ID" -
fivepost/trunk/readme.txt
r3366672 r3385737 5 5 Requires at least: 5.0.0 6 6 Tested up to: 5.9.3 7 Stable tag: 1.0. 87 Stable tag: 1.0.9 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.