Example 5 – Integrating products from an online shop via the product ID
Details for the example |
|
---|---|
Data source |
XML file – product feed from Web shop |
Transformation |
Yes – transformation to XML structure of the Inxmail Smart Template |
Personalisation/ |
No |
Agent |
|
Time of the update |
Editing time |
Notes on the example
In this example, a product feed from an online shop is used as the data source. Many online shop systems, such as Magento or Oxid, for example, provide product data in XML format.
In this example, the editor is able to integrate a specific product or its product data into a mailing. This is done by entering an article number in the Fill in element dialog box in the Advanced Template.
Other parameters that can be used to query product data from the online shop include the SKU, a category ID or section ID.
URL of the data source
https://example-shop.com/index.php/datasource/product/id/[$Produkt-ID]
XML file
Product feed from Magento online shop
(For more information, see the section Setup for Magento)
Transformation
Detailed information can be found in the section Showing the XML structure of template elements and Developing an XSL transformation.
Display in the mailing