Plugin Directory

Changeset 2242927


Ignore:
Timestamp:
02/12/2020 08:08:34 AM (6 years ago)
Author:
bor0
Message:

Add version 4.1.32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • woocommerce-shipstation-integration/trunk/includes/api-requests/class-wc-shipstation-api-export.php

    r2228108 r2242927  
    174174
    175175            $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 ) ) {
    177178                $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 );
    178179                $this->xml_append( $shipto_xml, 'Name', $name );
Note: See TracChangeset for help on using the changeset viewer.