Difference between revisions of "Shopify Liquid"

From the Directed Edge Developer Base
Jump to: navigation, search
(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...")
(No difference)

Revision as of 16:27, 7 October 2013

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