Webshop - Multistore

Author Message

Steven Stieng

Wednesday 01 April 2009 5:45:10 am

Hi, is it possible to have multiple stores with eZ?

Here is my scenario:

I want a website which has storemanager A and storemanager B.
Each storemanager have their own webstore.
Each storemanager have a number of customers. (storemanager A has customer A, storemanager B has customer B).

When custemer A logs in, he will only se the products from storemanager A

Is this possible with eZ Publish?

Steven Stieng

Wednesday 01 April 2009 5:46:48 am

Hmmm... a thought came to me after reading this post: http://ez.no/developer/forum/general/mutliple_sites_on_one_installation.

Would the solution be to have a new site for each user?

Carlos Revillo

Wednesday 01 April 2009 6:30:47 am

Interesting question. think is possible but maybe you will need to code some things. Here are my thoughts

1.- Two only siteaccess. (one for the public site, one for the admin site), and only one database.

You can create two usergroups, (usersA, usesrB). users will be under those two groups.

Then you create two folders, one for storeA, and the other for B

You add two new roles, one for usersA, the other for usersB, and assign them to the created usergroups.

You will add policies to restrict the access to the desired folder.

My doubt here is about the user registration. i mean, if a user registers on the site, how you decide if that user is for storeManagerA or for storeManagerB?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.