{%- assign alt_image_term = ''-%}
{%- if alt_image_term != '' -%}
{%- for image in product.images -%}
{%- assign downcase_image = image | downcase -%}
{%- assign downcase_term = alt_image_term | downcase -%}
{%- if downcase_image contains downcase_term -%}
{%- assign alt_image = image -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{% if product.hover_image != blank %}
{% if product.hover_video contains 'https' %}
{% else %}
{% endif %}
{% endif %}
{{ product.title | split: ' - ' | first }}
{% if product.title contains ' - ' %}{{ product.title | split: ' - ' | last }}
{% endif %}
{% if product.compare_at_price > product.price %}
{{ product.compare_at_price | money | remove: " " | remove: ".00" }}
{% endif %}
{{ product.price | money | remove: " " | remove: ".00" }}
{% for badge in productBadges | where: 'type', 'text'%}
{% if product.tags contains badge.tag %}
{{ badge.item }}
{% endif %}
{% endfor %}