public function _construct()
 {
     parent::_construct();
     $this->setTemplate('customer/widget/taxvat.phtml');
 }
Exemplo n.º 2
0
 /**
  * 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');
 }
Exemplo n.º 4
0
 public function _construct()
 {
     parent::_construct();
     // default template location
     $this->setTemplate('customer/widget/dob.phtml');
 }
Exemplo n.º 5
0
 /**
  * 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);
 }
Exemplo n.º 6
0
 public function _construct()
 {
     parent::_construct();
     // default template location
     $this->setTemplate('cminds_multiuseraccounts/subAccount/widget/info.phtml');
 }
Exemplo n.º 7
0
 /**
  * Initialize block
  */
 public function _construct()
 {
     parent::_construct();
     $this->setTemplate('widget/gender.phtml');
 }
Exemplo n.º 8
0
 public function _construct()
 {
     parent::_construct();
     $this->setTemplate('gomage/customer/widget/contrato.phtml');
 }
Exemplo n.º 9
0
 /**
  * Initialize block
  */
 public function _construct()
 {
     parent::_construct();
     $this->setTemplate('adfab/avatar/widget/avatar.phtml');
 }