Solved

How to connect two or more magento sites?

Posted on 2014-04-09
3
305 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 54

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 54

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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

809 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