{"id":13835602,"url":"https://github.com/thisisdevelopment/solidus_multi_domain","last_synced_at":"2026-03-01T22:16:19.887Z","repository":{"id":113560942,"uuid":"163279092","full_name":"thisisdevelopment/solidus_multi_domain","owner":"thisisdevelopment","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-27T10:48:34.000Z","size":361,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-20T20:39:20.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thisisdevelopment.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-12-27T10:07:48.000Z","updated_at":"2019-02-27T12:28:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c4fa6c9-e131-4dfd-9156-7114834443d6","html_url":"https://github.com/thisisdevelopment/solidus_multi_domain","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/thisisdevelopment/solidus_multi_domain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisisdevelopment%2Fsolidus_multi_domain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisisdevelopment%2Fsolidus_multi_domain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisisdevelopment%2Fsolidus_multi_domain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisisdevelopment%2Fsolidus_multi_domain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thisisdevelopment","download_url":"https://codeload.github.com/thisisdevelopment/solidus_multi_domain/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisisdevelopment%2Fsolidus_multi_domain/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264551647,"owners_count":23626536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T14:01:06.151Z","updated_at":"2026-03-01T22:16:19.860Z","avatar_url":"https://github.com/thisisdevelopment.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"Multi Domain Store\n==================\n\nThis extension allows a single Solidus instance to have several customer facing\nstores, with a single shared backend administration system (i.e. multi-store,\nsingle-vendor).\n\n[![Build Status](https://travis-ci.org/solidusio/solidus_multi_domain.svg?branch=master)](https://travis-ci.org/solidusio/solidus_multi_domain)\n\nCurrent features:\n------------------\n\n1. **Store** model which has the following attributes:\n\n    1.1 name - The display name for the store.\n\n    1.2 domains - a line separated list of fully qualified domain names used to\n    associate a customers session with a particular store (you can use\n    localhost and/or IP addresses too).\n\n    1.3 code - which is a abbreviated version of the store's name (used as the\n    layout directory name, and also helpful for separating partials by store).\n\n    1.4 default - one store should be marked a default as a fallback in case\n    the URL being used to access the site cannot be matched against any of the\n    configured stores.\n\n2. Stores and domains can be maintained via the configuration section of the\n   Admin interface\n\n2. Each store can have its own layout(s) - these layouts should be located in\n   your site's theme extension in the\n   app/views/spree/layouts/_store#code_/directory. So, if you have a store\n   with a code of \"alpha\" you should store its default layout in\n   app/views/spree/layouts/alpha/spree_application.html.erb\n\n3. Each product can be assigned to one or more stores.\n\n4. All orders are associated with the store / domain that they were placed on.\n\n5. Google analytics trackers can be associated with a store.\n\nInstall Instructions\n--------------------\n\nAdd to your Gemfile:\n\n```ruby\ngem \"solidus_multi_domain\"\n```\n\nThen run from the command line:\n\n```shell\nbundle install\nrails g solidus_multi_domain:install\n```\n\nYou should see 'Stores \u0026 Domains' in Configuration tab of Spree Admin.\n\nDevelopment\n-------\n\nTo see if your stores indeed do point to the correct and unique domains, start your server with \n```shell\nrails s -p 3000 -b lvh.me\n```\nand give a store a domain like http://store1.lvh.me:3000/.\n\nAuthorization\n-------------\n\nFor discrete authorization, two permission sets have been added to allow for granular display in the admin.\n\n`Spree::PermissionSets::StoreDisplay` and `Spree::PermissionSets::StoreManagement` have been added and can be assigned via [RoleConfiguration](http://docs.solidus.io/Spree/RoleConfiguration.html)\n\n\nTesting\n-------\n\nThen just run the following to automatically build a dummy app if necessary and\nrun the tests:\n\n```shell\nbundle exec rake\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisisdevelopment%2Fsolidus_multi_domain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthisisdevelopment%2Fsolidus_multi_domain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisisdevelopment%2Fsolidus_multi_domain/lists"}