Solved

How to connect two or more magento sites?

Posted on 2014-04-09
3
311 Views
Last Modified: 2016-03-02
I have a Magento eCommerce site.
I have two clients who have two separate Magento eCommerce sites.
So, three sites in total.

I would like to dislpay products from their sites on my site.

Naturally the stocks are shared so if an item gets sold on my site and let's say it was the last item in stock, immediately my client should not be able to sell the same product on his site. It should show up as "OUT OF STOCK".

Is this even possible without manully exporting CSV product lists from my clients' sites and importing them to my site? That would not be an ideal scenario as there is no control over stocks etc. in that method.

Please assist.
Thanks in advance
0
Comment
Question by:badwolfff
  • 2
3 Comments
 
LVL 56

Expert Comment

by:Julian Hansen
ID: 39990774
I imagine it is possible to create a plugin that intercepts stock changes and pushes those changes to other systems - either through a transaction log that is periodically uploaded or via a web service call or a combination.

Personally I have not attempted this.

The other option is to create a trigger on the stock tables and then update the other tables on change. Apparently the Federated engine (MySQL 5.4) can do remote updates in triggers - again - have not explored this option myself.
0
 

Author Comment

by:badwolfff
ID: 39990870
Is there an extension that does any of this was my question.
I am not able to program what you mention above myself.
0
 
LVL 56

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 39990899
This forum has a discussion on this which might be useful.

http://www.magentocommerce.com/boards/viewthread/306000/
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Pull Variable from URL  Use php template 1 36
Multi line FPDF footer: 3 29
Increase counter and attr inside a while loop 15 37
Find RGB colors from a screen. 2 19
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question