Solved

How to connect two or more magento sites?

Posted on 2014-04-09
3
300 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 51

Expert Comment

by:Julian Hansen
Comment Utility
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
Comment Utility
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 51

Accepted Solution

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

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Since I am currently running into this issue right now as I type this, I though I would share my experiences with moving a ModX Revolution site from one server to another.  It is not an easy task, but can be accomplished rather easily. The first …
This article discusses four methods for overlaying images in a container on a web page
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now