Changeset 2242927
- Timestamp:
- 02/12/2020 08:08:34 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-shipstation-integration/trunk/includes/api-requests/class-wc-shipstation-api-export.php
r2228108 r2242927 174 174 175 175 $shipping_country = $wc_gte_30 ? $order->get_shipping_country() : $order->shipping_country; 176 if ( empty( $shipping_country ) ) { 176 $shipping_address = $wc_gte_30 ? $order->get_shipping_address_1() : $order->shipping_address_1; 177 if ( empty( $shipping_country ) && empty( $shipping_address ) ) { 177 178 $name = ( $wc_gte_30 ? $order->get_billing_first_name() : $order->billing_first_name ) . ' ' . ( $wc_gte_30 ? $order->get_billing_last_name() : $order->billing_last_name ); 178 179 $this->xml_append( $shipto_xml, 'Name', $name );
Note: See TracChangeset
for help on using the changeset viewer.