Skip to content

Instantly share code, notes, and snippets.

{%- unless product.variants.size == 1 and sold_out -%}
{% if linklists[product.handle].links.size == 0 and product.variants.size > 1 %}
{%- if product.options.size == 3 -%}
{%- assign check_variant_one = false -%}
{%- for variant in product.variants -%}
{% if forloop.first == true %}
{%- assign check_variant_title = variant.option2 -%}
{% endif %}
{% if forloop.index == 2 and check_variant_title == variant.option2 %}
{%- assign check_variant_one = true -%}
{%- layout none -%}
{%- unless product.options.size == 1 and product.variants[0].title == 'Default Title'-%}
{%-capture variantSoldout-%}
{%-for option in product.options_with_values-%}
{%-for value in option.values-%}
{% if option.selected_value == value %} bg_{{value | handleize}}{% endif-%}
{%-endfor-%}
{%-endfor-%}
{%-endcapture-%}
{%-endunless-%}
{%- comment -%}
Teathemes https://teathemes.net/forums/
{%- endcomment -%}
{%- assign design_products_page = "product-design-default" -%}
<div class="main-page-wrapper">
<!-- MAIN CONTENT AREA -->
<div class="container-fluid">
<div class="row">
<div class="site-content col-sm-12" role="main"{%- if product.metafields.meta.background != blank %} style="{%- assign image_name = product.metafields.meta.background | strip -%}background-image: url({{ image_name | file_url }});"{%- endif -%}>
{%- if settings.use_wishlist -%}{%- include 'nitro-wishlist' -%}{%- endif -%}
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*!
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=2439ad360d53443a1d014cd303b2978e)
* Config saved to config.json and https://gist.github.com/2439ad360d53443a1d014cd303b2978e
*//*!