Multi Store for Edge version of Spree
Ruby
Failed to load latest commit information.
app index method overridden for order and taxonomy Jun 18, 2012
config first commit Jun 12, 2012
db/migrate first commit Jun 12, 2012
lib updated to fix admin as well Jun 18, 2012
script first commit Jun 12, 2012
spec first commit Jun 12, 2012
.rspec first commit Jun 12, 2012
Gemfile first commit Jun 12, 2012
Gemfile.lock first commit Jun 12, 2012
README.md first commit Jun 12, 2012
Rakefile first commit Jun 12, 2012
Versionfile first commit Jun 12, 2012
spree_multi_domain.gemspec first commit Jun 12, 2012

README.md

Multi Domain Store

This extension allows a single Spree instance to have several customer facing stores, with a single shared backend administration system (i.e. multi-store, single-vendor).

Current features:

  1. Store model which has the following attributes:

    1.1 name - The display name for the store.

    1.2 domains - a line separated list of fully qualified domain names used to associate a customers session with a particular store (you can use localhost and/or IP addresses too).

    1.3 code - which is a abbreviated version of the store's name (used as the layout directory name, and also helpful for separating partials by store).

    1.4 default - one store should be marked a default as a fallback in case the URL being used to access the site cannot be matched against any of the configured stores.

  2. Stores and domains can be maintained via the configuration section of the Admin interface

  3. Each store can have it's own layout(s) - these layouts should be located in your site's theme extension in the app/views/layouts/store#code/ directory. So, if you have a store with a code of "alpha" you should store it's default layout in app/views/layouts/alpha/spree_application.html.erb

  4. Each product can be assigned to one or more stores.

  5. All orders are associated with the store / domain that they were placed on.

  6. Google analytics trackers can be associated with a store.

Features To-do

  1. Taxonomies - associate stores with taxonomies.