{% if product.featured_image != blank %} {% endif %} {% if product.alt_video != blank %} {% elsif product.alt_image != blank %} {% endif %} {% for badge in productBadges %} {% if product.tags contains badge.tag %} {{ badge.gridText }} {% endif %} {% endfor %} {% assign title = product.title %} {% assign subtitle = '' %} {% assign subtitle_2 = '' %} {% if product.title contains '|' %} {% assign title = product.title | split: '|' | first %} {% assign subtitle = product.title | remove: title | remove_first: '|' | strip %} {% if subtitle contains '|' %} {% assign subtitle_2 = subtitle | split: '|' | last %} {% assign subtitle = subtitle | split: '|' | first %} {% endif %} {% endif %} {% assign type = product.type %} {%- capture product_price_message_tag -%}custom-stone{%- endcapture -%} {% if product.tags contains product_price_message_tag %} {% assign price = 'Custom Pricing' %} {% else %} {% assign price = product.price | money %} {% endif %} {{ title }} {{ subtitle }} {{ subtitle_2 }} {% unless product.tags contains 'Hide Price'%} {% if product.price_varies %}Starting at {% endif %}{{ price }} {% if product.compare_at_price > product.price %} {{ product.compare_at_price | money }} {% endif %} {% endunless %} {% assign _swatch_option = null %} {% for option in product.options %} {% assign _opt_name = option.name | downcase %} {% if _opt_name != 'ring size' and _opt_name != 'size' and _opt_name != 'custom engraving' and _opt_name != 'center stone selection' %} {% if option.values.size > 1 %} {% assign _swatch_option = option %} {% break %} {% endif %} {% endif %} {% endfor %} {% if _swatch_option %} {% for value in _swatch_option.values %} {% endfor %} {% endif %} {% endfor %}