Add address_1 to shipping packages info
This commit is contained in:
parent
4cbdcf2d1b
commit
84e5de5eef
|
@ -1317,6 +1317,7 @@ class WC_Cart extends WC_Legacy_Cart {
|
|||
'postcode' => $this->get_customer()->get_shipping_postcode(),
|
||||
'city' => $this->get_customer()->get_shipping_city(),
|
||||
'address' => $this->get_customer()->get_shipping_address(),
|
||||
'address_1' => $this->get_customer()->get_shipping_address(), // Provide both address and address_1 for backwards compatibility.
|
||||
'address_2' => $this->get_customer()->get_shipping_address_2(),
|
||||
),
|
||||
'cart_subtotal' => $this->get_displayed_subtotal(),
|
||||
|
|
Loading…
Reference in New Issue