Zen Cart Logo
Forums / General Questions / Is it possible to have 2 shops on the same domain

Is it possible to have 2 shops on the same domain

Locked

Views: 1,234

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
3 Sep 2007, 12:03 AM
#1
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Is it possible to have 2 shops on the same domain

Hi,
Can anyone help please. I have a shop at www.domain.com/store and want a second shop at (same domain/ database) www.domain.com/export I have tried loading a second shop but it will not pass 'save system settings'. Do i need to upload the tables prefixed by export_ in the database manually and configure the config file myself? Or will it not work?
It seems to be getting confused. The reason for two shops are the the prices may well be different the products will not always be the same in both shops.
Any suggestions or help would be appreciated.
Thanks,

3 Sep 2007, 12:21 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Is it possible to have 2 shops on the same domain

As long as you have two different databases for the installations, there should be no interference. With one database, you will need to use a prefix to keep the stores' information separate. That done, again, there should be no interference. You should not need to upload prefixed tables manually.

3 Sep 2007, 1:24 AM
#3
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Is it possible to have 2 shops on the same domain

do a search for this: MultiSite Module Support Thread

This should be for you...

3 Sep 2007, 7:34 AM
#4
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: Is it possible to have 2 shops on the same domain

Thanks for the replies, do you know if having different prices will be an issue? I would be using the same database but pre tables with export_
I get the impression that this might be a problem scanning the MultiSite Module Support Thread as it seems to use the same files for both sites. I was thinking more on the lines of having two installations of zen cart one in export the other in store.
Thanks for the replies any further help / advice would be appreciated.

3 Sep 2007, 5:52 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Is it possible to have 2 shops on the same domain

I think for your application you would be better off with two separate installations, and using the prefix.

4 Sep 2007, 8:47 AM
#6
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: Is it possible to have 2 shops on the same domain

Thanks I will try that.:smile:

27 Nov 2007, 5:43 AM
#7
jwidjaja avatar

jwidjaja

New Zenner

Join Date:
Nov 2007
Posts:
14
Plugin Contributions:
0

Re: Is it possible to have 2 shops on the same domain

Hi, Is there anybody have the answer for my problem....???

I have 2 stores on the same domain, but each of those two stores are located in the completely different directory and have their own individual database.

The history is as follow, I have created a shop for australian customer and run perfectly, then later I install another shop for US customer in different directory.

I copy all application files from australian site to us site, except the configuration.php file in "/admin/includes/" and "/includes/" directory.
I have also backup the sql file at australian site, then later restore it to the database at freshly installed us site.

I have also the "sessions" setup at US site to have the appropriate cache directory.

The situation is both sites run well, only when I browse both sites at the same time at the same computer, login with same or different account, each site seems to knock each other. eg. I login to australian site at one window then login to the US site at another window, when I come back to australian site window I am logged out at behind. same thing happen the other way around.

Why is this happen considering I have setup the "sessions" at /configuration/ correctly, ie. each site to have a their own cache directory?

Is this caused by the _vti_cnf directory which I also copy from australian to US site?

This really confuse me. Appreciate anybody can give me a clue and solve the problem.

Thanks & regards,
Jimmy

28 Nov 2007, 6:49 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Is it possible to have 2 shops on the same domain

Use different browsers if need be ...

FireFox for instance uses tabs and the tabs are all friends and try to share with one another ...

You should be able to run two different sessions of FireFox and it should not conflict ...

Or run IE for one and FireFox for the other and then you won't bump into each other ... :smile:

28 Nov 2007, 9:03 AM
#9
jwidjaja avatar

jwidjaja

New Zenner

Join Date:
Nov 2007
Posts:
14
Plugin Contributions:
0

Re: Is it possible to have 2 shops on the same domain

Hi Linda,

Thanks for your advice. Now I understand that it is my browser problem, not the website. whuuuuiiii.... what a relieve...

I try using both firefox and IE at the same time and everything is fine.

Thanks & regards,
Jimmy