This file contains hidden or 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
<!-- /snippets/product.liquid --> | |
{% if product.template_suffix contains "charge-rabbit" %} | |
{% assign form_action = product.metafields.charge_rabbit.subscribe_path %} | |
{% assign form_method = 'get'%} | |
{% assign form_class = "charge-rabbit-product" %} | |
{% assign include_customer_id = true %} | |
{% assign membership_product = true %} | |
{% else %} | |
{% assign form_action = '/cart/add' %} | |
{% assign form_method = 'post'%} |
This file contains hidden or 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
theme.Instagram = (function() { | |
function Instagram(container) { | |
var $container = this.$container = $(container); | |
var id = $container.attr('data-section-id'); | |
var instafeedEl = this.instagram = $('#Instafeed-' + id); | |
var instafeedId = this.instagram = 'Instafeed-' + id; | |
var apiSuccess = 0; | |
var imageLimit = instafeedEl.attr('data-count'); |
This file contains hidden or 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
<!-- /sections/article.liquid --> | |
{% assign number_of_comments = article.comments_count %} | |
{% comment %} | |
If a comment was just submitted and it has no blank fields, we have an extra comment to count. | |
{% endcomment %} | |
{% if comment and comment.created_at %} | |
{% assign number_of_comments = article.comments_count | plus: 1 %} | |
{% endif %} |
This file contains hidden or 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
{%- assign product_img_url = product.featured_image.src | img_url: '700x' -%} | |
{%- if grid_width_large == 'large--one-whole' -%} | |
{%- assign product_img_url = product.featured_image.src | img_url: '1200x' -%} | |
{%- elsif grid_width_large == 'large--one-half' -%} | |
{%- assign product_img_url = product.featured_image.src | img_url: '900x' -%} | |
{%- endif -%} | |
{%- assign on_sale = false -%} | |
{%- if product.compare_at_price > product.price -%} | |
{%- assign on_sale = true -%} |
NewerOlder