Xml for product comparisment website

  • Posts: 22
  • Thank you received: 0
6 years 5 months 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: 6 years 5 months ago by toshels.

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
6 years 5 months 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.053 seconds
Powered by Kunena Forum