GithubHelp home page GithubHelp logo

yusupova / spree-multi-domain Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spree-contrib/spree-multi-domain

0.0 1.0 0.0 373 KB

Multiple Spree stores on different domains - single unified backed for processing orders

Home Page: http://spreecommerce.com

Ruby 77.32% JavaScript 1.84% HTML 20.83%

spree-multi-domain's Introduction

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 its own layout(s) - these layouts should be located in your site's theme extension in the app/views/spree/layouts/store#code/ directory. So, if you have a store with a code of "alpha" you should store its default layout in app/views/spree/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.

Install Instructions

Add to your Gemfile:

gem 'spree_multi_domain', git: 'git://github.com/spree/spree-multi-domain.git'

Then run bundle, and then run:

bundle exec rails g spree_multi_domain:install

You should see 'Stores & Domains' in Configuration tab of Spree Admin.

Features To-do

  1. Taxonomies - associate stores with taxonomies.

spree-multi-domain's People

Contributors

radar avatar romul avatar jumph4x avatar schmijos avatar jdutil avatar peterberkenbosch avatar ajjahn avatar yusupova avatar ka8725 avatar bdq avatar onedanshow avatar joshcheek avatar schof avatar schustafa avatar agregoire avatar alexey-chernikov avatar geekoncoffee avatar davidbennettpio avatar dominikgrygiel avatar filipechagas avatar yangjindong avatar josv avatar laurens avatar montebrown avatar safarista avatar neweblog avatar paulcc avatar senjai avatar rickygu avatar westonplatter avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.