Best approach to modify the extension spree-multi-domain?
61 views
Skip to first unread message
Pedro Alonso
unread,
Nov 20, 2013, 7:03:29 PM11/20/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to spree...@googlegroups.com
Hi,
I have been looking at the extension: https://github.com/spree/spree-multi-domain I like the idea to only have one codebase to support several stores, but I'd like to also separate the back-end, so each admin only have access to manage his store.
I think that in order to achieve that a good approach could be to use the gem 'act_as_tenant', and make all the objects in /spree/core/models to depend from Store.rb. Continue selecting the Store by host name. Any ideas about this one?
Thanks,
Pedro
Ryan Bigg
unread,
Nov 24, 2013, 6:48:57 PM11/24/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
I do not know if acts_as_tenant would be a good solution for this because I just have not investigated it. If you would like to spend some time investigating it, then please do.
--
Ryan Bigg
Community Manager
Spree Commerce, Inc.
Pedro Alonso
unread,
Nov 25, 2013, 4:24:09 AM11/25/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message