Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

xml feed from supplier
 
roastchicken
Jr. Member
 
Total Posts:  5
Joined:  2010-03-27
 

Hi

Can anyone advise me about product feeds from suppliers. Can Magento handle xml feeds from suppliers

or is it better to write an entire shop from scratch ?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Turnkeye
Enthusiast
 
Avatar
Total Posts:  908
Joined:  2008-12-20
URL: turnkeye.com
 

You want to import products from XML feed right?

It will be a real time process?

I think you will need a custom solution for Magento.

 
Magento Community Magento Community
Magento Community
Magento Community
 
JavierP
Jr. Member
 
Total Posts:  9
Joined:  2012-08-14
 

First of all you have to get out data from XML feed.

“simplexml_load_file” - this function to get the data from the XML feed.
Read more information about it here: http://php.net/manual/en/function.simplexml-load-file.php

When your data is on the PHP page, you can import it to your store this way:
1. Using “simplexml_load_file” function to get the products data from XML feed
2. Run a loop and create a csv file from product array that returned by this function - “simplexml_load_file”
3. the csv file data format should match magento csv import.
I have tried this way only one time. So i’m not very sure about it. It works with csv. The other way is this service - file2cart. It helps tp import csv, txt, xml and excel files. I found this service on the spanish forum here. And i liked it very much.

Sori for my bad english. I hope it will help you.

Adios)

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top