Fix taking address information, and the right fields in the transaction item.
This commit is contained in:
parent
8504f65bf0
commit
33592f9dbb
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ sub update {
|
|||
|
||||
my $address = $item->getShippingAddress;
|
||||
$newProperties->{ shippingAddressId } = $address->getId;
|
||||
$newProperties->{ shippingAddressName } = $address->get('name');
|
||||
$newProperties->{ shippingAddressName } = join ' ', $address->get('firstName'), $address->get('lastName');
|
||||
$newProperties->{ shippingAddress1 } = $address->get('address1');
|
||||
$newProperties->{ shippingAddress2 } = $address->get('address2');
|
||||
$newProperties->{ shippingAddress3 } = $address->get('address3');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue