Shopify Liquid

From the Directed Edge Developer Base
Revision as of 16:27, 7 October 2013 by Lucijan (talk | contribs) (Created page with "__TOC__ == Liquid Variables supported by Directed Edge == Following Liquid Variables are supported in custom templates: * groups - An array of recommendation types with following...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Liquid Variables supported by Directed Edge

Following Liquid Variables are supported in custom templates:

  • groups - An array of recommendation types with following variables
    • handle - A machine friendly identifier for the group (e.g. bundle, recommended_product, etc.)
    • label - A rendered label text (according to your settings)
    • bundle - A boolean field that indicates if this group is a bundle
    • products - An array of Products
  • bundle
    • text - Bundle's buy message (e.g. 'Buy both for 20$')
    • price - The sum of a bundles price
    • buy_link - A link that will add a bundle's products into the cart