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

Unable to fetch products in another website (EE CMS)
 
nisar_uddin
Jr. Member
 
Avatar
Total Posts:  1
Joined:  2012-04-10
 

Hi All,

I am able to fetch the list of Products as a Guest via a URL http://magentohost/api/rest/products?limit=2 which shows data in the XML format as expected.

My requirement is to fetch all products from magentohost and show in another website which is a another CMS Expressionengine.As I am new to MAGENTO CMS ,I would appreciate if any one can help me out here in fetching products from a magento website and show them in another website VIA REST API.

Say I wanna do some thing like this BUT with a MAGENTO REST API URL(Ex : http://magentohost/api/rest/products?limit=100)

$url "http://api.flickr.com/services/feeds/photos_public.gne?id=25509357@N00⟨=en-us&format;=rss_200";
$xml simplexml_load_file($url);
print_r($xml);

But when I try the above php code with MAGENTO REST API URL it shows a blank page :(

Can any one please help me how to fetch products from a magento site and show it in any other website

Thanks in advance

Image Attachments
Screen shot 2013-09-17 at 1.46.13 PM.png
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top