Exemple #1
0
 /**
  * Retrieve customer country identifier
  *
  * @return int
  */
 public function getCountryId()
 {
     if ($countryId = $this->getFormData()->getCountryId()) {
         return $countryId;
     }
     return parent::getCountryId();
 }
Exemple #2
0
 public function getCountryId()
 {
     if ($countryId = $this->getAddress()->getCountryId()) {
         return $countryId;
     }
     return parent::getCountryId();
 }