This article is now obsolete
Please refer to Installing the Candid Shopify App to connect your store to Candid in one click.
[Initial Version, Feb/2015]
You can setup a live inventory feed with your Shopify store in 3 easy steps:
1. Clone page.liquid and rename it as page.feed.liquid. You can do this by selecting "Add a new template" under Templates and then selecting
- Create a new template for: page
- Called: feed
2. Paste the following contents into the new template and save:
{% layout none %}<?xml version="1.0" encoding="UTF-8" ?> <rss> <channel> {% paginate collections.all.products by 10000 %} {% for product in collections.all.products %} <!-- Item #{{ forloop.index }} --> <item> <title><![CDATA[{{ product.title | strip_html | strip_newlines }}]]></title> <handle>{{product.handle }}</handle> <id>{{product.id}}</id> <description><![CDATA[{{ product.description | strip_html | strip_newlines }}]]></description> <image>{{product.featured_image | product_img_url: 'large'}}</image> <link>{{shop.url}}{{product.url}}</link> <price>{{product.price | money_without_currency}}</price> <quantity>1</quantity> </item> {% endfor %} {% endpaginate %} </channel> </rss>
3. Create a new page (e.g., /pages/product-feed) using that template and email support@getcandid.com with the full URL (e.g., www.mystore.com/pages/product-feed).