Skip to content

Instantly share code, notes, and snippets.

@rdallaire
Created September 5, 2014 20:59
Show Gist options
  • Save rdallaire/d5177e64ce6dbfa3ec03 to your computer and use it in GitHub Desktop.
Save rdallaire/d5177e64ce6dbfa3ec03 to your computer and use it in GitHub Desktop.
pizza
<div class="product-container dynamic large-4 columns">
<div class="tall-slider">
<div class="slide">
<h2>Featured Products</h2>
{% assign tagName = 'foil' %}
{% assign tagLimit = '16' %}
<ul class="products list" data-tagname="{{ tagName }}">
{% tagged_with tagName do products limit:tagLimit order:sell_price %}
{% include "theme/plugins/display_default" %}
{% endtagged_with %}
</ul>
<a class="view-all" href="/products/t/{{tagName}}">View All</a>
</div>
<div class="slide">
<h2>Featured Products</h2>
{% assign tagName = 'foil' %}
{% assign tagLimit = '8' %}
<ul class="products list" data-tagname="{{ tagName }}">
{% tagged_with tagName do products limit:tagLimit order:sell_price %}
{% include "theme/plugins/display_default" %}
{% endtagged_with %}
</ul>
<a class="view-all" href="/products/t/{{tagName}}">View All</a>
</div>
</div>
</div>
@rdallaire
Copy link
Author

$('.tall-slider').bxSlider({
hideControlOnEnd: true
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment