從階級:抽象類
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