从阶级:抽象类
Mage_Checkout_Block_Onepage_Abstract
公共职能getCountryHtmlSelect($型)
$select = $this->getLayout()->createBlock('core/html_select')
->setName($type.'[country_id]')
->setId($type.':country_id')
->setTitle(Mage::helper('checkout')->__('Country'))
->setClass('validate-select')
->setValue($countryId)
->setOptions($this->getCountryOptions());
所以setOptions($this->getCountryOptions()
负责人认为drop down list of shipping countries.
在这里,你的地方是$类型等于航运然后拨打电话号码$this->getShippingCountryOptions()
通过编写您自己的代码来实现此功能,请参阅功能getCountryOptions()
代码。
注意:请勿触摸核心文件。这只是一条准则。
切换提示。你会得到块名称。修改该代码块。 – oscprofessionals 2014-09-04 15:53:21