Plugin Directory

Changeset 3400259


Ignore:
Timestamp:
11/21/2025 08:18:11 AM (4 months ago)
Author:
shipany
Message:

release v1.1.90

Location:
shipany
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • shipany/tags/1.1.90/includes/Utils/ShipanyHelper.php

    r3380043 r3400259  
    855855                if ($product) {
    856856                    $product_weight = $product->get_weight();
    857                     if ($product_weight) {
     857                    // if (is_string($product_weight) && strpos($product_weight, 'field_') === 0) {
     858                    //     $field_object = get_field_object($product_weight);
     859                    //     if ($field_object['value']) {
     860                    //         $product_weight = $field_object['value'];
     861                    //     } else {
     862                    //         $product_weight = get_field($field_object['key'], $field_object['parent']);
     863                    //     }
     864                    // }
     865                    if ($product_weight && is_numeric($product_weight)) {
    858866                        $qty = 1;
    859867                        if(isset($item['quantity'])){
  • shipany/tags/1.1.90/includes/abstract-shipany-wc-order.php

    r3380043 r3400259  
    442442                'headers' => array(
    443443                    'api-tk'=> $api_key_temp,
     444                    'order-from' => 'Woocommerce'
    444445                )
    445446            ));
     
    14091410                    'headers' => array(
    14101411                        'api-tk'=> $api_tk,
    1411                         'sslverify' => false
     1412                        'sslverify' => false,
     1413                        'order-from' => 'Woocommerce'
    14121414                    )
    14131415                ));
  • shipany/tags/1.1.90/readme.txt

    r3380043 r3400259  
    44Requires at least: 4.1
    55Tested up to: 6.8.3
    6 Stable tag: 1.1.89
     6Stable tag: 1.1.90
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    7171== Changelog ==
    7272
     73= 1.1.90 =
     74- Bug fix
     75
    7376= 1.1.89 =
    7477- Bug fix
  • shipany/tags/1.1.90/shipany-woocommerce.php

    r3380043 r3400259  
    77Plugin URI: http://wordpress.org/plugins/shipany
    88Description: ShipAny one-stop logistics platform interconnects WooCommerce to multiple logistics service providers (including SF Express, Kerry Express, SF Cold-Chain, Alfred Locker, Hongkong Post, SF Locker, Convenience Store, etc.) so merchants can enjoy full-set features of logistics automation which disrupt the manual logistics process and bring E-Commerce to new generation.
    9 Version: 1.1.89
     9Version: 1.1.90
    1010Author: ShipAny
    1111Author URI: https://www.shipany.io
     
    647647    class SHIPANY_WC {
    648648        public static $list;
    649         private $version = "1.1.89";
     649        private $version = "1.1.90";
    650650
    651651        protected static $_instance = null;
     
    826826            $response = wp_remote_get($temp_api_endpoint . 'merchants/self/', array(
    827827                'headers' => array(
    828                     'api-tk' => $api_key_temp
     828                    'api-tk' => $api_key_temp,
     829                    'order-from' => 'Woocommerce'
    829830                )
    830831            ));
     
    12271228            $response = wp_remote_get($temp_api_endpoint . 'couriers/', array(
    12281229                'headers' => array(
    1229                     'api-tk' => $api_tk
     1230                    'api-tk' => $api_tk,
     1231                    'order-from' => 'Woocommerce'
    12301232                ),
    12311233                'timeout' => 30,
  • shipany/trunk/includes/Utils/ShipanyHelper.php

    r3380043 r3400259  
    855855                if ($product) {
    856856                    $product_weight = $product->get_weight();
    857                     if ($product_weight) {
     857                    // if (is_string($product_weight) && strpos($product_weight, 'field_') === 0) {
     858                    //     $field_object = get_field_object($product_weight);
     859                    //     if ($field_object['value']) {
     860                    //         $product_weight = $field_object['value'];
     861                    //     } else {
     862                    //         $product_weight = get_field($field_object['key'], $field_object['parent']);
     863                    //     }
     864                    // }
     865                    if ($product_weight && is_numeric($product_weight)) {
    858866                        $qty = 1;
    859867                        if(isset($item['quantity'])){
  • shipany/trunk/includes/abstract-shipany-wc-order.php

    r3380043 r3400259  
    442442                'headers' => array(
    443443                    'api-tk'=> $api_key_temp,
     444                    'order-from' => 'Woocommerce'
    444445                )
    445446            ));
     
    14091410                    'headers' => array(
    14101411                        'api-tk'=> $api_tk,
    1411                         'sslverify' => false
     1412                        'sslverify' => false,
     1413                        'order-from' => 'Woocommerce'
    14121414                    )
    14131415                ));
  • shipany/trunk/readme.txt

    r3380043 r3400259  
    44Requires at least: 4.1
    55Tested up to: 6.8.3
    6 Stable tag: 1.1.89
     6Stable tag: 1.1.90
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    7171== Changelog ==
    7272
     73= 1.1.90 =
     74- Bug fix
     75
    7376= 1.1.89 =
    7477- Bug fix
  • shipany/trunk/shipany-woocommerce.php

    r3380043 r3400259  
    77Plugin URI: http://wordpress.org/plugins/shipany
    88Description: ShipAny one-stop logistics platform interconnects WooCommerce to multiple logistics service providers (including SF Express, Kerry Express, SF Cold-Chain, Alfred Locker, Hongkong Post, SF Locker, Convenience Store, etc.) so merchants can enjoy full-set features of logistics automation which disrupt the manual logistics process and bring E-Commerce to new generation.
    9 Version: 1.1.89
     9Version: 1.1.90
    1010Author: ShipAny
    1111Author URI: https://www.shipany.io
     
    647647    class SHIPANY_WC {
    648648        public static $list;
    649         private $version = "1.1.89";
     649        private $version = "1.1.90";
    650650
    651651        protected static $_instance = null;
     
    826826            $response = wp_remote_get($temp_api_endpoint . 'merchants/self/', array(
    827827                'headers' => array(
    828                     'api-tk' => $api_key_temp
     828                    'api-tk' => $api_key_temp,
     829                    'order-from' => 'Woocommerce'
    829830                )
    830831            ));
     
    12271228            $response = wp_remote_get($temp_api_endpoint . 'couriers/', array(
    12281229                'headers' => array(
    1229                     'api-tk' => $api_tk
     1230                    'api-tk' => $api_tk,
     1231                    'order-from' => 'Woocommerce'
    12301232                ),
    12311233                'timeout' => 30,
Note: See TracChangeset for help on using the changeset viewer.