This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
if (typeof jQuery === 'undefined') { | |
document.write('<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"><\/script>'); | |
document.write('<script type="text/javascript">jQuery.noConflict();<\/script>'); | |
} | |
</script> | |
<script type="text/javascript"> | |
jQuery(function() { | |
var needs_update = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if product.available %} | |
<form method="post" action="/cart/add"> | |
{% if product.variants.size > 1 %} | |
<!-- START LISTING VARIANTS --> | |
<select name="id" id="product-select"> | |
{% for variant in product.variants %} | |
{% if variant.available %} | |
<option value="{{ variant.id }}">{{ variant.title }} ({{ variant.price | money }})</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var path = "{{ 'products/retarded.jpg' | product_img_url: "original" | remove: 'products/retarded.jpg' | replace: '?', ' ' | truncatewords: 1, '' }}"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Solution brought to you by Caroline Schnapp --> | |
<!-- See this: http://wiki.shopify.com/Related_Products --> | |
{% assign image_size = 'compact' %} | |
{% assign heading = 'Other fine products' %} | |
{% if product.tags.size > 0 %} | |
<h3>{{ heading }}</h3> | |
<ul class="related-products"></ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Solution brought to you by Caroline Schnapp --> | |
<!-- See this: http://wiki.shopify.com/Related_Products --> | |
{% assign image_size = 'compact' %} | |
{% assign heading = 'Other fine products' %} | |
{% if product.metafields.recommendations.productHandles %} | |
<h3>{{ heading }}</h3> | |
<ul class="related-products"></ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ article.created_at | date: '%B, %d %Y' | replace: 'January', 'Januar' | replace: 'February', 'Februar' | replace: 'March', 'Marts' | replace: 'May', 'Maj' | replace: 'June', 'Juni' | replace: 'July', 'Juli' | replace: 'October', 'Oktober' }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% capture caption %}{{ image | remove: "products/" | remove: ".jpeg" | remove: ".jpg" | remove: ".png" | handleize | replace: "-", " " | replace: "_", " " | capitalize }}{% endcapture %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
if (typeof jQuery === 'undefined') { | |
document.write('<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"><\/script>'); | |
document.write('<script type="text/javascript">jQuery.noConflict();<\/script>'); | |
} | |
</script> | |
{% if needs_update %} | |
<script type="text/javascript"> | |
jQuery('form[action="/cart"]').get(0).submit(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ 'my-twitter-button.png' | asset_url | img_tag | link_to: 'http://twitter.com/iamawesome', 'follow me on twitter' }} |