开发者

Extend spree to have functionalities as Shopify?

开发者 https://www.devze.com 2023-03-29 09:09 出处:网络
I\'m new to spree. I\'m not sure whether is that possible to 开发者_StackOverflow中文版extend spree to have a functionality like Shopify. The user signups to create a store. He owns everything to that

I'm new to spree. I'm not sure whether is that possible to 开发者_StackOverflow中文版extend spree to have a functionality like Shopify. The user signups to create a store. He owns everything to that store. Each owner is not able to edit other stores.

How can I extend it? Which is the best strategy?

  • through database sharding, each store has it own database, connect to different based on domain name?

  • add store_id to every table, that would need to change a lot of code, right?

Any ideas?


You can have a look at this official extension: https://github.com/spree/spree-multi-domain This extension allows you to have multiple stores on multiple domains using the same backend.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号