Changeset 3160801
- Timestamp:
- 10/01/2024 01:22:48 PM (17 months ago)
- File:
-
- 1 edited
-
drivefx-woocommerce/trunk/PHCLibrary/invoices.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
drivefx-woocommerce/trunk/PHCLibrary/invoices.php
r3147200 r3160801 181 181 } 182 182 } 183 183 184 184 # Shipping 185 185 if (isset($ft->shipping_name)){ … … 187 187 $fi= new stdClass(); 188 188 189 if( $settings->shippingName != "0") {189 if(!empty($settings->shippingName) && $settings->shippingName != "0") { 190 190 $responseSt = $this->utils_services->filterItem_Query($ch, $credentials, 'St', 'ref', $settings->shippingName); 191 191 //$this->logs->writeFileLog('ResponseST', $responseSt); 192 192 193 if(empty($responseSt) ) {193 if(empty($responseSt) || empty($responseSt['result'])) { 194 194 //Reset shipping data like on WC 195 195 $this->logs->writeFileLog('Warning', "We couldn't find a reference for Shipping (FT), so we'll use WC data");
Note: See TracChangeset
for help on using the changeset viewer.