I want to allow my site users to create stores,, in which each store can contain content. so the store is basically a page which contain specific content.
what's the best way to implement this in Drupal?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
We used OG extensively in many sites with stores that are auto-created when a user registers. You can check out one of them here - www.craftsaid.com - each "store" is an OG. We also did the same thing on Bandromeda.com.
After you have created a content type for your Group type (this can be anything you want it to be - if you're not familiar with OG it is an incredibly powerful platform that allows users to create groups to which other members may subscribe - essentially you create one content type as the "group" type itself and then any other content type can be set as "group content" that may be added to a given group) go to /admin/workflow/rules and add a rule for Event = After saving a new user account with an Action = Create a new entity with parameters of Entity type: Node, Content type: Your Group Content Type, Title: [use tokens to create your title configuration]
This will auto-create a Group upon registration. Otherwise you could simply create a link to node/add/store (or whatever your group content type is) from wherever makes the most sense in your site.
That is a very basic explanation - there are probably 50 ways you could implement this to accommodate your general description of your need. Hope that helps!
If each store is just a page, with no checkout process, then you could
You should check out the Organic Groups module. Also here is a link to all the projects associated with this module. Looks like there used to be a "store" feature, but that was back with Drupal 4.x. However if the store only holds pieces of content, not actual sales, then OG does a great job of managing multiple "stores" within the site.