/** * sets country in order so that modifiers can be recalculated, etc... * @param String - $countryCode * @return Boolean **/ public function setCountry($countryCode) { if (EcommerceCountry::code_allowed($countryCode)) { $this->currentOrder()->SetCountryFields($countryCode); $this->addMessage(_t("ShoppingCart.UPDATEDCOUNTRY", "Updated country."), 'good'); return true; } else { $this->addMessage(_t("ShoppingCart.NOTUPDATEDCOUNTRY", "Could not update country."), 'bad'); return false; } }