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