Export products to XML

  • Posts: 29
  • Thank you received: 0
11 years 1 month ago #128524

Hi, I would like to use the price and product aggregator site in our country. One of the conditions is to have an export with all product details in XML file. The XML structure has to be like this:

<?xml version="1.0" encoding="utf-8"?>
<SHOP>
<SHOPITEM>
<ITEM_ID>AB123</ITEM_ID>
<PRODUCTNAME>Nokia 5800 XpressMusic</PRODUCTNAME>
<PRODUCT>Nokia 5800 XpressMusic + púzdro zdarma</PRODUCT>
<DESCRIPTION>Klasický s plným dotykovým užívateľským rozhraním</DESCRIPTION>
<URL> obchod.sk/mobily/nokia-5800-xpressmusic </URL>
<IMGURL> obchod.sk/mobily/nokia-5800-xpressmusic/obrazok.jpg </IMGURL>
<IMGURL_ALTERNATIVE> obchod.sk/mobily/nokia-5800-xpressmusic/obrazok2.jpg </IMGURL_ALTERNATIVE>
<VIDEO_URL> www.youtube.com/watch?v=KjR759oWF7w </VIDEO_URL>
<PRICE_VAT>240</PRICE_VAT>
<HEUREKA_CPC>0,24</HEUREKA_CPC>
<MANUFACTURER>NOKIA</MANUFACTURER>
<CATEGORYTEXT>Elektronika | Mobilné telefóny</CATEGORYTEXT>
<EAN>6417182041488</EAN>
<PRODUCTNO>RM-559394</PRODUCTNO>
<PARAM>
<PARAM_NAME>Farba</PARAM_NAME>
<VAL>čierna</VAL>
</PARAM>
<DELIVERY_DATE>2</DELIVERY_DATE>
<DELIVERY>
<DELIVERY_ID>SLOVENSKA_POSTA</DELIVERY_ID>
<DELIVERY_PRICE>5</DELIVERY_PRICE>
<DELIVERY_PRICE_COD>120</DELIVERY_PRICE_COD>
</DELIVERY>
<DELIVERY>
<DELIVERY_ID>PPL</DELIVERY_ID>
<DELIVERY_PRICE>90</DELIVERY_PRICE>
<DELIVERY_PRICE_COD>120</DELIVERY_PRICE_COD>
</DELIVERY>
<ITEMGROUP_ID>EF789</ITEMGROUP_ID>
<ACCESSORY>CD456</ACCESSORY>
</SHOPITEM>
<SHOPITEM>
...
</SHOPITEM>
</SHOP>


Is it possible to create XML (or CSV) export with these product informations?
Thanks for your answer.

Filip

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 1 month ago #128536

Hi,
In order to export products in XML and change the structure of the exported file, you will have to change the code of the file "export" of the view "product" for your back end template via the menu Display->Views.

Please Log in or Create an account to join the conversation.

  • Posts: 29
  • Thank you received: 0
11 years 1 month ago #128538

Hi,
thanks for answer. If I change the mentioned code, where is the option to run the export itself?

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #128629

Hi,

In the product listing in the backend, you have an "export" button.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum