![]() |
Syncronize Products between 2 stores |
Post Reply ![]() |
Author | |
hometownworks ![]() Newbie ![]() Joined: 17-April-2007 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 24-August-2009 at 1:32pm |
I need some serious technical advise here. I have 2 product cart stores, and I need to be able to mirror the product in store #2 so that they match store #1. When store #1 products get added or removed, the change needs to be reflected in store #2.
I've talked to a couple of database experts, and it appears that doing the data exchange in MS SQL may be difficult as I'm using shared hosting for my stores, and the databases are on different machines.
The other option would be to use XML. Does anyone have any expierence doing this? Any thoughts on MS SQL method vs. using an XML method?
Glen
|
|
Hometown Works Website Development
|
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
Glen - contact Mark Shipp mark@cognecy.com he already did this for another merchant.
|
|
![]() |
|
hometownworks ![]() Newbie ![]() Joined: 17-April-2007 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
I spoke with Mark about this already, but unfortunately he was unable to help.
|
|
Hometown Works Website Development
|
|
![]() |
|
Guests ![]() Guest ![]() |
![]() ![]() ![]() ![]() ![]() |
Hi Glenn,
Does this need to happen in real time? For example, if there is inventory control? Or could it be batched periodically? Also, the db's on different servers . . . . are they are least within the same data center (same host)? |
|
![]() |
|
hometownworks ![]() Newbie ![]() Joined: 17-April-2007 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
The data sync could be batched, I was thinking 4 times a day, but depending on server load, possibly once a day. Also, the databases are with the same hosting company, and I could possibly get them to put them all on the same machine, maybe.
|
|
Hometown Works Website Development
|
|
![]() |
|
Guests ![]() Guest ![]() |
![]() ![]() ![]() ![]() ![]() |
If the sites and databases are all served by the same host, then all of that should be networked together (that is, best practice is to host the SQL db separate from the sites anyways, and then it would make no difference if Site A is on a different shared server than Site B) -- so long as everything is within the same network, than there is no issue I can see.
What's more, batching makes things easier too -- 4 times a day, shouldn't be a problem unless you have a huge catalog; if it could wait until the wee hours once a day, that would be ideal, but not necessary. What's more, if this could be limited to a small set of fields to be synchronized, all the better. Please elucidate further exactly what data needs to be synchronized, and fee free to break it up into things (such as inventory levels) which may need to be synchronized more frequently (maybe several time a day, esp. at peak traffic) and things that would rarely need to be synchronized (such as product desctiptions, image locations, pricing, etc.). The more detail you provide here, the more options folks here will be able to suggest for you. |
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
Sean, I think the OP said what he wants:
When store #1 products get added or removed, the change needs to be reflected in store #2.
|
|
![]() |
|
hometownworks ![]() Newbie ![]() Joined: 17-April-2007 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
In terms of synchronization, for the stores we're talking about, if we had Active / Inactive synched 2 times a day, and any new product information (all the details of a new product when its added) once a day would probably suffice. We don't track inventory, we just make items inactive when they are no longer going to be available.
Also, it would be great to be able to "trigger" the sync when needed. For example, it they update store #1 with 10 new items, it would be nice to sync them to stores #2-#4 with a few clicks of a button, or perhaps entering a URL which executes an .asp script? |
|
Hometown Works Website Development
|
|
![]() |
|
Guests ![]() Guest ![]() |
![]() ![]() ![]() ![]() ![]() |
Does your host's control panel provide a scheduled task?
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |