How to create wrapper inside of the feed?
-
Hey Everyone,
we are enjoying using this app, everything is easy and nice. At this moment we ran into a small issue, one of our partners that will use XML Feed for product import into their system, use interesting style of the feed. When creating a feed you have a wrapper “product”, “products”, but it seems they use extra wrappers inside a product and I was wondering if that is possible with this plugin and how to do it.
In the example below you can see, that “properties” is a new wrapper that has inside of it “id” and one again another wrapper “values” and you can see more of this happening below. How can I do it in this plugin??:
<products>
<product>
<category-id>12345</category-id>
<category-name><![CDATA[ TEST ]]></category-name>
<title><![CDATA[ TEST ]]></title>
<long-description><![CDATA[ TEST ]]></long-description>
<properties>
<property>
<id><![CDATA]></id>
<values>
<value><![CDATA]></value>
</values>
</properties>
<colours>
<colour>
<colour-title/>
<images>
<image>
<url> test.jpg </url>
</image>
<image>
<url> test.jpg </url>
</image>
</images>
<modification>
<modification-title></modification-title>
<weight>123</weight>
<length>123</length>
<height>123</height>
<width>123</width>
<attributes>
<barcodes>
<barcode><![CDATA[ 123 ]]></barcode>
</barcodes>
<supplier-code><![CDATA[ 123 ]]></supplier-code>
<manufacturer-code></manufacturer-code>
</attributes>
</modification>
</modifications>
</colour>
</colours>
</product>
</products>
- The topic ‘How to create wrapper inside of the feed?’ is closed to new replies.