Plugin Directory

Changeset 3385737


Ignore:
Timestamp:
10/28/2025 09:22:42 AM (5 months ago)
Author:
ipol
Message:

update module 1.0.9

Location:
fivepost/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • fivepost/trunk/admin/meta-box.php

    r3061801 r3385737  
    246246                <label><?php _e('Select warehouse', 'fivepost-wp')?></label>
    247247                <select name="warehouse" class="five-post-warehouse">
    248                     <?
     248                    <?php
    249249                        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
    251251                        }
    252252                    ?>
    253253                </select>
    254254            </div>
    255             <?}?>
     255            <?php } ?>
    256256            <div class="form-row">
    257257                <label><?php _e('Payment Method', 'fivepost-wp')?></label>
  • fivepost/trunk/assets/css/admin-styles.css

    r2719914 r3385737  
    428428    width:0%;
    429429}
     430#fivepost_importwh_fromfivepost {
     431    margin-bottom: 50px;
     432}
  • fivepost/trunk/classes/fivepost-wp.class.php

    r3366672 r3385737  
    23822382
    23832383                                //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                                }
    23862395
    23872396                                wp_send_json([
  • fivepost/trunk/classes/shipping.class.php

    r3352162 r3385737  
    172172                'default' => 'yes',
    173173                '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'),
    174181                'desc_tip'=>true
    175182            ],
  • fivepost/trunk/fivepost.php

    r3366672 r3385737  
    44Plugin URI:
    55Description: 5Post — федеральный логистический сервис, дочернее подразделение X5 Group. Мы осуществляем доставку заказов из интернет-магазинов и маркетплейсов наших партнеров в пункты выдачи заказов и постаматы в магазинах "Пятёрочка" или "Перекрёсток".
    6 Version: 1.0.8
     6Version: 1.0.9
    77Author URI: https://ipol.ru
    88Text Domain: fivepost-wp
  • fivepost/trunk/languages/fivepost-wp-ru_RU.po

    r3344658 r3385737  
    44"Project-Id-Version: Plugins - RC WooCommerce Buy One Click\n"
    55"POT-Creation-Date: \n"
    6 "PO-Revision-Date: 2022-04-12 15:25+0300\n"
     6"PO-Revision-Date: 2025-10-05 14:02+0300\n"
    77"Last-Translator: \n"
    88"Language-Team: \n"
     
    1212"Content-Transfer-Encoding: 8bit\n"
    1313"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"
    1515
    1616msgid "5Post Delivery"
     
    121121msgid "The module will not allow you to place an order if the pickup point is not selected"
    122122msgstr "Модуль не даст оформить заказ, если не выбрана точка выдачи"
     123
     124msgid "Enable sending the tracking number of the shipment to the client"
     125msgstr "Включить отправку трек-номера отправления клиенту"
     126
     127msgid "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"
     128msgstr "Если включено, при отправке заявки клиенту будет отправлено уведомление с трек-номером отправления, клиент сможет отслеживать свое отправление"
    123129
    124130msgid "Client ID"
  • fivepost/trunk/readme.txt

    r3366672 r3385737  
    55Requires at least: 5.0.0
    66Tested up to: 5.9.3
    7 Stable tag: 1.0.8
     7Stable tag: 1.0.9
    88Requires PHP: 7.0
    99License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.