Zen Cart Logo
Forums / General Questions / Duplicate shop

Duplicate shop

Locked

Views: 978

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
20 Dec 2007, 6:55 PM
#1
daves avatar

daves

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Duplicate shop

Whats the quickest way to create a duplicate shop on the same server?

For eg. I have one at mydomin.com/shop

I was to reproduce it at mydomain.com/shop2 preferably using a second database

I want to do this to try various changes while have no downtime on my main shop...

so, whats the quickest way to duplicate it all?

Cheers!
Dave

20 Dec 2007, 7:23 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Duplicate shop

Copy the contents of /shop into /shop2.

Create a database for the cart in /shop2.

Use phpMyAdmin to backup the database for /shop and copy it to the new database.

Edit /shop2/admin/includes/configure.php and includes/configure.php to point to /shop2 and the new database.

That should be it.

You could also create the database, do a clean install of Zen Cart into /shop2 using the new database and then copy over the data (using phpMyAdmin as described above). Then you'd just have to copy over your custom template.

20 Dec 2007, 9:56 PM
#3
daves avatar

daves

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Re: Duplicate shop

Thanks for you help, will give that a try. :smile: