Feed Templates Overview
Feeds in Finqu are used to export and share structured data from your store with external systems, partners, or services. They are commonly used for integrations such as product feeds for marketing channels (like Google Shopping or Facebook), inventory synchronization with third-party platforms, or custom exports for analytics and reporting. Feeds provide a flexible way to automate data sharing, keep external systems up to date, and enable new sales or marketing opportunities.
Finqu feed templates allow you to customize the structure and content of these data feeds, such as product or inventory feeds, using the Liquid templating language. Feeds are designed to be flexible and compatible with a wide range of integrations and export requirements.
Feed View
A feed template consists of a single view, which determines the output of the feed. There are two main concepts within the view:
- Content: Acts as a wrapper for the entire feed. This is especially important for structured feeds (such as XML or JSON), where you need to define the root element or structure. The content must include the special tag
$FEED_ITERATOR
, which is replaced with the rendered product items. - Product: Defines how each individual product (or item) is rendered within the feed. The product markup is inserted wherever
$FEED_ITERATOR
appears in the content.
Using Liquid
Feed templates use the Liquid templating language, providing a familiar interface similar to the storefront. You can access product data, use filters, and apply logic to customize the output. The available variables and filters closely match those used in store themes, making it easy to reuse your knowledge.
Special Tag: $FEED_ITERATOR
In structured feeds, the content must include the special tag $FEED_ITERATOR
. This tag is replaced with the output of the product markup for each product in the feed. Omitting this tag will result in an incomplete or invalid feed output.
Example Structure
- Content (required for structured feeds):
<products> $FEED_ITERATOR </products>
- Product:
<product> <id>{{ product.id }}</id> <title>{{ product.title }}</title> <!-- more fields --> </product>
Best Practices
- Always include
$FEED_ITERATOR
in the content for structured feeds. - Use Liquid logic and filters to format data as needed.
- Keep the output valid for the target format (XML, JSON, CSV, etc.).
- Test your feed output to ensure compatibility with integrations.
By leveraging feed templates and Liquid, you can create powerful, flexible, and integration-ready data feeds in Finqu.