问题
I am trying to get the dropdown list for billing addresses in Magento, I can see the following block of code for shipping, but essentially want the billing or am I doing something wrong?
$this->getAddressesHtmlSelect('shipping');
I have tried changing this to 'billing' with no joy
回答1:
You can get billing address as dropdown by this code
echo Mage_Checkout_Block_Onepage_Billing::getAddressesHtmlSelect('billing');
Refer app\design\frontend\base\default\template\persistent\checkout\onepage\billing.php
来源:https://stackoverflow.com/questions/23757287/get-billing-addresses-in-dropdown-in-magento