I would like to create xml export template for agregator zbozi.cz. But unfortunatelly I can't figure out how to properly set the Website item in the file tab. Is it possible to create a new definition, in addition to the ones offered? or do I have to use Custom? But how to set the XML Layout (Header, Body, Footer)? Can you please advise me. The goal is for the resulting XML to look like this example:
<?xml version="1.0" encoding="utf-8"?> <!-- kódování zadejte dle použitého typu ("utf-8", "windows-1250" ...). Doporučené a výchozí je utf-8 --> <SHOP xmlns="http://www.zbozi.cz/ns/offer/1.0"> <SHOPITEM> <ITEM_ID>62448</ITEM_ID> <PRODUCTNAME>Solartent MC234CZ/A premium Beige</PRODUCTNAME> <PRODUCT>Stínítko z laminátových prutů Solartent MC234CZ/A premium Berige </PRODUCT> <DESCRIPTION>Velmi praktické stínítko s lehkou konstrukcí z laminátových prutů.</DESCRIPTION> <CATEGORYTEXT>Dům, byt a zahrada | Zahrada | Stínící technika | Zahradní slunečníky</CATEGORYTEXT> <EAN>8594061743744</EAN> <PRODUCTNO>MC234CZ/A</PRODUCTNO> <MANUFACTURER>Solartent</MANUFACTURER> <URL>http://example.com/slunecniky/solartent123</URL> <DELIVERY_DATE>0</DELIVERY_DATE> <DELIVERY> <DELIVERY_ID>DPD_PICKUP</DELIVERY_ID> <DELIVERY_PRICE>100</DELIVERY_PRICE> <DELIVERY_PRICE_COD>149</DELIVERY_PRICE_COD> </DELIVERY> <EXTRA_MESSAGE>free_gift</EXTRA_MESSAGE> <FREE_GIFT_TEXT>Powerbanka ADATA s kapacitou 12500 mAh</FREE_GIFT_TEXT> <EXTRA_MESSAGE>extended_warranty</EXTRA_MESSAGE> <PARAM> <PARAM_NAME>barva</PARAM_NAME> <VAL>Béžová</VAL> </PARAM> <IMGURL>http://example.com/obrazky/slunecniky/solartent123.jpg</IMGURL> <PRICE_VAT>1290</PRICE_VAT> <MAX_CPC>6,50</MAX_CPC> <MAX_CPC_SEARCH>5,80</MAX_CPC_SEARCH> </SHOPITEM> <SHOPITEM> <!-- popis druhé nabídky... --> </SHOPITEM> <!-- ... --> </SHOP>Hello,
You should have an active subscription to get support on issues. Read through Process XML document under Custom XML section to setup XML for export.
Is it possible to create a new definition, in addition to the ones offered? or do I have to use Custom?
Not sure what you mean by new definition but yes you can use custom template field for additional default values you want to add in export.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Log in to reply to this topic.