Skip to content

Commit

Permalink
get customer reference from customer not root-data
Browse files Browse the repository at this point in the history
  • Loading branch information
iesus committed Dec 15, 2017
1 parent 9757f2e commit edd4574
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ protected function _addAddressToQuote($quote, $data)
$billingAddress = new Varien_Object($data->getData('BillingAddress'));
$shippingAddress = new Varien_Object($data->getData('ShippingAddress'));
$customer = new Varien_Object($data->getData('Customer'));
$reference = ($data->getData('CustomerReference'))
? ($data->getData('CustomerReference'))
$reference = ($customer->getData('CustomerReference'))
? ($customer->getData('CustomerReference'))
: false;
$billingFirstname = ($billingAddress->getData('FirstName'))
? $billingAddress->getData('FirstName')
Expand Down

0 comments on commit edd4574

Please sign in to comment.