Search

Hello clever people

I need to pull in some featured products to my symphony site from an associated site built in Magento.

Anyone ever done this? I know I need to be able to pull in Magento's Mage PHP to be able to access anything, but not sure of where to start. Do I need to write my own extension?

Any pointers gratefully appreciated.

/tasha

I suppose my second question, if I have to write an extension is: um - how do I write an extension?

I haven't done much (any really) tinkering under the hood, so have no idea where to start :/

Use XMLImporter extension to import from XML to Sections. It takes a URL which returns XML and imports that information into a Section.

Step 1. Dump your product data from the Magento site to an XML document.

Step 2.1. If you make the XML available at an URL (http://www.magento-site.com/products-xml/), use Remote Datasource to make that feed available in a DataSource.

Step 2.2. If you make the XML available as plain XML, use a Static Datasource with this XML.

Step 3. Create a Page (accessible at http://www.symphony-site.com/import-products/), attach the DataSource from Step 2 and in page XSL output an XML that would fit your required section fields.

Step 4. Create an XML importer and configure it to use your URL from Step 3.

Dude. Thank you! I will have that a try!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details