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
{%- assign current_variant = product.selected_or_first_available_variant -%} | |
{%- assign current_variant_sale = false -%} | |
{% if current_variant.compare_at_price > current_variant.price %} | |
{%- assign current_variant_sale = true -%} | |
{% endif %} | |
{% assign featured_media = current_variant.featured_media | default: product.featured_media %} | |
<div class="product-template" data-section-id="{{ section.id }}" data-section-type="product-template" data-variant-id="{{ current_variant.id }}" itemscope itemtype="http://schema.org/Product"> | |
<meta itemprop="name" content="{{ product.title }}"> | |
<meta itemprop="url" content="{{ shop.url }}{{ product.url }}"> |
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
/* | |
* jQuery FlexSlider v2.7.2 | |
* https://www.woocommerce.com/flexslider/ | |
* | |
* Copyright 2012 WooThemes | |
* Free to use under the GPLv2 and later license. | |
* http://www.gnu.org/licenses/gpl-2.0.html | |
* | |
* Contributing author: Tyler Smith (@mbmufffin) | |
* |