kinlane
9/17/2016 - 11:08 PM

Dynamic XML Products in Liquid

Dynamic XML Products in Liquid

---
layout: none
---
<?xml version="1.0"?>
<products>{% for product in site.data.products %}
   <product>
      <id>{{ product.id }}</id>
      <name>{{ product.name }}</name>
      <description>{{ product.description }}</description>
      <price>{{ product.price }}</price>
   </product>{% endfor %}
 </products>