Plugin Directory

Changeset 3305668


Ignore:
Timestamp:
06/03/2025 11:41:05 AM (10 months ago)
Author:
caelan
Message:

feat: 4.2.3

Location:
cdekdelivery
Files:
2 deleted
4 edited
22 copied

Legend:

Unmodified
Added
Removed
  • cdekdelivery/tags/4.2.3/README.md

    r3302591 r3305668  
    55Requires PHP: 7.4
    66Tested up to: 6.8
    7 Stable tag: 4.2.2
     7Stable tag: 4.2.3
    88License: GPLv3
    99
     
    7373* WP-201 Fixed error with shipment auto creation due to vat calculation
    7474* WP-203 Fixed vat calculation for waybills
     75* WP-211 Fixed error with shipment creation on new checkout due to missing office
    7576
    7677= 4.1 =
  • cdekdelivery/tags/4.2.3/cdek.php

    r3302591 r3305668  
    44 * Plugin URI: https://www.cdek.ru/ru/integration/modules/33
    55 * Description: CDEK delivery integration for WooCommerce
    6  * Version: 4.2.2
     6 * Version: 4.2.3
    77 * Requires at least: 6.0
    88 * Text Domain: cdekdelivery
  • cdekdelivery/tags/4.2.3/lang/cdekdelivery.pot

    r3302591 r3305668  
    1010"X-Generator: GlotPress/4.0.1\n"
    1111"Language: ru\n"
    12 "Project-Id-Version: CDEKDelivery 4.2.2"
     12"Project-Id-Version: CDEKDelivery 4.2.3"
    1313
    1414#: build/cdek-order-item.js:1
  • cdekdelivery/tags/4.2.3/src/Validator/CheckoutValidator.php

    r3301921 r3305668  
    1111
    1212    use Cdek\CdekApi;
     13    use Cdek\Config;
    1314    use Cdek\Exceptions\CacheException;
    1415    use Cdek\Exceptions\External\ApiException;
     
    3334
    3435            if ( in_array((int)$meta[MetaKeys::TARIFF_MODE], Tariff::listOfficeDeliveryModes(), true) ) {
    35                 if ( empty($meta[MetaKeys::OFFICE_CODE]) ) {
     36                if ( empty($meta[MetaKeys::OFFICE_CODE]) && empty($request['extensions'][Config::DELIVERY_NAME]['office_code']) ) {
    3637                    wc_add_notice(esc_html__('Order pickup point not selected.', 'cdekdelivery'), 'error');
    3738                }
  • cdekdelivery/trunk/README.md

    r3302591 r3305668  
    55Requires PHP: 7.4
    66Tested up to: 6.8
    7 Stable tag: 4.2.2
     7Stable tag: 4.2.3
    88License: GPLv3
    99
     
    7373* WP-201 Fixed error with shipment auto creation due to vat calculation
    7474* WP-203 Fixed vat calculation for waybills
     75* WP-211 Fixed error with shipment creation on new checkout due to missing office
    7576
    7677= 4.1 =
  • cdekdelivery/trunk/cdek.php

    r3302591 r3305668  
    44 * Plugin URI: https://www.cdek.ru/ru/integration/modules/33
    55 * Description: CDEK delivery integration for WooCommerce
    6  * Version: 4.2.2
     6 * Version: 4.2.3
    77 * Requires at least: 6.0
    88 * Text Domain: cdekdelivery
  • cdekdelivery/trunk/lang/cdekdelivery.pot

    r3302591 r3305668  
    1010"X-Generator: GlotPress/4.0.1\n"
    1111"Language: ru\n"
    12 "Project-Id-Version: CDEKDelivery 4.2.2"
     12"Project-Id-Version: CDEKDelivery 4.2.3"
    1313
    1414#: build/cdek-order-item.js:1
  • cdekdelivery/trunk/src/Validator/CheckoutValidator.php

    r3301921 r3305668  
    1111
    1212    use Cdek\CdekApi;
     13    use Cdek\Config;
    1314    use Cdek\Exceptions\CacheException;
    1415    use Cdek\Exceptions\External\ApiException;
     
    3334
    3435            if ( in_array((int)$meta[MetaKeys::TARIFF_MODE], Tariff::listOfficeDeliveryModes(), true) ) {
    35                 if ( empty($meta[MetaKeys::OFFICE_CODE]) ) {
     36                if ( empty($meta[MetaKeys::OFFICE_CODE]) && empty($request['extensions'][Config::DELIVERY_NAME]['office_code']) ) {
    3637                    wc_add_notice(esc_html__('Order pickup point not selected.', 'cdekdelivery'), 'error');
    3738                }
Note: See TracChangeset for help on using the changeset viewer.