Changeset 3400259
- Timestamp:
- 11/21/2025 08:18:11 AM (4 months ago)
- Location:
- shipany
- Files:
-
- 8 edited
- 1 copied
-
tags/1.1.90 (copied) (copied from shipany/trunk)
-
tags/1.1.90/includes/Utils/ShipanyHelper.php (modified) (1 diff)
-
tags/1.1.90/includes/abstract-shipany-wc-order.php (modified) (2 diffs)
-
tags/1.1.90/readme.txt (modified) (2 diffs)
-
tags/1.1.90/shipany-woocommerce.php (modified) (4 diffs)
-
trunk/includes/Utils/ShipanyHelper.php (modified) (1 diff)
-
trunk/includes/abstract-shipany-wc-order.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/shipany-woocommerce.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shipany/tags/1.1.90/includes/Utils/ShipanyHelper.php
r3380043 r3400259 855 855 if ($product) { 856 856 $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)) { 858 866 $qty = 1; 859 867 if(isset($item['quantity'])){ -
shipany/tags/1.1.90/includes/abstract-shipany-wc-order.php
r3380043 r3400259 442 442 'headers' => array( 443 443 'api-tk'=> $api_key_temp, 444 'order-from' => 'Woocommerce' 444 445 ) 445 446 )); … … 1409 1410 'headers' => array( 1410 1411 'api-tk'=> $api_tk, 1411 'sslverify' => false 1412 'sslverify' => false, 1413 'order-from' => 'Woocommerce' 1412 1414 ) 1413 1415 )); -
shipany/tags/1.1.90/readme.txt
r3380043 r3400259 4 4 Requires at least: 4.1 5 5 Tested up to: 6.8.3 6 Stable tag: 1.1. 896 Stable tag: 1.1.90 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later … … 71 71 == Changelog == 72 72 73 = 1.1.90 = 74 - Bug fix 75 73 76 = 1.1.89 = 74 77 - Bug fix -
shipany/tags/1.1.90/shipany-woocommerce.php
r3380043 r3400259 7 7 Plugin URI: http://wordpress.org/plugins/shipany 8 8 Description: 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. 899 Version: 1.1.90 10 10 Author: ShipAny 11 11 Author URI: https://www.shipany.io … … 647 647 class SHIPANY_WC { 648 648 public static $list; 649 private $version = "1.1. 89";649 private $version = "1.1.90"; 650 650 651 651 protected static $_instance = null; … … 826 826 $response = wp_remote_get($temp_api_endpoint . 'merchants/self/', array( 827 827 'headers' => array( 828 'api-tk' => $api_key_temp 828 'api-tk' => $api_key_temp, 829 'order-from' => 'Woocommerce' 829 830 ) 830 831 )); … … 1227 1228 $response = wp_remote_get($temp_api_endpoint . 'couriers/', array( 1228 1229 'headers' => array( 1229 'api-tk' => $api_tk 1230 'api-tk' => $api_tk, 1231 'order-from' => 'Woocommerce' 1230 1232 ), 1231 1233 'timeout' => 30, -
shipany/trunk/includes/Utils/ShipanyHelper.php
r3380043 r3400259 855 855 if ($product) { 856 856 $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)) { 858 866 $qty = 1; 859 867 if(isset($item['quantity'])){ -
shipany/trunk/includes/abstract-shipany-wc-order.php
r3380043 r3400259 442 442 'headers' => array( 443 443 'api-tk'=> $api_key_temp, 444 'order-from' => 'Woocommerce' 444 445 ) 445 446 )); … … 1409 1410 'headers' => array( 1410 1411 'api-tk'=> $api_tk, 1411 'sslverify' => false 1412 'sslverify' => false, 1413 'order-from' => 'Woocommerce' 1412 1414 ) 1413 1415 )); -
shipany/trunk/readme.txt
r3380043 r3400259 4 4 Requires at least: 4.1 5 5 Tested up to: 6.8.3 6 Stable tag: 1.1. 896 Stable tag: 1.1.90 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later … … 71 71 == Changelog == 72 72 73 = 1.1.90 = 74 - Bug fix 75 73 76 = 1.1.89 = 74 77 - Bug fix -
shipany/trunk/shipany-woocommerce.php
r3380043 r3400259 7 7 Plugin URI: http://wordpress.org/plugins/shipany 8 8 Description: 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. 899 Version: 1.1.90 10 10 Author: ShipAny 11 11 Author URI: https://www.shipany.io … … 647 647 class SHIPANY_WC { 648 648 public static $list; 649 private $version = "1.1. 89";649 private $version = "1.1.90"; 650 650 651 651 protected static $_instance = null; … … 826 826 $response = wp_remote_get($temp_api_endpoint . 'merchants/self/', array( 827 827 'headers' => array( 828 'api-tk' => $api_key_temp 828 'api-tk' => $api_key_temp, 829 'order-from' => 'Woocommerce' 829 830 ) 830 831 )); … … 1227 1228 $response = wp_remote_get($temp_api_endpoint . 'couriers/', array( 1228 1229 'headers' => array( 1229 'api-tk' => $api_tk 1230 'api-tk' => $api_tk, 1231 'order-from' => 'Woocommerce' 1230 1232 ), 1231 1233 'timeout' => 30,
Note: See TracChangeset
for help on using the changeset viewer.