From 33592f9dbbe9b7bdfb55c294e542f1f646fcfe53 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 27 Jul 2010 23:02:28 -0700 Subject: [PATCH] Fix taking address information, and the right fields in the transaction item. --- lib/WebGUI/Shop/TransactionItem.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Shop/TransactionItem.pm b/lib/WebGUI/Shop/TransactionItem.pm index 97aa66abc..ec6150cc4 100644 --- a/lib/WebGUI/Shop/TransactionItem.pm +++ b/lib/WebGUI/Shop/TransactionItem.pm @@ -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');