Spree::Store
model is the center of the Spree ecosystem. Each Spree installation can have multiple Stores. Each Store operates on a different domain or subdomain, eg.us.example.com
eu.example.com
another-brand.com
current_store
methodcurrent_store
method which returns the currently in selected Spree::Store
object.Admin Panel -> Configurations -> Store
or via Rails console:default_currency
- this is the default currency that will be pre-selected when visiting the store the first time, eg. USD
supported_currencies
- if there is more than one supported currency, visitors will be able to choose which currency they would like to browse your store in, eg. USD
, CAD
, etc.default_locale
- this is the default locale/language which will be pre-selected when visiting the store the first time, eg. en
supported_locales
, if there is more than one supported locale, visitors will be able to choose which locale they would like to browse your store in, eg. en
, fr
, etc. Locales are available upon installing Spree I18ncheckout_zone_id
attribute which holds the ID of the selected Zone record.