{% assign msrp = product.msrp | plus: 0 %}
{% assign price = product.price | plus: 0 %}
{% if msrp > price %}
Regular price
{{product.msrp | times:100 | money }}
{{product.price | times:100 | money }}
{% capture show_savings %}(Save %){% endcapture %}
{% if show_savings != blank %}
{% assign percent_off = product.msrp | minus: product.price | divided_by: product.msrp | times: 100 | round | append: '%' %}
{{ show_savings | replace: '%', percent_off }}
{% endif %}
{% else %}
{% assign price = product.price | times: 100 %}
{% for tag in product.tags %}
{% if tag contains 'PriceOverride:' %}
{% assign price = tag | remove: 'PriceOverride:' | plus: 0 %}
{% endif %}
{% endfor %}
{{price | money }}
{% endif %}
{% if product.review_stars %}
{% for i in (1..5) %}
{% endfor %}
{% if product.reviews_total_reviews %}
{{product.reviews_total_reviews}}
{% if product.reviews_total_reviews == '1' %}
{% else %}
{% endif %}
{% endif %}
{% endif %}
{% for badge in product.badges %}
{{ badge }}
{% endfor %}
{%- if product.siblings.size > 1 -%}
{%- assign swatch_wrapper_styles = 'ProductOption__variant ProductOption__variant--image ProductOption__variant--image-swatch' -%}
{%- assign swatch_styles = 'ProductInfo__color-thumb ProductInfo__color-thumb--swatch' -%}
{% capture swatch_limit %}6{% endcapture %}
{% capture collection_handle %}{% endcapture %}
{% assign swatch_limit = swatch_limit | plus: 0 %}
{% assign limit = swatch_limit %}
{% for sibling in product.siblings limit:limit %}
{% assign sibling_url = collection_handle | append: '/products/' | append: sibling.handle %}
{% liquid
if sibling.featured_image contains '_large.jpg'
assign sibling_image = sibling.featured_image
else
assign sibling_image = sibling.featured_image | replace: '.jpg', '_large.jpg'
endif
assign quote = 'quot' | prepend: '&' | append: ';'
assign sibling_title = sibling.title | replace: '"', quote
%}
{% endfor %}
{% if product.siblings.size > limit %}
+{{ product.siblings.size | minus: limit }} More
{% endif %}
{%- endif -%}