Plugin Directory

Changeset 2982324


Ignore:
Timestamp:
10/22/2023 08:07:13 PM (2 years ago)
Author:
shadim
Message:

Tagging version 3.5.8

Location:
dhl-for-woocommerce
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • dhl-for-woocommerce/tags/3.5.8/includes/REST_API/Parcel_DE/Client.php

    r2977612 r2982324  
    295295        $address_fields = array(
    296296            'name1',
     297            'name2',
    297298            'addressStreet',
    298299            'addressHouse',
  • dhl-for-woocommerce/tags/3.5.8/includes/REST_API/Parcel_DE/Item_Info.php

    r2977612 r2982324  
    137137        $this->weightUom     = $weightUom;
    138138        $this->isCrossBorder = PR_DHL()->is_crossborder_shipment( $args['shipping_address'] );
     139
    139140        $this->args          = $args;
    140141
     
    145146        $this->set_address_2();
    146147        $this->parse_args();
     148       
    147149    }
    148150
     
    481483                    return $self->string_length_sanitization( $name, 50 );
    482484                },
     485            ),
     486            'company'      => array(
     487                'rename'   => 'name2',
    483488            ),
    484489            'address_1' => array(
     
    11021107        if ( ! empty( $this->args['shipping_address']['address_2'] ) ) {
    11031108
     1109            // If address_2 greated than 10 chars, try to pass with additional address (does not show for DE)
    11041110            if ( strlen( $this->args['shipping_address']['address_2'] ) > 10 ) {
    11051111                $this->args['shipping_address']['address_additional'] = $this->args['shipping_address']['address_2'];
  • dhl-for-woocommerce/tags/3.5.8/includes/abstract-pr-dhl-wc-order.php

    r2945338 r2982324  
    11491149                        $args = apply_filters( 'pr_shipping_dhl_label_args', $args, $order_id );
    11501150
    1151                         if ( API_Utils::is_new_merchant() || API_Utils::is_rest_api_enabled() ) {
    1152                             $orders_args[] = $args;
    1153                         } else {
     1151                       
    11541152                            // SOAP API request.
    11551153                            $label_tracking_info = $dhl_obj->get_dhl_label( $args );
     
    11701168                            );
    11711169
    1172                             if ( ! empty( $label_tracking_info['label_path'] ) ) {
    1173                                 $merge_files[] = $label_tracking_info['label_path'];
    1174                             }
     1170                            // if ( ! empty( $label_tracking_info['label_path'] ) ) {
     1171                            // $merge_files[] = $label_tracking_info['label_path'];
     1172                            // }
    11751173
    11761174                            do_action( 'pr_shipping_dhl_label_created', $order_id );
    1177                         }
     1175                       
     1176                    }
     1177
     1178                    if( ! empty( $label_tracking_info['label_path'] ) ) {
     1179                        array_push($merge_files, $label_tracking_info['label_path']);
    11781180                    }
    11791181
     
    11861188                }
    11871189            }
    1188 
     1190/*
    11891191            if ( API_Utils::is_new_merchant() || API_Utils::is_rest_api_enabled() ) {
    11901192                $labels_tracking_info = $dhl_obj->get_dhl_labels( $orders_args );
     
    12251227                }
    12261228            }
    1227 
     1229*/
    12281230            try {
    12291231
  • dhl-for-woocommerce/tags/3.5.8/pr-dhl-woocommerce.php

    r2977612 r2982324  
    88 * Text Domain: dhl-for-woocommerce
    99 * Domain Path: /lang
    10  * Version: 3.5.7
     10 * Version: 3.5.8
    1111 * Tested up to: 6.3
    1212 * WC requires at least: 3.0
     
    3939class PR_DHL_WC {
    4040
    41     private $version = "3.5.7";
     41    private $version = "3.5.8";
    4242
    4343    /**
  • dhl-for-woocommerce/tags/3.5.8/readme.txt

    r2977612 r2982324  
    66Requires PHP: 5.6
    77Tested up to: 6.3
    8 Stable tag: 3.5.7
     8Stable tag: 3.5.8
    99WC requires at least: 3.0
    1010WC tested up to: 8.2
     
    7676
    7777== Changelog ==
     78
     79= 3.5.8 =
     80* DHL Paket: Add Company Name is destination address label
     81* DHL Paket: Fix bulk merge issue when label previously exists
    7882
    7983= 3.5.7 =
  • dhl-for-woocommerce/trunk/readme.txt

    r2977612 r2982324  
    66Requires PHP: 5.6
    77Tested up to: 4.8.2
    8 Stable tag: 3.5.7
     8Stable tag: 3.5.8
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.