public function save($country, $state = '') { $this->country = $country; $this->state = $state; shopp_set_setting('base_locale', array($country, $state)); shopp_set_setting('tax_inclusive', in_array($country, ShoppLookup::country_inclusive_taxes()) ? 'on' : 'off'); $this->lookup($country); }