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 -%} |
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
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
<!-- /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
{%- assign collection = collections[section.settings.collection] -%} | |
{% case section.settings.grid %} | |
{% when 1 %} | |
{% assign grid_width_large = 'large--one-third push--large--one-third clear' %} | |
{% assign grid_width_medium = 'medium--one-half push--medium--one-quarter clear' %} | |
{% assign grid_width_small = 'small--one-whole' %} | |
{% when 2 %} | |
{% assign grid_width_large = 'large--one-half' %} | |
{% assign grid_width_medium = 'medium--one-half' %} |
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 collection_image_size = 'x630' -%} | |
{%- assign grid_item_width = 'large--one-half' -%} | |
{% case section.settings.grid %} | |
{% when 1 %} | |
{%- assign grid_item_width = 'large--one-half collection-grid--single' -%} | |
{%- assign collection_image_size = 'x630' -%} | |
{% when 2 %} | |
{%- assign grid_item_width = 'large--one-half' -%} | |
{%- assign collection_image_size = 'x630' -%} |
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
{ | |
"current": { | |
"color_account_bg": "#dddddd", | |
"color_account_text": "#2e3344", | |
"color_header_bg": "#ffffff", | |
"color_header_text": "#2e3438", | |
"color_body_bg": "#ffffff", | |
"color_body_text": "#656565", | |
"color_primary": "#1990c6", | |
"color_splash": "#f4a482", |
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
{ | |
"current": { | |
"color_account_bg": "#dddddd", | |
"color_account_text": "#2e3344", | |
"color_header_bg": "#ffffff", | |
"color_header_text": "#2e3438", | |
"color_body_bg": "#ffffff", | |
"color_body_text": "#656565", | |
"color_primary": "#1990c6", | |
"color_splash": "#f4a482", |
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
{ | |
"current": { | |
"color_account_bg": "#f3f3f3", | |
"color_account_text": "#656565", | |
"color_header_bg": "#ffffff", | |
"color_header_text": "#656565", | |
"color_body_bg": "#ffffff", | |
"color_body_text": "#656565", | |
"color_primary": "#585e71", | |
"color_splash": "#f4a482", |
OlderNewer