Skip to content

Instantly share code, notes, and snippets.

@masak2009
Created March 11, 2010 12:21
Show Gist options
  • Save masak2009/329084 to your computer and use it in GitHub Desktop.
Save masak2009/329084 to your computer and use it in GitHub Desktop.
======= Priprava Spree pro CR =======
nastavit v app/models/app_configuration.rb toto:
preference :address_requires_state, :boolean, :default => false # should state/state_name be required
preference :default_country_id, :integer, :default => 52 #Czech Republic
Ujistit se, ze se to nepretezuje nejakou extension!
Zkontrolovat v admin casti Spree, ze shipping methods (admin/shipping_methods) je nastaveno EU_VAT a ne North America!
Ted uz to generuje EU staty vcetne CR tak, jak ma.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment