Forums / Basic Configuration / Merge two zencart sites into one:how?

Merge two zencart sites into one:how?

Locked

Started by rlaw66 on 3 Aug 2006, 7:22 AM · Views: 2,943

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
3 Aug 2006, 7:22 AM
#1
rlaw66 avatar

rlaw66

New Zenner

Join Date:
Apr 2005
Posts:
14
Plugin Contributions:
0

Merge two zencart sites into one:how?

I have two zencart sites which both work fine.

I have been asked to create a third site which contains all of the products contained in the otehr two sites. Now I know this should be simple (!) after all all I need to do is get the product data from bothe existing sites and feed it into the database for the new site... right?

Well my SQL is weak at best but I tried it anyway (after making backups of everything): no luck

Then I hit on the bright idea of installing easy populate on all sites and transferring the data that way: no luck

Can anyone help?

Richard

4 Aug 2006, 5:50 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Merge two zencart sites into one:how?

Then I hit on the bright idea of installing easy populate on all sites and transferring the data that way: no luck
This one of the solutions that I would have made, but "no luck" is not very descriptive. Can you provide more detail as to why you have not been successful at doing this?

Zen-Venom Get Bitten

4 Aug 2006, 7:02 PM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Merge two zencart sites into one:how?

One method is to take all the products_id and categories_id in one database and raise them by 4000 or whatever number would assure no cross matches to the other database ...

Then the tables can be merged ...

WARNING: to do this, first be sure you know what tables you are working with ... next, backup both the 1st and 2nd database ... copy the database you are adjusting to another database and make the adjustments to it ... then copy the 1st database to a 4th database before merging in the 3rd database products and categories ...

NOTE: you can really make a mess if you are not careful on this one but it can be done ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Aug 2006, 2:37 PM
#4
rlaw66 avatar

rlaw66

New Zenner

Join Date:
Apr 2005
Posts:
14
Plugin Contributions:
0

Re: Merge two zencart sites into one:how?

Sorry- no luck was probably a bit on the sparse side as far as descriptions go.
I have solved the problem....
I found a tutorial here http://www.everymanhosting.com/forum/about22.html&highlight=&sid=8baa98914ec96545a1d122ddc0190861 and copied over the appropriate tables. It wasnt perfect as there were duplicate categoriesIDs which didnt get copied accross and I then had to add them in the good old fashioned - through admin.

Then a cross check found 7 or so products missing which I was happy to manually add in

Then FTP all the images form the two old istes to the new site - and it was done.

That might not be very clear either but hey i suprised myself at being able to do it. Now could I do it again......?

Thanks to all who tried to help

Richard