<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://developer.directededge.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lucijan</id>
		<title>the Directed Edge Developer Base - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://developer.directededge.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lucijan"/>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/article/Special:Contributions/Lucijan"/>
		<updated>2026-04-20T18:41:41Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.28.2</generator>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=302</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=302"/>
				<updated>2013-10-10T18:37:32Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group in a nested iteration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{ group.label }}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
    {% for product in group.products limit:5 %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;{{ product.title }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      for {{ product.price | money }}&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% else %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_link }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_text }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;br /&gt;
&lt;br /&gt;
== Stylized recommendations with CSS 3 animations ==&lt;br /&gt;
&lt;br /&gt;
The next example shows the real powers of customized templates in Directed Edge for Shopify. This example shows only the product images of the recommended products. If you hover over one of them a neat animation will enlarge that particular item and reveal a product&amp;#039;s title, price and also the original price if the product is on sale.&lt;br /&gt;
As you will see CSS-code can be directly embedded into the liquid template.&lt;br /&gt;
&lt;br /&gt;
Note hover that: &amp;#039;&amp;#039;&amp;#039;JavaScript code will be stripped out before rendering&amp;#039;&amp;#039;&amp;#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
If you need to use JavaScript it has to be embedded in the Shopify templates. You can set a callback using &amp;lt;tt&amp;gt;{% assign directed-edge-callback = &amp;#039;myJsFunction&amp;#039; %}&amp;lt;/tt&amp;gt; before including the &amp;lt;tt&amp;gt;{% include &amp;#039;directed-edge&amp;#039; %}&amp;lt;/tt&amp;gt; snippet. Since you can set element ids and classes as you need you will be able to easily manipulate the elements later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
.recommendations-label {&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommendation-group {&lt;br /&gt;
  float: left;&lt;br /&gt;
  display: block;&lt;br /&gt;
  clear: both;&lt;br /&gt;
  padding: 5px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-item {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  border: 1px solid #ddd;&lt;br /&gt;
  border-radius: 3px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.bundle-plus {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
  line-height:4em;&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container {&lt;br /&gt;
  float: left;&lt;br /&gt;
  width: 102px;&lt;br /&gt;
  line-height: 100px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container img {&lt;br /&gt;
  vertical-align: top;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-details {&lt;br /&gt;
  width: 1px;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  float: left;&lt;br /&gt;
  overflow: clip;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  transition: width 0.2s;&lt;br /&gt;
  -webkit-transition: width 0.2s; /* Safari, Chrome */&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.recommended-item:hover .recommended-details {&lt;br /&gt;
  width: 120px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.rtitle, .rprice {&lt;br /&gt;
  margin-left: 1px;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  overflow: hidden;&lt;br /&gt;
  white-space: nowrap;&lt;br /&gt;
  text-overflow: ellipsis;&lt;br /&gt;
}&lt;br /&gt;
  &lt;br /&gt;
.sale-price {&lt;br /&gt;
  text-decoration: line-through;&lt;br /&gt;
}    &lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;recommendations&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  &amp;lt;div class=&amp;quot;recommendation-group&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;recommendations-label&amp;quot;&amp;gt;{{ group.label }}&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      {% for product in group.products %}&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;recommended-item&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;recommended-image-container&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;img src=&amp;quot;{{ product.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&amp;quot; /&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;recommended-details&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;div class=&amp;quot;rtitle&amp;quot;&amp;gt;&lt;br /&gt;
              {{ product.title }}&amp;lt;br/&amp;gt;&lt;br /&gt;
              {% if product.compare_at_price_min &amp;gt; product.price_min %}&lt;br /&gt;
              &amp;lt;span class=&amp;quot;sale-price&amp;quot;&amp;gt;{{ product.compare_at_price_min | money }}&amp;lt;/span&amp;gt;&lt;br /&gt;
              {% endif %}&lt;br /&gt;
              {{ product.price | money }}&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/a&amp;gt;&lt;br /&gt;
      {% if group.bundle and product == group.products.first %}&lt;br /&gt;
      &amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;+&amp;lt;/div&amp;gt;&lt;br /&gt;
      {% endif %}&lt;br /&gt;
      {% if group.bundle and product == group.products.last %}&lt;br /&gt;
      &amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      {% endif %}&lt;br /&gt;
      {% endfor %}&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=301</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=301"/>
				<updated>2013-10-10T18:35:52Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group in a nested iteration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{ group.label }}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
    {% for product in group.products limit:5 %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;{{ product.title }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      for {{ product.price | money }}&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% else %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_link }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_text }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;br /&gt;
&lt;br /&gt;
== Stylized recommendations with CSS 3 animations ==&lt;br /&gt;
&lt;br /&gt;
The next example shows the real powers of customized templates in Directed Edge for Shopify. This example shows only the product images of the recommended products. If you hover over one of them a neat animation will enlarge that particular item and reveal a product&amp;#039;s title, price and also the original price if the product is on sale.&lt;br /&gt;
As you will see CSS-code can be directly embedded into the liquid template.&lt;br /&gt;
&lt;br /&gt;
Note hover that: &amp;#039;&amp;#039;&amp;#039;JavaScript code will be stripped out before rendering&amp;#039;&amp;#039;&amp;#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
If you need to use JavaScript it has to be embedded in the Shopify templates. You can set a callback using &amp;lt;tt&amp;gt;{% assign directed-edge-callback = &amp;#039;myJsFunction&amp;#039; %}&amp;lt;/tt&amp;gt; before including the &amp;lt;tt&amp;gt;{% include &amp;#039;directed-edge&amp;#039; %}&amp;lt;/tt&amp;gt; snippet. Since you can set element ids and classes as you need you can easily manipulate the elements later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
.recommendations-label {&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommendation-group {&lt;br /&gt;
  float: left;&lt;br /&gt;
  display: block;&lt;br /&gt;
  clear: both;&lt;br /&gt;
  padding: 5px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-item {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  border: 1px solid #ddd;&lt;br /&gt;
  border-radius: 3px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.bundle-plus {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
  line-height:4em;&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container {&lt;br /&gt;
  float: left;&lt;br /&gt;
  width: 102px;&lt;br /&gt;
  line-height: 100px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container img {&lt;br /&gt;
  vertical-align: top;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-details {&lt;br /&gt;
  width: 1px;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  float: left;&lt;br /&gt;
  overflow: clip;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  transition: width 0.2s;&lt;br /&gt;
  -webkit-transition: width 0.2s; /* Safari, Chrome */&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.recommended-item:hover .recommended-details {&lt;br /&gt;
  width: 120px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.rtitle, .rprice {&lt;br /&gt;
  margin-left: 1px;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  overflow: hidden;&lt;br /&gt;
  white-space: nowrap;&lt;br /&gt;
  text-overflow: ellipsis;&lt;br /&gt;
}&lt;br /&gt;
  &lt;br /&gt;
.sale-price {&lt;br /&gt;
  text-decoration: line-through;&lt;br /&gt;
}    &lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;recommendations&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  &amp;lt;div class=&amp;quot;recommendation-group&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;recommendations-label&amp;quot;&amp;gt;{{ group.label }}&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      {% for product in group.products %}&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;recommended-item&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;recommended-image-container&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;img src=&amp;quot;{{ product.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&amp;quot; /&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;recommended-details&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;div class=&amp;quot;rtitle&amp;quot;&amp;gt;&lt;br /&gt;
              {{ product.title }}&amp;lt;br/&amp;gt;&lt;br /&gt;
              {% if product.compare_at_price_min &amp;gt; product.price_min %}&lt;br /&gt;
              &amp;lt;span class=&amp;quot;sale-price&amp;quot;&amp;gt;{{ product.compare_at_price_min | money }}&amp;lt;/span&amp;gt;&lt;br /&gt;
              {% endif %}&lt;br /&gt;
              {{ product.price | money }}&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/a&amp;gt;&lt;br /&gt;
      {% if group.bundle and product == group.products.first %}&lt;br /&gt;
      &amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;+&amp;lt;/div&amp;gt;&lt;br /&gt;
      {% endif %}&lt;br /&gt;
      {% if group.bundle and product == group.products.last %}&lt;br /&gt;
      &amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      {% endif %}&lt;br /&gt;
      {% endfor %}&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=300</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=300"/>
				<updated>2013-10-10T18:34:58Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group in a nested iteration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{ group.label }}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
    {% for product in group.products limit:5 %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;{{ product.title }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      for {{ product.price | money }}&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% else %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_link }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_text }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;br /&gt;
&lt;br /&gt;
== Stylized recommendations with CSS 3 animations ==&lt;br /&gt;
&lt;br /&gt;
The next example shows the real powers of customized templates in Directed Edge for Shopify. This example shows only the product images of the recommended products. If you hover over one of them a neat animation will enlarge that particular item and reveal a product&amp;#039;s title, price and also the original price if the product is on sale.&lt;br /&gt;
As you will see CSS-code can be directly embedded into the liquid template.&lt;br /&gt;
&lt;br /&gt;
Note hover that: &amp;#039;&amp;#039;&amp;#039;JavaScript code will be stripped out before rendering&amp;#039;&amp;#039;&amp;#039;. If you need to use JavaScript it has to be embedded in the Shopify templates. You can set a callback using &amp;lt;tt&amp;gt;{% assign directed-edge-callback = &amp;#039;myJsFunction&amp;#039; %}&amp;lt;/tt&amp;gt; before including the &amp;lt;tt&amp;gt;{% include &amp;#039;directed-edge&amp;#039; %}&amp;lt;/tt&amp;gt; snippet. Since you can set element ids and classes as you need you can easily manipulate the elements later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
.recommendations-label {&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommendation-group {&lt;br /&gt;
  float: left;&lt;br /&gt;
  display: block;&lt;br /&gt;
  clear: both;&lt;br /&gt;
  padding: 5px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-item {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  border: 1px solid #ddd;&lt;br /&gt;
  border-radius: 3px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.bundle-plus {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
  line-height:4em;&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container {&lt;br /&gt;
  float: left;&lt;br /&gt;
  width: 102px;&lt;br /&gt;
  line-height: 100px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container img {&lt;br /&gt;
  vertical-align: top;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-details {&lt;br /&gt;
  width: 1px;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  float: left;&lt;br /&gt;
  overflow: clip;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  transition: width 0.2s;&lt;br /&gt;
  -webkit-transition: width 0.2s; /* Safari, Chrome */&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.recommended-item:hover .recommended-details {&lt;br /&gt;
  width: 120px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.rtitle, .rprice {&lt;br /&gt;
  margin-left: 1px;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  overflow: hidden;&lt;br /&gt;
  white-space: nowrap;&lt;br /&gt;
  text-overflow: ellipsis;&lt;br /&gt;
}&lt;br /&gt;
  &lt;br /&gt;
.sale-price {&lt;br /&gt;
  text-decoration: line-through;&lt;br /&gt;
}    &lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;recommendations&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  &amp;lt;div class=&amp;quot;recommendation-group&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;recommendations-label&amp;quot;&amp;gt;{{ group.label }}&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      {% for product in group.products %}&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;recommended-item&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;recommended-image-container&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;img src=&amp;quot;{{ product.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&amp;quot; /&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;recommended-details&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;div class=&amp;quot;rtitle&amp;quot;&amp;gt;&lt;br /&gt;
              {{ product.title }}&amp;lt;br/&amp;gt;&lt;br /&gt;
              {% if product.compare_at_price_min &amp;gt; product.price_min %}&lt;br /&gt;
              &amp;lt;span class=&amp;quot;sale-price&amp;quot;&amp;gt;{{ product.compare_at_price_min | money }}&amp;lt;/span&amp;gt;&lt;br /&gt;
              {% endif %}&lt;br /&gt;
              {{ product.price | money }}&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/a&amp;gt;&lt;br /&gt;
      {% if group.bundle and product == group.products.first %}&lt;br /&gt;
      &amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;+&amp;lt;/div&amp;gt;&lt;br /&gt;
      {% endif %}&lt;br /&gt;
      {% if group.bundle and product == group.products.last %}&lt;br /&gt;
      &amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      {% endif %}&lt;br /&gt;
      {% endfor %}&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=299</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=299"/>
				<updated>2013-10-10T18:34:14Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group in a nested iteration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{ group.label }}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
    {% for product in group.products limit:5 %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;{{ product.title }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      for {{ product.price | money }}&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% else %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_link }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_text }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;br /&gt;
&lt;br /&gt;
== Stylized recommendations with CSS 3 animations ==&lt;br /&gt;
&lt;br /&gt;
The next example shows the real powers of customized templates in Directed Edge for Shopify. This example shows only the product images of the recommended products. If you hover over one of them a neat animation will enlarge that particular item and reveal a product&amp;#039;s title, price and also the original price if the product is on sale.&lt;br /&gt;
As you will see CSS-code can be directly embedded into the liquid template.&lt;br /&gt;
Note hover that: &amp;#039;&amp;#039;&amp;#039;JavaScript code will be stripped out before rendering&amp;#039;&amp;#039;&amp;#039;. If you need to use JavaScript it has to be embedded in the Shopify templates. You can set a callback using &amp;lt;tt&amp;gt;{% assign directed-edge-callback = &amp;#039;myJsFunction&amp;#039; %}&amp;lt;/tt&amp;gt; before including the &amp;lt;tt&amp;gt;{% include &amp;#039;directed-edge&amp;#039; %}&amp;lt;/tt&amp;gt; snippet. Since you can set element ids and classes as you need you can easily manipulate the elements later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
.recommendations-label {&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommendation-group {&lt;br /&gt;
  float: left;&lt;br /&gt;
  display: block;&lt;br /&gt;
  clear: both;&lt;br /&gt;
  padding: 5px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-item {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  border: 1px solid #ddd;&lt;br /&gt;
  border-radius: 3px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.bundle-plus {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
  line-height:4em;&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container {&lt;br /&gt;
  float: left;&lt;br /&gt;
  width: 102px;&lt;br /&gt;
  line-height: 100px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container img {&lt;br /&gt;
  vertical-align: top;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-details {&lt;br /&gt;
  width: 1px;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  float: left;&lt;br /&gt;
  overflow: clip;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  transition: width 0.2s;&lt;br /&gt;
  -webkit-transition: width 0.2s; /* Safari, Chrome */&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.recommended-item:hover .recommended-details {&lt;br /&gt;
  width: 120px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.rtitle, .rprice {&lt;br /&gt;
  margin-left: 1px;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  overflow: hidden;&lt;br /&gt;
  white-space: nowrap;&lt;br /&gt;
  text-overflow: ellipsis;&lt;br /&gt;
}&lt;br /&gt;
  &lt;br /&gt;
.sale-price {&lt;br /&gt;
  text-decoration: line-through;&lt;br /&gt;
}    &lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;recommendations&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  &amp;lt;div class=&amp;quot;recommendation-group&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;recommendations-label&amp;quot;&amp;gt;{{ group.label }}&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      {% for product in group.products %}&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;recommended-item&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;recommended-image-container&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;img src=&amp;quot;{{ product.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&amp;quot; /&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;recommended-details&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;div class=&amp;quot;rtitle&amp;quot;&amp;gt;&lt;br /&gt;
              {{ product.title }}&amp;lt;br/&amp;gt;&lt;br /&gt;
              {% if product.compare_at_price_min &amp;gt; product.price_min %}&lt;br /&gt;
              &amp;lt;span class=&amp;quot;sale-price&amp;quot;&amp;gt;{{ product.compare_at_price_min | money }}&amp;lt;/span&amp;gt;&lt;br /&gt;
              {% endif %}&lt;br /&gt;
              {{ product.price | money }}&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/a&amp;gt;&lt;br /&gt;
      {% if group.bundle and product == group.products.first %}&lt;br /&gt;
      &amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;+&amp;lt;/div&amp;gt;&lt;br /&gt;
      {% endif %}&lt;br /&gt;
      {% if group.bundle and product == group.products.last %}&lt;br /&gt;
      &amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      {% endif %}&lt;br /&gt;
      {% endfor %}&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=298</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=298"/>
				<updated>2013-10-10T18:33:16Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group in a nested iteration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{ group.label }}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
    {% for product in group.products limit:5 %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;{{ product.title }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      for {{ product.price | money }}&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% else %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_link }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_text }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;br /&gt;
&lt;br /&gt;
== Stylized recommendations with CSS 3 animations ==&lt;br /&gt;
&lt;br /&gt;
The next example shows the real powers of customized templates in Directed Edge for Shopify. This example shows only the product images of the recommended products. If you hover over one of them a neat animation will enlarge that particular item and reveal the product&amp;#039;s title, price and also the original price if the product is on sale.&lt;br /&gt;
As you will see CSS-code can be directly embedded into the liquid template. Note hover that: &amp;#039;&amp;#039;&amp;#039;JavaScript code will be stripped out before rendering&amp;#039;&amp;#039;&amp;#039;. If you need to use JavaScript it has to be embedded in the Shopify templates. You can set a callback using &amp;lt;tt&amp;gt;{% assign directed-edge-callback = &amp;#039;myJsFunction&amp;#039; %}&amp;lt;/tt&amp;gt; before including the &amp;lt;tt&amp;gt;{% include &amp;#039;directed-edge&amp;#039; %}&amp;lt;/tt&amp;gt; snippet. Since you can set element ids and classes as you need you can easily manipulate the elements later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
.recommendations-label {&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommendation-group {&lt;br /&gt;
  float: left;&lt;br /&gt;
  display: block;&lt;br /&gt;
  clear: both;&lt;br /&gt;
  padding: 5px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-item {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  border: 1px solid #ddd;&lt;br /&gt;
  border-radius: 3px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.bundle-plus {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
  line-height:4em;&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container {&lt;br /&gt;
  float: left;&lt;br /&gt;
  width: 102px;&lt;br /&gt;
  line-height: 100px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container img {&lt;br /&gt;
  vertical-align: top;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-details {&lt;br /&gt;
  width: 1px;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  float: left;&lt;br /&gt;
  overflow: clip;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  transition: width 0.2s;&lt;br /&gt;
  -webkit-transition: width 0.2s; /* Safari, Chrome */&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.recommended-item:hover .recommended-details {&lt;br /&gt;
  width: 120px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.rtitle, .rprice {&lt;br /&gt;
  margin-left: 1px;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  overflow: hidden;&lt;br /&gt;
  white-space: nowrap;&lt;br /&gt;
  text-overflow: ellipsis;&lt;br /&gt;
}&lt;br /&gt;
  &lt;br /&gt;
.sale-price {&lt;br /&gt;
  text-decoration: line-through;&lt;br /&gt;
}    &lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;recommendations&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  &amp;lt;div class=&amp;quot;recommendation-group&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;recommendations-label&amp;quot;&amp;gt;{{ group.label }}&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      {% for product in group.products %}&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;recommended-item&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;recommended-image-container&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;img src=&amp;quot;{{ product.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&amp;quot; /&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;recommended-details&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;div class=&amp;quot;rtitle&amp;quot;&amp;gt;&lt;br /&gt;
              {{ product.title }}&amp;lt;br/&amp;gt;&lt;br /&gt;
              {% if product.compare_at_price_min &amp;gt; product.price_min %}&lt;br /&gt;
              &amp;lt;span class=&amp;quot;sale-price&amp;quot;&amp;gt;{{ product.compare_at_price_min | money }}&amp;lt;/span&amp;gt;&lt;br /&gt;
              {% endif %}&lt;br /&gt;
              {{ product.price | money }}&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/a&amp;gt;&lt;br /&gt;
      {% if group.bundle and product == group.products.first %}&lt;br /&gt;
      &amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;+&amp;lt;/div&amp;gt;&lt;br /&gt;
      {% endif %}&lt;br /&gt;
      {% if group.bundle and product == group.products.last %}&lt;br /&gt;
      &amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      {% endif %}&lt;br /&gt;
      {% endfor %}&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=297</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=297"/>
				<updated>2013-10-10T18:18:20Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group in a nested iteration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{ group.label }}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
    {% for product in group.products limit:5 %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;{{ product.title }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      for {{ product.price | money }}&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% else %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_link }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_text }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;br /&gt;
&lt;br /&gt;
== Styled recommendations with CSS 3 animations ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
.recommendations-label {&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommendation-group {&lt;br /&gt;
  float: left;&lt;br /&gt;
  display: block;&lt;br /&gt;
  clear: both;&lt;br /&gt;
  padding: 5px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-item {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  border: 1px solid #ddd;&lt;br /&gt;
  border-radius: 3px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.bundle-plus {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
  line-height:4em;&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container {&lt;br /&gt;
  float: left;&lt;br /&gt;
  width: 102px;&lt;br /&gt;
  line-height: 100px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container img {&lt;br /&gt;
  vertical-align: top;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-details {&lt;br /&gt;
  width: 1px;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  float: left;&lt;br /&gt;
  overflow: clip;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  transition: width 0.2s;&lt;br /&gt;
  -webkit-transition: width 0.2s; /* Safari, Chrome */&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.recommended-item:hover .recommended-details {&lt;br /&gt;
  width: 120px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.rtitle, .rprice {&lt;br /&gt;
  margin-left: 1px;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  overflow: hidden;&lt;br /&gt;
  white-space: nowrap;&lt;br /&gt;
  text-overflow: ellipsis;&lt;br /&gt;
}&lt;br /&gt;
  &lt;br /&gt;
.sale-price {&lt;br /&gt;
  text-decoration: line-through;&lt;br /&gt;
}    &lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;recommendations&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  &amp;lt;div class=&amp;quot;recommendation-group&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;span class=&amp;quot;recommendations-label&amp;quot;&amp;gt;{{ group.label }}&amp;lt;/span&amp;gt;&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
      {% for product in group.products %}&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;recommended-item&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;recommended-image-container&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;img src=&amp;quot;{{ product.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&amp;quot; /&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;recommended-details&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;div class=&amp;quot;rtitle&amp;quot;&amp;gt;&lt;br /&gt;
              {{ product.title }}&amp;lt;br/&amp;gt;&lt;br /&gt;
              {% if product.compare_at_price_min &amp;gt; product.price_min %}&lt;br /&gt;
              &amp;lt;span class=&amp;quot;sale-price&amp;quot;&amp;gt;{{ product.compare_at_price_min | money }}&amp;lt;/span&amp;gt;&lt;br /&gt;
              {% endif %}&lt;br /&gt;
              {{ product.price | money }}&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/a&amp;gt;&lt;br /&gt;
      {% if group.bundle and product == group.products.first %}&lt;br /&gt;
      &amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;+&amp;lt;/div&amp;gt;&lt;br /&gt;
      {% endif %}&lt;br /&gt;
      {% if group.bundle and product == group.products.last %}&lt;br /&gt;
      &amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      {% endif %}&lt;br /&gt;
      {% endfor %}&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=296</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=296"/>
				<updated>2013-10-10T18:15:18Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group in a nested iteration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{ group.label }}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
    {% for product in group.products limit:5 %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;{{ product.title }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      for {{ product.price | money }}&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% else %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_link }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_text }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;br /&gt;
&lt;br /&gt;
== Styled recommendations with CSS 3 animations ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
.recommendations-label {&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommendation-group {&lt;br /&gt;
  float: left;&lt;br /&gt;
  display: block;&lt;br /&gt;
  clear: both;&lt;br /&gt;
  padding: 5px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-item {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  border: 1px solid #ddd;&lt;br /&gt;
  border-radius: 3px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.bundle-plus {&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  float: left;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  padding: 3px;&lt;br /&gt;
  margin: 3px;&lt;br /&gt;
  font-family: Arial, sans-serif;&lt;br /&gt;
  font-size: 2em;&lt;br /&gt;
  line-height:4em;&lt;br /&gt;
  vertical-align: middle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container {&lt;br /&gt;
  float: left;&lt;br /&gt;
  width: 102px;&lt;br /&gt;
  line-height: 100px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-image-container img {&lt;br /&gt;
  vertical-align: top;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.recommended-details {&lt;br /&gt;
  width: 1px;&lt;br /&gt;
  height: 102px;&lt;br /&gt;
  float: left;&lt;br /&gt;
  overflow: clip;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  transition: width 0.2s;&lt;br /&gt;
  -webkit-transition: width 0.2s; /* Safari, Chrome */&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.recommended-item:hover .recommended-details {&lt;br /&gt;
  width: 120px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.rtitle, .rprice {&lt;br /&gt;
  margin-left: 1px;&lt;br /&gt;
  text-align: left;&lt;br /&gt;
  overflow: hidden;&lt;br /&gt;
  white-space: nowrap;&lt;br /&gt;
  text-overflow: ellipsis;&lt;br /&gt;
}&lt;br /&gt;
  &lt;br /&gt;
.sale-price {&lt;br /&gt;
  text-decoration: line-through;&lt;br /&gt;
}    &lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;recommendations&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
    &amp;lt;div class=&amp;quot;recommendation-group&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;span class=&amp;quot;recommendations-label&amp;quot;&amp;gt;{{ group.label }}&amp;lt;/span&amp;gt;&lt;br /&gt;
		&amp;lt;ul&amp;gt;&lt;br /&gt;
		{% for product in group.products %}&lt;br /&gt;
		&amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;div class=&amp;quot;recommended-item&amp;quot;&amp;gt;&lt;br /&gt;
          	&amp;lt;div class=&amp;quot;recommended-image-container&amp;quot;&amp;gt;&lt;br /&gt;
			  &amp;lt;img src=&amp;quot;{{ product.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&amp;quot; /&amp;gt;&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
			&amp;lt;div class=&amp;quot;recommended-details&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;div class=&amp;quot;rtitle&amp;quot;&amp;gt;&lt;br /&gt;
                {{ product.title }}&amp;lt;br/&amp;gt;&lt;br /&gt;
                {% if product.compare_at_price_min &amp;gt; product.price_min %}&lt;br /&gt;
                &amp;lt;span class=&amp;quot;sale-price&amp;quot;&amp;gt;{{ product.compare_at_price_min | money }}&amp;lt;/span&amp;gt;&lt;br /&gt;
                {% endif %}&lt;br /&gt;
				{{ product.price | money }}&lt;br /&gt;
              &amp;lt;/div&amp;gt;&lt;br /&gt;
	    	&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;/a&amp;gt;&lt;br /&gt;
          {% if group.bundle and product == group.products.first %}&lt;br /&gt;
          &amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;+&amp;lt;/div&amp;gt;&lt;br /&gt;
          {% endif %}&lt;br /&gt;
          {% if group.bundle and product == group.products.last %}&lt;br /&gt;
          	&amp;lt;div class=&amp;quot;bundle-plus&amp;quot;&amp;gt;&lt;br /&gt;
          	  &amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&lt;br /&gt;
          	&amp;lt;/div&amp;gt;&lt;br /&gt;
          {% endif %}&lt;br /&gt;
  		{% endfor %}&lt;br /&gt;
		&amp;lt;/ul&amp;gt;&lt;br /&gt;
  	&amp;lt;/div&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=295</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=295"/>
				<updated>2013-10-10T17:58:56Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group in a nested iteration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{ group.label }}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
    {% for product in group.products limit:5 %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;{{ product.title }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      for {{ product.price | money }}&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% else %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_link }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{ bundle.buy_text }}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=294</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=294"/>
				<updated>2013-10-10T17:58:28Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group in a nested iteration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{ group.label }}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{ bundle.buy_link }}&amp;quot;&amp;gt;{{ bundle.text }}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
    {% for product in group.products limit:5 %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{ product.url }}&amp;quot;&amp;gt;{{ product.title }}&amp;lt;/a&amp;gt;&lt;br /&gt;
      for {{ product.price | money }}&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% else %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{bundle.buy_link}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{bundle.buy_text}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=293</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=293"/>
				<updated>2013-10-10T17:57:50Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group in a nested iteration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{group.label}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{bundle.buy_link}}&amp;quot;&amp;gt;{{bundle.text}}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
    {% for product in group.products limit:5 %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{product.url}}&amp;quot;&amp;gt;{{product.title}}&amp;lt;/a&amp;gt;&lt;br /&gt;
      for {{product.price | money}}&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% else %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{bundle.buy_link}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{bundle.buy_text}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=292</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=292"/>
				<updated>2013-10-10T17:57:32Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group in a nested iteration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{group.label}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{bundle.buy_link}}&amp;quot;&amp;gt;{{bundle.text}}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
    {% for product in group.products limit:5%}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
      &amp;lt;a href=&amp;quot;{{product.url}}&amp;quot;&amp;gt;{{product.title}}&amp;lt;/a&amp;gt;&lt;br /&gt;
      for {{product.price | money}}&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% else %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{bundle.buy_link}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{bundle.buy_text}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=291</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=291"/>
				<updated>2013-10-10T17:57:02Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group in a nested iteration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{group.label}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
  &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{bundle.buy_link}}&amp;quot;&amp;gt;{{bundle.text}}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
  {% for product in group.products limit:5%}&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;a href=&amp;quot;{{product.url}}&amp;quot;&amp;gt;{{product.title}}&amp;lt;/a&amp;gt;&lt;br /&gt;
    for {{product.price | money}}&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% else %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{bundle.buy_link}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{bundle.buy_text}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=290</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=290"/>
				<updated>2013-10-10T17:55:54Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{group.label}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
  &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{bundle.buy_link}}&amp;quot;&amp;gt;{{bundle.text}}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
  {% for product in group.products limit:5%}&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;a href=&amp;quot;{{product.url}}&amp;quot;&amp;gt;{{product.title}}&amp;lt;/a&amp;gt;&lt;br /&gt;
    for {{product.price | money}}&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{bundle.buy_link}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{bundle.buy_text}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=289</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=289"/>
				<updated>2013-10-10T17:52:32Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This basic example demonstrates iterating through different recommendation types (called &amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{group.label}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
  &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{bundle.buy_link}}&amp;quot;&amp;gt;{{bundle.text}}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
  {% for product in group.products limit:5%}&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;a href=&amp;quot;{{product.url}}&amp;quot;&amp;gt;{{product.title}}&amp;lt;/a&amp;gt;&lt;br /&gt;
    for {{product.price | money}}&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt;{% if group.bundle %}…{% endif %}&amp;lt;/tt&amp;gt; block we handle the special case of a group being a bundle. In this case we want to have a different link &amp;lt;tt&amp;gt;{{bundle.buy_link}}&amp;lt;/tt&amp;gt; that adds the bundled products to the basket. Also we want to show a message &amp;lt;tt&amp;gt;{{bundle.buy_text}}&amp;lt;/tt&amp;gt; that contains the price of the whole bundle. For more information on bundles see the [[Shopify_Liquid|Variable Reference]].&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=288</id>
		<title>Shopify Liquid Examples</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid_Examples&amp;diff=288"/>
				<updated>2013-10-10T17:43:17Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: Created page with &amp;quot;== Basic Example (Textual output) == This first example demonstrates iterating through different recommendation types (&amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Example (Textual output) ==&lt;br /&gt;
This first example demonstrates iterating through different recommendation types (&amp;lt;tt&amp;gt;groups&amp;lt;/tt&amp;gt;) and listing a maximum of five recommended products per group:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
&amp;lt;h3&amp;gt;{{group.label}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
  &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;{{bundle.buy_link}}&amp;quot;&amp;gt;{{bundle.text}}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  {% else %}&lt;br /&gt;
  {% for product in group.products limit:5%}&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;a href=&amp;quot;{{product.url}}&amp;quot;&amp;gt;{{product.title}}&amp;lt;/a&amp;gt;&lt;br /&gt;
    for {{product.price | money}}&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
  {% endif %}&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=275</id>
		<title>Shopify Liquid</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=275"/>
				<updated>2013-10-10T00:30:21Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Liquid Variables supported by Directed Edge ==&lt;br /&gt;
=== groups ===&lt;br /&gt;
The liquid variable groups contain all recommendation types that are available for the requested page. Each group has following properties:&lt;br /&gt;
{| class=&amp;quot;variable-ref-table&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| label || A formatted label of the group. E.g. &amp;#039;Recommended Items&amp;#039;, &amp;#039;Recently Viewed&amp;#039;, etc. Those labels can be customized in the [http://shopify.directededge.com/settings#styling Directed Edge for Shopify Appearance Settings] page.&lt;br /&gt;
|-&lt;br /&gt;
| handle || A machine friendly identifier for the group (e.g. bundle, recommended_product, etc.)&lt;br /&gt;
|-&lt;br /&gt;
| products || A list of products that are recommended for this group.&lt;br /&gt;
The following example would print title and price of all products in all available groups:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
  {% for product in group.products %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;b&amp;gt;{{ product.title }}&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
    {{ product.price | money }}&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
A detailed description of all product&amp;#039;s properties can be found [http://docs.shopify.com/themes/liquid-variables/product here].&lt;br /&gt;
|-&lt;br /&gt;
| bundle || A boolean field that indicates if this group is a bundle. This is useful to render custom content for that particular group. The following snippet would display both product images separated by a plus sign and followed by a equals sign and the bundle price:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    {{ group.products.first.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&lt;br /&gt;
    +&lt;br /&gt;
    {{ group.products.last.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&lt;br /&gt;
    =&lt;br /&gt;
    {{ bundle.price }}&lt;br /&gt;
  {% else %}&lt;br /&gt;
    &amp;lt;!-- render other content here --&amp;gt;&lt;br /&gt;
  {% endif %}&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== bundle ===&lt;br /&gt;
The bundle variable is used to access supplementary information about bundles&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| text || Bundle&amp;#039;s buy message (e.g. &amp;#039;Buy both for 20$&amp;#039;) which can be adjusted in the [http://shopify.directededge.com/settings#bundle Directed Edge for Shopify Bundle Settings] page.&lt;br /&gt;
|-&lt;br /&gt;
| price || The total price of a bundle calculated using the method specified in the [http://shopify.directededge.com/settings#bundle Directed Edge for Shopify Bundle Settings] page. As any price it can be formatted with the price filter (e.g. &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;{{ bundle.price | money }}&amp;lt;/source&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| buy_link || A link that will add both products to the shopping cart and will present the user a product variant chooser if necessary.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=274</id>
		<title>Shopify Liquid</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=274"/>
				<updated>2013-10-10T00:23:53Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Liquid Variables supported by Directed Edge ==&lt;br /&gt;
=== groups ===&lt;br /&gt;
The liquid variable groups contain all recommendation types that are available for the requested page. Each group has following properties:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| label || A formatted label of the group. E.g. &amp;#039;Recommended Items&amp;#039;, &amp;#039;Recently Viewed&amp;#039;, etc. Those labels can be customized in the [http://shopify.directededge.com/settings#styling Directed Edge for Shopify Appearance Settings] page.&lt;br /&gt;
|-&lt;br /&gt;
| handle || A machine friendly identifier for the group (e.g. bundle, recommended_product, etc.)&lt;br /&gt;
|-&lt;br /&gt;
| products || A list of products that are recommended for this group.&lt;br /&gt;
The following example would print title and price of all products in all available groups:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
  {% for product in group.products %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;b&amp;gt;{{ product.title }}&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
    {{ product.price | money }}&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
A detailed description of all product&amp;#039;s properties can be found [http://docs.shopify.com/themes/liquid-variables/product here].&lt;br /&gt;
|-&lt;br /&gt;
| bundle || A boolean field that indicates if this group is a bundle. This is useful to render custom content for that particular group. The following snippet would display both product images separated by a plus sign and followed by a equals sign and the bundle price:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    {{ group.products.first.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&lt;br /&gt;
    +&lt;br /&gt;
    {{ group.products.last.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&lt;br /&gt;
    =&lt;br /&gt;
    {{ bundle.price }}&lt;br /&gt;
  {% else %}&lt;br /&gt;
    &amp;lt;!-- render other content here --&amp;gt;&lt;br /&gt;
  {% endif %}&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== bundle ===&lt;br /&gt;
The bundle variable is used to access supplementary information about bundles&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| text || Bundle&amp;#039;s buy message (e.g. &amp;#039;Buy both for 20$&amp;#039;) which can be adjusted in the [http://shopify.directededge.com/settings#bundle Directed Edge for Shopify Bundle Settings] page.&lt;br /&gt;
|-&lt;br /&gt;
| price || The total price of a bundle calculated using the method specified in the [http://shopify.directededge.com/settings#bundle Directed Edge for Shopify Bundle Settings] page. As any price it can be formatted with the price filter (e.g. &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;{{ bundle.price | money }}&amp;lt;/source&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| buy_link || A link that will add both products to the shopping cart and will present the user a product variant chooser if necessary.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=273</id>
		<title>Shopify Liquid</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=273"/>
				<updated>2013-10-10T00:22:17Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Liquid Variables supported by Directed Edge ==&lt;br /&gt;
=== groups ===&lt;br /&gt;
The liquid variable groups contain all recommendation types that are available for the requested page.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  {{ group.label }}&lt;br /&gt;
  &amp;lt;ul&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Each group has following properties:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| label || A formatted label of the group. E.g. &amp;#039;Recommended Items&amp;#039;, &amp;#039;Recently Viewed&amp;#039;, etc. Those labels can be customized in the [http://shopify.directededge.com/settings#styling Directed Edge for Shopify Appearance Settings] page.&lt;br /&gt;
|-&lt;br /&gt;
| handle || A machine friendly identifier for the group (e.g. bundle, recommended_product, etc.)&lt;br /&gt;
|-&lt;br /&gt;
| products || A list of products that are recommended for this group.&lt;br /&gt;
The following example would print title and price of all products in all available groups:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
  {% for product in group.products %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;b&amp;gt;{{ product.title }}&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
    {{ product.price | money }}&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
A detailed description of all product&amp;#039;s properties can be found [http://docs.shopify.com/themes/liquid-variables/product here].&lt;br /&gt;
|-&lt;br /&gt;
| bundle || A boolean field that indicates if this group is a bundle. This is useful to render custom content for that particular group. The following snippet would display both product images separated by a plus sign and followed by a equals sign and the bundle price:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    {{ group.products.first.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&lt;br /&gt;
    +&lt;br /&gt;
    {{ group.products.last.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&lt;br /&gt;
    =&lt;br /&gt;
    {{ bundle.price }}&lt;br /&gt;
  {% else %}&lt;br /&gt;
    &amp;lt;!-- render other content here --&amp;gt;&lt;br /&gt;
  {% endif %}&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== bundle ===&lt;br /&gt;
The bundle variable is used to access supplementary information about bundles&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| text || Bundle&amp;#039;s buy message (e.g. &amp;#039;Buy both for 20$&amp;#039;) which can be adjusted in the [http://shopify.directededge.com/settings#bundle Directed Edge for Shopify Bundle Settings] page.&lt;br /&gt;
|-&lt;br /&gt;
| price || The total price of a bundle calculated using the method specified in the [http://shopify.directededge.com/settings#bundle Directed Edge for Shopify Bundle Settings] page. As any price it can be formatted with the price filter (e.g. &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;{{ bundle.price | money }}&amp;lt;/source&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| buy_link || A link that will add both products to the shopping cart and will present the user a product variant chooser if necessary.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=272</id>
		<title>Shopify Liquid</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=272"/>
				<updated>2013-10-10T00:20:52Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
== Liquid Variables supported by Directed Edge ==&lt;br /&gt;
=== groups ===&lt;br /&gt;
The liquid variable groups contain all recommendation types that are available for the requested page.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  {{ group.label }}&lt;br /&gt;
  &amp;lt;ul&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Each group has following properties:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| label || A formatted label of the group. E.g. &amp;#039;Recommended Items&amp;#039;, &amp;#039;Recently Viewed&amp;#039;, etc. Those labels can be customized in the [http://shopify.directededge.com/settings#styling Directed Edge for Shopify Appearance Settings] page.&lt;br /&gt;
|-&lt;br /&gt;
| handle || A machine friendly identifier for the group (e.g. bundle, recommended_product, etc.)&lt;br /&gt;
|-&lt;br /&gt;
| products || A list of products that are recommended for this group.&lt;br /&gt;
The following example would print title and price of all products in all available groups:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
  {% for product in group.products %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;b&amp;gt;{{ product.title }}&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
    {{ product.price | money }}&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
A detailed description of all product&amp;#039;s properties can be found [http://docs.shopify.com/themes/liquid-variables/product here].&lt;br /&gt;
|-&lt;br /&gt;
| bundle || A boolean field that indicates if this group is a bundle. This is useful to render custom content for that particular group. The following snippet would display both product images separated by a plus sign and followed by a equals sign and the bundle price:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    {{ group.products.first.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&lt;br /&gt;
    +&lt;br /&gt;
    {{ group.products.last.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&lt;br /&gt;
    =&lt;br /&gt;
    {{ bundle.price }}&lt;br /&gt;
  {% else %}&lt;br /&gt;
    &amp;lt;!-- render other content here --&amp;gt;&lt;br /&gt;
  {% endif %}&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== bundle ===&lt;br /&gt;
The bundle variable is used to access supplementary information about bundles&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| text || Bundle&amp;#039;s buy message (e.g. &amp;#039;Buy both for 20$&amp;#039;) which can be adjusted in the [http://shopify.directededge.com/settings#bundle Directed Edge for Shopify Bundle Settings] page.&lt;br /&gt;
|-&lt;br /&gt;
| price || The total price of a bundle calculated using the method specified in the [http://shopify.directededge.com/settings#bundle Directed Edge for Shopify Bundle Settings] page. As any price it can be formatted with the price filter (e.g. &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;{{ bundle.price | money }}&amp;lt;/source&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| buy_link || A link that will add both products to the shopping cart and will present the user a product variant chooser if necessary.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Simple example&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=271</id>
		<title>Shopify Liquid</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=271"/>
				<updated>2013-10-10T00:19:58Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
== Liquid Variables supported by Directed Edge ==&lt;br /&gt;
=== groups ===&lt;br /&gt;
The liquid variable groups contain all recommendation types that are available for the requested page.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  {{ group.label }}&lt;br /&gt;
  &amp;lt;ul&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Each group has following properties:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| label || A formatted label of the group. E.g. &amp;#039;Recommended Items&amp;#039;, &amp;#039;Recently Viewed&amp;#039;, etc. Those labels can be customized in the [http://shopify.directededge.com/settings#styling Directed Edge for Shopify Appearance Settings] page.&lt;br /&gt;
|-&lt;br /&gt;
| handle || A machine friendly identifier for the group (e.g. bundle, recommended_product, etc.)&lt;br /&gt;
|-&lt;br /&gt;
| products || A list of products that are recommended for this group.&lt;br /&gt;
The following example would print title and price of all products in all available groups:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
  {% for product in group.products %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;b&amp;gt;{{ product.title }}&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
    {{ product.price | money }}&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
A detailed description of all product&amp;#039;s properties can be found [http://docs.shopify.com/themes/liquid-variables/product here].&lt;br /&gt;
|-&lt;br /&gt;
| bundle || A boolean field that indicates if this group is a bundle. This is useful to render custom content for that particular group. The following snippet would display both product images separated by a plus sign and followed by a equals sign and the bundle price:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  {% if group.bundle %}&lt;br /&gt;
    {{ group.products.first.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&lt;br /&gt;
    +&lt;br /&gt;
    {{ group.products.last.featured_image | product_img_url: &amp;#039;small&amp;#039; }}&lt;br /&gt;
    =&lt;br /&gt;
    {{ bundle.price }}&lt;br /&gt;
  {% else %}&lt;br /&gt;
    &amp;lt;!-- render other content here --&amp;gt;&lt;br /&gt;
  {% endif %}&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== bundle ===&lt;br /&gt;
The bundle variable is used to access supplementary information about bundles&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| text | Bundle&amp;#039;s buy message (e.g. &amp;#039;Buy both for 20$&amp;#039;) which can be adjusted in the [http://shopify.directededge.com/settings#bundle Directed Edge for Shopify Bundle Settings] page.&lt;br /&gt;
|-&lt;br /&gt;
| price | The total price of a bundle calculated using the method specified in the [http://shopify.directededge.com/settings#bundle Directed Edge for Shopify Bundle Settings] page. As any price it can be formatted with the price filter (e.g. &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;{{ bundle.price | money }}&amp;lt;/source&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| buy_link | A link that will add both products to the shopping cart and will present the user a product variant chooser if necessary.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Simple example&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=270</id>
		<title>Shopify Liquid</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=270"/>
				<updated>2013-10-10T00:01:34Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
== Liquid Variables supported by Directed Edge ==&lt;br /&gt;
=== groups ===&lt;br /&gt;
The liquid variable groups contain all recommendation types that are available for the requested page.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  {{ group.label }}&lt;br /&gt;
  &amp;lt;ul&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Each group has following properties:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| label || A formatted label of the group. E.g. &amp;#039;Recommended Items&amp;#039;, &amp;#039;Recently Viewed&amp;#039;, etc. Those labels can be customized in the [http://shopify.directededge.com/settings#styling Directed Edge for Shopify Appearance Settings] page.&lt;br /&gt;
|-&lt;br /&gt;
| handle || A machine friendly identifier for the group (e.g. bundle, recommended_product, etc.).&lt;br /&gt;
|-&lt;br /&gt;
| products || A list of products that are recommended in this category.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
{% for group in groups %}&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
  {% for product in group.products %}&lt;br /&gt;
    &amp;lt;li&amp;gt;&lt;br /&gt;
    &amp;lt;b&amp;gt;{{ product.title }}&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
    {{ product.price | money }}&lt;br /&gt;
  {% endfor %}&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
{% endfor %}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| bundle || A boolean field that indicates if this group is a bundle&lt;br /&gt;
|}&lt;br /&gt;
Following Liquid Variables are supported in custom templates:&lt;br /&gt;
* groups - An array of recommendation types with following variables&lt;br /&gt;
** handle - A machine friendly identifier for the group (e.g. bundle, recommended_product, etc.)&lt;br /&gt;
** label - A rendered label text (according to your settings)&lt;br /&gt;
** bundle - A boolean field that indicates if this group is a bundle&lt;br /&gt;
** products - An array of [http://docs.shopify.com/themes/liquid-variables/product Products]&lt;br /&gt;
* bundle&lt;br /&gt;
** text - Bundle&amp;#039;s buy message (e.g. &amp;#039;Buy both for 20$&amp;#039;)&lt;br /&gt;
** price - The sum of a bundles price&lt;br /&gt;
** buy_link - A link that will add a bundle&amp;#039;s products into the cart&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Simple example&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	<entry>
		<id>https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=269</id>
		<title>Shopify Liquid</title>
		<link rel="alternate" type="text/html" href="https://developer.directededge.com/index.php?title=Shopify_Liquid&amp;diff=269"/>
				<updated>2013-10-07T16:27:19Z</updated>
		
		<summary type="html">&lt;p&gt;Lucijan: Created page with &amp;quot;__TOC__ == Liquid Variables supported by Directed Edge == Following Liquid Variables are supported in custom templates: * groups - An array of recommendation types with following...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
== Liquid Variables supported by Directed Edge ==&lt;br /&gt;
Following Liquid Variables are supported in custom templates:&lt;br /&gt;
* groups - An array of recommendation types with following variables&lt;br /&gt;
** handle - A machine friendly identifier for the group (e.g. bundle, recommended_product, etc.)&lt;br /&gt;
** label - A rendered label text (according to your settings)&lt;br /&gt;
** bundle - A boolean field that indicates if this group is a bundle&lt;br /&gt;
** products - An array of [http://docs.shopify.com/themes/liquid-variables/product Products]&lt;br /&gt;
* bundle&lt;br /&gt;
** text - Bundle&amp;#039;s buy message (e.g. &amp;#039;Buy both for 20$&amp;#039;)&lt;br /&gt;
** price - The sum of a bundles price&lt;br /&gt;
** buy_link - A link that will add a bundle&amp;#039;s products into the cart&lt;/div&gt;</summary>
		<author><name>Lucijan</name></author>	</entry>

	</feed>