Xml for product comparisment website

  • Posts: 21
  • Thank you received: 0
3 months 2 weeks ago #294784

-- url of the page with the problem -- : niteo.lv

Hello, ive been looking for plugins for this but i cant seem to find anything so i come here for help.
Im in process of creating store for car parts, i need xml feed that gives info to other website about my products.
How hard is it to do this? and how do i do this?

<?xml version="1.0" encoding="utf-8" ?>
<root>
<item>
	<name>Nokia 6120</name>
	<link>http://www.shop-name.lv/info/Nokia6120/</link>
	<price>150.55</price>
	<image>http://www.shop-name.lv/images/Nokia6120.jpg</image>
	<category_full>Mobilie telefoni &gt;&gt; Nokia</category_full>
	<category_link>http://www.shop-name.lv/nokia</category_link>
	<manufacturer>Nokia</manufacturer> <!-- Neobligāts -->
	<model>6120</model> <!-- Neobligāts -->
	<in_stock>7</in_stock> <!-- Preču skaits, kas pieejams piegādei Rīgā 3 dienu laikā. Neobligāts. Skaitliska vērtība. Jāuzrādās arī veikala lapā -->
	<delivery_latvija>5.99</delivery_latvija> <!-- Maksimālā piegādes cena uz adresi Latvijā. Neobligāts. Skaitliska vērtība. -->
	<delivery_latvijas_pasts>1</delivery_latvijas_pasts> <!-- Piegāde uz Latvijas pasta nodaļu. Neobligāts. Skaitliska vērtība. -->
	<delivery_pasta_stacija>0</delivery_pasta_stacija> <!-- Piegāde uz Pasta Stacijas punktiem. Neobligāts. Skaitliska vērtība. -->
	<delivery_omniva></delivery_omniva> <!-- Piegāde uz Omniva punktiem. Neobligāts. Skaitliska vērtība. -->
	
	<used>0</used> <!-- Lietotām precēm jānorāda vērtība: 1. Neobligāts. Skaitliska vērtība. -->

</item>
<item>
	...
</item>
</root>

Last Edit: 3 months 2 weeks ago by toshels.

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

  • Posts: 63607
  • Thank you received: 9161
  • MODERATOR
3 months 2 weeks ago #294806

Hi,

Well, the google products plugin in HikaShop Business does provide a XML of the products in your shop.
However, the format of the XML corresponds to what Google Merchant wants. Not the format you need. For example, the fields delivery_latvija, delivery_latvijas_pasts, etc do not exist in the XML.
So if you want that exact format, it will require developping a script to generate that XML with the exact format you need.
You could potentially base yourself on the google products plugin, but it will still require to have some PHP developer skills.

The following user(s) said Thank You: toshels

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

Time to create page: 0.070 seconds
Powered by Kunena Forum