本文介绍了在Magento的下拉列表中获取账单地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试获取Magento中帐单地址的下拉列表,我可以看到下面的运输代码块,但本质上是要帐单还是我做错了什么?
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
推荐答案
您可以通过此代码获取帐单地址作为下拉列表
You can get billing address as dropdown by this code
echo Mage_Checkout_Block_Onepage_Billing::getAddressesHtmlSelect('billing');
引用app\design\frontend\base\default\template\persistent\checkout\onepage\billing.php
这篇关于在Magento的下拉列表中获取账单地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!