2017-03-14 61 views
0

我需要讓Magento的訂單送貨地址的第二行,目前我得到的信息,像這樣:Magento的:如何獲得訂單的送貨地址線2

 $this->formatText($order->getBillingAddress()->getData('prefix')), 
     $this->formatText($order->getBillingAddress()->getData('firstname')), 
     $this->formatText($order->getBillingAddress()->getData('middlename')), 
     $this->formatText($order->getBillingAddress()->getData('lastname')), 
     $this->formatText($order->getBillingAddress()->getData('suffix')), 
     $this->formatText($order->getBillingAddress()->getData('street')), 
     $this->formatText($order->getBillingAddress()->getData('city')), 
     $this->formatText($order->getBillingAddress()->getData('region')), 
     $this->formatText($order->getBillingAddress()->getData('country_id')), 

一切都很好,但是當顧客用品地址第2行,見下面的圖片:

enter image description here

我的代碼並沒有反映出線,任何人都知道如何得到第2行地址在Magento?

回答

相關問題