Skip to content

Instantly share code, notes, and snippets.

@julesbravo
Created March 16, 2018 19:22
Show Gist options
  • Save julesbravo/f0fdfb1c957a1b4f5309c763c495e10b to your computer and use it in GitHub Desktop.
Save julesbravo/f0fdfb1c957a1b4f5309c763c495e10b to your computer and use it in GitHub Desktop.
Example Product XML for HomeSew.com
<Product>
<sku>LABEL4</sku>
<name><![CDATA[Made in USA - Nylon Woven Tags]]></name>
<url>http://www.homesew.com/Made-in-USA-Nylon-Woven-Tags/productinfo/LABEL4/</url>
<image_url>http://www.homesew.com/images/LABEL4.jpg</image_url>
<thumbnail_url>http://www.homesew.com/images/LABEL4T.jpg</thumbnail_url>
<description><![CDATA[ Give your projects or merchandise an extra touch of quality wih our new Made in the USA labels! Sew-in woven nylon, 3/4" X 1", in packs of 100 or 1,000. ]]></description>
<price>10.95</price>
<categories>
<category><![CDATA[Sewing/Labels/Custom Woven Labels]]></category>
</categories>
<rating>4.5</rating>
<rating_count>23</rating_count>
<sizes>
<size>
<sku><![CDATA[1000BG]]></sku>
<size_desc>1,000 Bag</size_desc>
<price>69.95</price>
</size>
<size>
<sku><![CDATA[100PK]]></sku>
<size_desc>100 Pack</size_desc>
<price>10.95</price>
<!-- This product isn't on sale but I wanted to provide an example if it was -->
<sale_price>9.95</sale_price>
</size>
</sizes>
</Product>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment