Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to connect two or more magento sites?

Posted on 2014-04-09
3
Medium Priority
?
327 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 59

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 59

Accepted Solution

by:
Julian Hansen earned 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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…
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…
Suggested Courses

636 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