public function _construct() { parent::_construct(); $this->setTemplate('customer/widget/taxvat.phtml'); }
/** * Retrieve customer or customer address attribute instance * * @param string $attributeCode * @return Mage_Customer_Model_Attribute|false */ protected function _getAttribute($attributeCode) { if ($this->getForceUseCustomerAttributes() || $this->getObject() instanceof Mage_Customer_Model_Customer) { return parent::_getAttribute($attributeCode); } $attribute = Mage::getSingleton('eav/config')->getAttribute('customer_address', $attributeCode); if ($this->getForceUseCustomerRequiredAttributes() && $attribute && !$attribute->getIsRequired()) { $customerAttribute = parent::_getAttribute($attributeCode); if ($customerAttribute && $customerAttribute->getIsRequired()) { $attribute = $customerAttribute; } } return $attribute; }
/** * Initialize block */ public function _construct() { parent::_construct(); $this->setTemplate('onestepcheckout/customer/widget/tipopessoa.phtml'); }
public function _construct() { parent::_construct(); // default template location $this->setTemplate('customer/widget/dob.phtml'); }
/** * Retrieve customer attribute instance * * @param string $attributeCode * @return Mage_Customer_Model_Attribute */ protected function _getAttribute($attributeCode) { if (!$this->getObject() instanceof Mage_Customer_Model_Customer) { return Mage::getSingleton('eav/config')->getAttribute('customer_address', $attributeCode); } return parent::_getAttribute($attributeCode); }
public function _construct() { parent::_construct(); // default template location $this->setTemplate('cminds_multiuseraccounts/subAccount/widget/info.phtml'); }
/** * Initialize block */ public function _construct() { parent::_construct(); $this->setTemplate('widget/gender.phtml'); }
public function _construct() { parent::_construct(); $this->setTemplate('gomage/customer/widget/contrato.phtml'); }
/** * Initialize block */ public function _construct() { parent::_construct(); $this->setTemplate('adfab/avatar/widget/avatar.phtml'); }