Page 1 of 1

AbleCommerce multi-store question

Posted: Thu Dec 11, 2008 4:26 pm
by RevereRichard
Say I have a client that has two stores store1.com and store2.com.

Can Able handle user security so Bob can mange store1.com, but not store2.com and Sandy can manage store2.com and not store1.com?

If so, can someone explain the setup?

Thanks,

-Richard.

Re: AbleCommerce multi-store question

Posted: Thu Dec 11, 2008 4:56 pm
by jmestep
Are you talking about two stores/two databases? Then it wouldn't be a problem. If you are talking about two domain names going to the same database, then it would be a problem.

Re: AbleCommerce multi-store question

Posted: Thu Dec 11, 2008 5:59 pm
by RevereRichard
let's assume the first scenario; two stores, two databases.

Does this mean each database has it own authentication (ac_users)?

-Richard

Re: AbleCommerce multi-store question

Posted: Fri Dec 12, 2008 5:10 am
by mazhar
let's assume the first scenario; two stores, two databases.

Does this mean each database has it own authentication (ac_users)?

-Richard
Yes this means two different installations. Each store will have its own authentication as well.

Re: AbleCommerce multi-store question

Posted: Mon Dec 15, 2008 5:41 pm
by RevereRichard
If that is the case, is it possible to write something to achieve what I am looking for? (a single login page for two different stores)

If so, what section of the API/Code should I be looking at?

Re: AbleCommerce multi-store question

Posted: Mon Dec 15, 2008 6:00 pm
by afm
User names and passwords are also stored in the database. If I wanted to keep the user names and passwords synchronized in 2 separate databases, I would create a separate process that ran on the server (probably as a service) that periodically synchronized the Users table.

Another approach would be create triggers in both that update the other. But I am personally afraid of triggers because they are (or seem) hard to debug.

Re: AbleCommerce multi-store question

Posted: Tue Dec 16, 2008 8:17 am
by kastnerd
RevereRichard wrote:If that is the case, is it possible to write something to achieve what I am looking for? (a single login page for two different stores)

If so, what section of the API/Code should I be looking at?
Are you looking for customers to have a single page? or just the people managing the store?
Are the products the same for both stores?

Re: AbleCommerce multi-store question

Posted: Thu Dec 18, 2008 4:19 pm
by RevereRichard
Just for people managing the store and lets assume that the products are not the same.

Thanks,

-Richard.

Re: AbleCommerce multi-store question

Posted: Fri Dec 19, 2008 11:29 am
by kastnerd
To me it sounds like you want, 2 sites. with 2 different groups of customers. Different products. But for the managers of the site to only have 1 log in page. After logging in it would take the manager to site1 or site2.

Re: AbleCommerce multi-store question

Posted: Tue Dec 23, 2008 4:17 pm
by RevereRichard
yes, that is correct