Collection: Stations
- {%- assign swatch_options = 'Colour~~Color' | downcase | split: "~~" | uniq -%} {%- assign image_options = '' | downcase | split: "~~" | uniq -%} {%- assign text_options = 'Size' | downcase | split: "~~" | uniq -%} {%- assign image_size = '360x504' -%} {%- assign no_image = 'https://cdn.shopify.com/s/images/themes/product-1.png' -%} {%- assign featured_image = product.featured_image -%} {%- assign product_price = product.price -%} {%- assign product_compare_at_price = product.compare_at_price -%} {%- assign selected_or_first_available_variant = product.selected_or_first_available_variant -%} {%- assign variant_url = '' -%} {%- assign variants_count = product.variants | size -%} {%- assign lazy_load = false %} {%- if forloop.index > 2 -%} {%- assign lazy_load = true -%} {%- endif -%} {%- assign card_product = product %} {%- assign media_aspect_ratio = section.settings.image_ratio %} {%- assign show_secondary_image = section.settings.show_secondary_image %} {%- assign show_vendor = section.settings.show_vendor %} {%- assign show_rating = section.settings.show_rating %} {%- assign show_quick_add = section.settings.enable_quick_add %} {%- assign section_id = section.id %} {%- assign ratio = 1 -%} {%- if card_product.featured_image and media_aspect_ratio == 'portrait' -%} {%- assign ratio = 0.8 -%} {%- elsif card_product.featured_image and media_aspect_ratio == 'adapt' -%} {%- assign ratio = card_product.featured_image.aspect_ratio -%} {%- endif -%} {%- if ratio == 0 or ratio == nil -%} {%- assign ratio = 1 -%} {%- endif -%}
-
{%- if card_product.featured_image -%}{%- if card_product.images[1] != nil and show_secondary_image -%} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%}
{{ card_product.title | escape }}
{{ card_product.selected_or_first_available_variant.sku }}{%- if show_vendor -%}{%- endif -%} {%- if show_rating and card_product.metafields.reviews.rating != blank -%} {%- assign rating_decimal = 0 %} {%- assign decimal = card_product.metafields.reviews.rating | modulo: 1 %} {% if decimal >= 0.3 and decimal <= 0.7 %} {%- assign rating_decimal = 0.5 %} {% elsif decimal > 0.7 %} {%- assign rating_decimal = 1 %} {% endif %} {%- assign rating_value = card_product.metafields.reviews.rating %} {%- assign rating_max = 5 %}{{ money_price }}{%- unless product.price_varies == false and product.compare_at_price_varies %}{% if settings.currency_code_enabled %} {{ compare_at_price | money_with_currency }} {% else %} {{ compare_at_price | money }} {% endif %}{%- endunless -%} {{ money_price }}{% if product.available %}In Stock
{% else %}Out of Stock
{% endif %}{%- assign product_form_id = 'quick-add-' | append: section_id | append: card_product.id -%} {%- if variants_count == 1 -%}{%- endif -%}{%- assign product_name = card_product.title | escape %} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%} - {%- assign swatch_options = 'Colour~~Color' | downcase | split: "~~" | uniq -%} {%- assign image_options = '' | downcase | split: "~~" | uniq -%} {%- assign text_options = 'Size' | downcase | split: "~~" | uniq -%} {%- assign image_size = '360x504' -%} {%- assign no_image = 'https://cdn.shopify.com/s/images/themes/product-1.png' -%} {%- assign featured_image = product.featured_image -%} {%- assign product_price = product.price -%} {%- assign product_compare_at_price = product.compare_at_price -%} {%- assign selected_or_first_available_variant = product.selected_or_first_available_variant -%} {%- assign variant_url = '' -%} {%- assign variants_count = product.variants | size -%} {%- assign lazy_load = false %} {%- if forloop.index > 2 -%} {%- assign lazy_load = true -%} {%- endif -%} {%- assign card_product = product %} {%- assign media_aspect_ratio = section.settings.image_ratio %} {%- assign show_secondary_image = section.settings.show_secondary_image %} {%- assign show_vendor = section.settings.show_vendor %} {%- assign show_rating = section.settings.show_rating %} {%- assign show_quick_add = section.settings.enable_quick_add %} {%- assign section_id = section.id %} {%- assign ratio = 1 -%} {%- if card_product.featured_image and media_aspect_ratio == 'portrait' -%} {%- assign ratio = 0.8 -%} {%- elsif card_product.featured_image and media_aspect_ratio == 'adapt' -%} {%- assign ratio = card_product.featured_image.aspect_ratio -%} {%- endif -%} {%- if ratio == 0 or ratio == nil -%} {%- assign ratio = 1 -%} {%- endif -%}
-
{%- if card_product.featured_image -%}{%- if card_product.images[1] != nil and show_secondary_image -%} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%}
{{ card_product.title | escape }}
{{ card_product.selected_or_first_available_variant.sku }}{%- if show_vendor -%}{%- endif -%} {%- if show_rating and card_product.metafields.reviews.rating != blank -%} {%- assign rating_decimal = 0 %} {%- assign decimal = card_product.metafields.reviews.rating | modulo: 1 %} {% if decimal >= 0.3 and decimal <= 0.7 %} {%- assign rating_decimal = 0.5 %} {% elsif decimal > 0.7 %} {%- assign rating_decimal = 1 %} {% endif %} {%- assign rating_value = card_product.metafields.reviews.rating %} {%- assign rating_max = 5 %}{{ money_price }}{%- unless product.price_varies == false and product.compare_at_price_varies %}{% if settings.currency_code_enabled %} {{ compare_at_price | money_with_currency }} {% else %} {{ compare_at_price | money }} {% endif %}{%- endunless -%} {{ money_price }}{% if product.available %}In Stock
{% else %}Out of Stock
{% endif %}{%- assign product_form_id = 'quick-add-' | append: section_id | append: card_product.id -%} {%- if variants_count == 1 -%}{%- endif -%}{%- assign product_name = card_product.title | escape %} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%} - {%- assign swatch_options = 'Colour~~Color' | downcase | split: "~~" | uniq -%} {%- assign image_options = '' | downcase | split: "~~" | uniq -%} {%- assign text_options = 'Size' | downcase | split: "~~" | uniq -%} {%- assign image_size = '360x504' -%} {%- assign no_image = 'https://cdn.shopify.com/s/images/themes/product-1.png' -%} {%- assign featured_image = product.featured_image -%} {%- assign product_price = product.price -%} {%- assign product_compare_at_price = product.compare_at_price -%} {%- assign selected_or_first_available_variant = product.selected_or_first_available_variant -%} {%- assign variant_url = '' -%} {%- assign variants_count = product.variants | size -%} {%- assign lazy_load = false %} {%- if forloop.index > 2 -%} {%- assign lazy_load = true -%} {%- endif -%} {%- assign card_product = product %} {%- assign media_aspect_ratio = section.settings.image_ratio %} {%- assign show_secondary_image = section.settings.show_secondary_image %} {%- assign show_vendor = section.settings.show_vendor %} {%- assign show_rating = section.settings.show_rating %} {%- assign show_quick_add = section.settings.enable_quick_add %} {%- assign section_id = section.id %} {%- assign ratio = 1 -%} {%- if card_product.featured_image and media_aspect_ratio == 'portrait' -%} {%- assign ratio = 0.8 -%} {%- elsif card_product.featured_image and media_aspect_ratio == 'adapt' -%} {%- assign ratio = card_product.featured_image.aspect_ratio -%} {%- endif -%} {%- if ratio == 0 or ratio == nil -%} {%- assign ratio = 1 -%} {%- endif -%}
-
{%- if card_product.featured_image -%}{%- if card_product.images[1] != nil and show_secondary_image -%} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%}
{{ card_product.title | escape }}
{{ card_product.selected_or_first_available_variant.sku }}{%- if show_vendor -%}{%- endif -%} {%- if show_rating and card_product.metafields.reviews.rating != blank -%} {%- assign rating_decimal = 0 %} {%- assign decimal = card_product.metafields.reviews.rating | modulo: 1 %} {% if decimal >= 0.3 and decimal <= 0.7 %} {%- assign rating_decimal = 0.5 %} {% elsif decimal > 0.7 %} {%- assign rating_decimal = 1 %} {% endif %} {%- assign rating_value = card_product.metafields.reviews.rating %} {%- assign rating_max = 5 %}{{ money_price }}{%- unless product.price_varies == false and product.compare_at_price_varies %}{% if settings.currency_code_enabled %} {{ compare_at_price | money_with_currency }} {% else %} {{ compare_at_price | money }} {% endif %}{%- endunless -%} {{ money_price }}{% if product.available %}In Stock
{% else %}Out of Stock
{% endif %}{%- assign product_form_id = 'quick-add-' | append: section_id | append: card_product.id -%} {%- if variants_count == 1 -%}{%- endif -%}{%- assign product_name = card_product.title | escape %} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%} - {%- assign swatch_options = 'Colour~~Color' | downcase | split: "~~" | uniq -%} {%- assign image_options = '' | downcase | split: "~~" | uniq -%} {%- assign text_options = 'Size' | downcase | split: "~~" | uniq -%} {%- assign image_size = '360x504' -%} {%- assign no_image = 'https://cdn.shopify.com/s/images/themes/product-1.png' -%} {%- assign featured_image = product.featured_image -%} {%- assign product_price = product.price -%} {%- assign product_compare_at_price = product.compare_at_price -%} {%- assign selected_or_first_available_variant = product.selected_or_first_available_variant -%} {%- assign variant_url = '' -%} {%- assign variants_count = product.variants | size -%} {%- assign lazy_load = false %} {%- if forloop.index > 2 -%} {%- assign lazy_load = true -%} {%- endif -%} {%- assign card_product = product %} {%- assign media_aspect_ratio = section.settings.image_ratio %} {%- assign show_secondary_image = section.settings.show_secondary_image %} {%- assign show_vendor = section.settings.show_vendor %} {%- assign show_rating = section.settings.show_rating %} {%- assign show_quick_add = section.settings.enable_quick_add %} {%- assign section_id = section.id %} {%- assign ratio = 1 -%} {%- if card_product.featured_image and media_aspect_ratio == 'portrait' -%} {%- assign ratio = 0.8 -%} {%- elsif card_product.featured_image and media_aspect_ratio == 'adapt' -%} {%- assign ratio = card_product.featured_image.aspect_ratio -%} {%- endif -%} {%- if ratio == 0 or ratio == nil -%} {%- assign ratio = 1 -%} {%- endif -%}
-
{%- if card_product.featured_image -%}{%- if card_product.images[1] != nil and show_secondary_image -%} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%}
{{ card_product.title | escape }}
{{ card_product.selected_or_first_available_variant.sku }}{%- if show_vendor -%}{%- endif -%} {%- if show_rating and card_product.metafields.reviews.rating != blank -%} {%- assign rating_decimal = 0 %} {%- assign decimal = card_product.metafields.reviews.rating | modulo: 1 %} {% if decimal >= 0.3 and decimal <= 0.7 %} {%- assign rating_decimal = 0.5 %} {% elsif decimal > 0.7 %} {%- assign rating_decimal = 1 %} {% endif %} {%- assign rating_value = card_product.metafields.reviews.rating %} {%- assign rating_max = 5 %}{{ money_price }}{%- unless product.price_varies == false and product.compare_at_price_varies %}{% if settings.currency_code_enabled %} {{ compare_at_price | money_with_currency }} {% else %} {{ compare_at_price | money }} {% endif %}{%- endunless -%} {{ money_price }}{% if product.available %}In Stock
{% else %}Out of Stock
{% endif %}{%- assign product_form_id = 'quick-add-' | append: section_id | append: card_product.id -%} {%- if variants_count == 1 -%}{%- endif -%}{%- assign product_name = card_product.title | escape %} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%} - {%- assign swatch_options = 'Colour~~Color' | downcase | split: "~~" | uniq -%} {%- assign image_options = '' | downcase | split: "~~" | uniq -%} {%- assign text_options = 'Size' | downcase | split: "~~" | uniq -%} {%- assign image_size = '360x504' -%} {%- assign no_image = 'https://cdn.shopify.com/s/images/themes/product-1.png' -%} {%- assign featured_image = product.featured_image -%} {%- assign product_price = product.price -%} {%- assign product_compare_at_price = product.compare_at_price -%} {%- assign selected_or_first_available_variant = product.selected_or_first_available_variant -%} {%- assign variant_url = '' -%} {%- assign variants_count = product.variants | size -%} {%- assign lazy_load = false %} {%- if forloop.index > 2 -%} {%- assign lazy_load = true -%} {%- endif -%} {%- assign card_product = product %} {%- assign media_aspect_ratio = section.settings.image_ratio %} {%- assign show_secondary_image = section.settings.show_secondary_image %} {%- assign show_vendor = section.settings.show_vendor %} {%- assign show_rating = section.settings.show_rating %} {%- assign show_quick_add = section.settings.enable_quick_add %} {%- assign section_id = section.id %} {%- assign ratio = 1 -%} {%- if card_product.featured_image and media_aspect_ratio == 'portrait' -%} {%- assign ratio = 0.8 -%} {%- elsif card_product.featured_image and media_aspect_ratio == 'adapt' -%} {%- assign ratio = card_product.featured_image.aspect_ratio -%} {%- endif -%} {%- if ratio == 0 or ratio == nil -%} {%- assign ratio = 1 -%} {%- endif -%}
-
{%- if card_product.featured_image -%}{%- if card_product.images[1] != nil and show_secondary_image -%} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%}
{{ card_product.title | escape }}
{{ card_product.selected_or_first_available_variant.sku }}{%- if show_vendor -%}{%- endif -%} {%- if show_rating and card_product.metafields.reviews.rating != blank -%} {%- assign rating_decimal = 0 %} {%- assign decimal = card_product.metafields.reviews.rating | modulo: 1 %} {% if decimal >= 0.3 and decimal <= 0.7 %} {%- assign rating_decimal = 0.5 %} {% elsif decimal > 0.7 %} {%- assign rating_decimal = 1 %} {% endif %} {%- assign rating_value = card_product.metafields.reviews.rating %} {%- assign rating_max = 5 %}{{ money_price }}{%- unless product.price_varies == false and product.compare_at_price_varies %}{% if settings.currency_code_enabled %} {{ compare_at_price | money_with_currency }} {% else %} {{ compare_at_price | money }} {% endif %}{%- endunless -%} {{ money_price }}{% if product.available %}In Stock
{% else %}Out of Stock
{% endif %}{%- assign product_form_id = 'quick-add-' | append: section_id | append: card_product.id -%} {%- if variants_count == 1 -%}{%- endif -%}{%- assign product_name = card_product.title | escape %} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%} - {%- assign swatch_options = 'Colour~~Color' | downcase | split: "~~" | uniq -%} {%- assign image_options = '' | downcase | split: "~~" | uniq -%} {%- assign text_options = 'Size' | downcase | split: "~~" | uniq -%} {%- assign image_size = '360x504' -%} {%- assign no_image = 'https://cdn.shopify.com/s/images/themes/product-1.png' -%} {%- assign featured_image = product.featured_image -%} {%- assign product_price = product.price -%} {%- assign product_compare_at_price = product.compare_at_price -%} {%- assign selected_or_first_available_variant = product.selected_or_first_available_variant -%} {%- assign variant_url = '' -%} {%- assign variants_count = product.variants | size -%} {%- assign lazy_load = false %} {%- if forloop.index > 2 -%} {%- assign lazy_load = true -%} {%- endif -%} {%- assign card_product = product %} {%- assign media_aspect_ratio = section.settings.image_ratio %} {%- assign show_secondary_image = section.settings.show_secondary_image %} {%- assign show_vendor = section.settings.show_vendor %} {%- assign show_rating = section.settings.show_rating %} {%- assign show_quick_add = section.settings.enable_quick_add %} {%- assign section_id = section.id %} {%- assign ratio = 1 -%} {%- if card_product.featured_image and media_aspect_ratio == 'portrait' -%} {%- assign ratio = 0.8 -%} {%- elsif card_product.featured_image and media_aspect_ratio == 'adapt' -%} {%- assign ratio = card_product.featured_image.aspect_ratio -%} {%- endif -%} {%- if ratio == 0 or ratio == nil -%} {%- assign ratio = 1 -%} {%- endif -%}
-
{%- if card_product.featured_image -%}{%- if card_product.images[1] != nil and show_secondary_image -%} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%}
{{ card_product.title | escape }}
{{ card_product.selected_or_first_available_variant.sku }}{%- if show_vendor -%}{%- endif -%} {%- if show_rating and card_product.metafields.reviews.rating != blank -%} {%- assign rating_decimal = 0 %} {%- assign decimal = card_product.metafields.reviews.rating | modulo: 1 %} {% if decimal >= 0.3 and decimal <= 0.7 %} {%- assign rating_decimal = 0.5 %} {% elsif decimal > 0.7 %} {%- assign rating_decimal = 1 %} {% endif %} {%- assign rating_value = card_product.metafields.reviews.rating %} {%- assign rating_max = 5 %}{{ money_price }}{%- unless product.price_varies == false and product.compare_at_price_varies %}{% if settings.currency_code_enabled %} {{ compare_at_price | money_with_currency }} {% else %} {{ compare_at_price | money }} {% endif %}{%- endunless -%} {{ money_price }}{% if product.available %}In Stock
{% else %}Out of Stock
{% endif %}{%- assign product_form_id = 'quick-add-' | append: section_id | append: card_product.id -%} {%- if variants_count == 1 -%}{%- endif -%}{%- assign product_name = card_product.title | escape %} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%} - {%- assign swatch_options = 'Colour~~Color' | downcase | split: "~~" | uniq -%} {%- assign image_options = '' | downcase | split: "~~" | uniq -%} {%- assign text_options = 'Size' | downcase | split: "~~" | uniq -%} {%- assign image_size = '360x504' -%} {%- assign no_image = 'https://cdn.shopify.com/s/images/themes/product-1.png' -%} {%- assign featured_image = product.featured_image -%} {%- assign product_price = product.price -%} {%- assign product_compare_at_price = product.compare_at_price -%} {%- assign selected_or_first_available_variant = product.selected_or_first_available_variant -%} {%- assign variant_url = '' -%} {%- assign variants_count = product.variants | size -%} {%- assign lazy_load = false %} {%- if forloop.index > 2 -%} {%- assign lazy_load = true -%} {%- endif -%} {%- assign card_product = product %} {%- assign media_aspect_ratio = section.settings.image_ratio %} {%- assign show_secondary_image = section.settings.show_secondary_image %} {%- assign show_vendor = section.settings.show_vendor %} {%- assign show_rating = section.settings.show_rating %} {%- assign show_quick_add = section.settings.enable_quick_add %} {%- assign section_id = section.id %} {%- assign ratio = 1 -%} {%- if card_product.featured_image and media_aspect_ratio == 'portrait' -%} {%- assign ratio = 0.8 -%} {%- elsif card_product.featured_image and media_aspect_ratio == 'adapt' -%} {%- assign ratio = card_product.featured_image.aspect_ratio -%} {%- endif -%} {%- if ratio == 0 or ratio == nil -%} {%- assign ratio = 1 -%} {%- endif -%}
-
{%- if card_product.featured_image -%}{%- if card_product.images[1] != nil and show_secondary_image -%} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%}
{{ card_product.title | escape }}
{{ card_product.selected_or_first_available_variant.sku }}{%- if show_vendor -%}{%- endif -%} {%- if show_rating and card_product.metafields.reviews.rating != blank -%} {%- assign rating_decimal = 0 %} {%- assign decimal = card_product.metafields.reviews.rating | modulo: 1 %} {% if decimal >= 0.3 and decimal <= 0.7 %} {%- assign rating_decimal = 0.5 %} {% elsif decimal > 0.7 %} {%- assign rating_decimal = 1 %} {% endif %} {%- assign rating_value = card_product.metafields.reviews.rating %} {%- assign rating_max = 5 %}{{ money_price }}{%- unless product.price_varies == false and product.compare_at_price_varies %}{% if settings.currency_code_enabled %} {{ compare_at_price | money_with_currency }} {% else %} {{ compare_at_price | money }} {% endif %}{%- endunless -%} {{ money_price }}{% if product.available %}In Stock
{% else %}Out of Stock
{% endif %}{%- assign product_form_id = 'quick-add-' | append: section_id | append: card_product.id -%} {%- if variants_count == 1 -%}{%- endif -%}{%- assign product_name = card_product.title | escape %} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%} - {%- assign swatch_options = 'Colour~~Color' | downcase | split: "~~" | uniq -%} {%- assign image_options = '' | downcase | split: "~~" | uniq -%} {%- assign text_options = 'Size' | downcase | split: "~~" | uniq -%} {%- assign image_size = '360x504' -%} {%- assign no_image = 'https://cdn.shopify.com/s/images/themes/product-1.png' -%} {%- assign featured_image = product.featured_image -%} {%- assign product_price = product.price -%} {%- assign product_compare_at_price = product.compare_at_price -%} {%- assign selected_or_first_available_variant = product.selected_or_first_available_variant -%} {%- assign variant_url = '' -%} {%- assign variants_count = product.variants | size -%} {%- assign lazy_load = false %} {%- if forloop.index > 2 -%} {%- assign lazy_load = true -%} {%- endif -%} {%- assign card_product = product %} {%- assign media_aspect_ratio = section.settings.image_ratio %} {%- assign show_secondary_image = section.settings.show_secondary_image %} {%- assign show_vendor = section.settings.show_vendor %} {%- assign show_rating = section.settings.show_rating %} {%- assign show_quick_add = section.settings.enable_quick_add %} {%- assign section_id = section.id %} {%- assign ratio = 1 -%} {%- if card_product.featured_image and media_aspect_ratio == 'portrait' -%} {%- assign ratio = 0.8 -%} {%- elsif card_product.featured_image and media_aspect_ratio == 'adapt' -%} {%- assign ratio = card_product.featured_image.aspect_ratio -%} {%- endif -%} {%- if ratio == 0 or ratio == nil -%} {%- assign ratio = 1 -%} {%- endif -%}
-
{%- if card_product.featured_image -%}{%- if card_product.images[1] != nil and show_secondary_image -%} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%}
{{ card_product.title | escape }}
{{ card_product.selected_or_first_available_variant.sku }}{%- if show_vendor -%}{%- endif -%} {%- if show_rating and card_product.metafields.reviews.rating != blank -%} {%- assign rating_decimal = 0 %} {%- assign decimal = card_product.metafields.reviews.rating | modulo: 1 %} {% if decimal >= 0.3 and decimal <= 0.7 %} {%- assign rating_decimal = 0.5 %} {% elsif decimal > 0.7 %} {%- assign rating_decimal = 1 %} {% endif %} {%- assign rating_value = card_product.metafields.reviews.rating %} {%- assign rating_max = 5 %}{{ money_price }}{%- unless product.price_varies == false and product.compare_at_price_varies %}{% if settings.currency_code_enabled %} {{ compare_at_price | money_with_currency }} {% else %} {{ compare_at_price | money }} {% endif %}{%- endunless -%} {{ money_price }}{% if product.available %}In Stock
{% else %}Out of Stock
{% endif %}{%- assign product_form_id = 'quick-add-' | append: section_id | append: card_product.id -%} {%- if variants_count == 1 -%}{%- endif -%}{%- assign product_name = card_product.title | escape %} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%} - {%- assign swatch_options = 'Colour~~Color' | downcase | split: "~~" | uniq -%} {%- assign image_options = '' | downcase | split: "~~" | uniq -%} {%- assign text_options = 'Size' | downcase | split: "~~" | uniq -%} {%- assign image_size = '360x504' -%} {%- assign no_image = 'https://cdn.shopify.com/s/images/themes/product-1.png' -%} {%- assign featured_image = product.featured_image -%} {%- assign product_price = product.price -%} {%- assign product_compare_at_price = product.compare_at_price -%} {%- assign selected_or_first_available_variant = product.selected_or_first_available_variant -%} {%- assign variant_url = '' -%} {%- assign variants_count = product.variants | size -%} {%- assign lazy_load = false %} {%- if forloop.index > 2 -%} {%- assign lazy_load = true -%} {%- endif -%} {%- assign card_product = product %} {%- assign media_aspect_ratio = section.settings.image_ratio %} {%- assign show_secondary_image = section.settings.show_secondary_image %} {%- assign show_vendor = section.settings.show_vendor %} {%- assign show_rating = section.settings.show_rating %} {%- assign show_quick_add = section.settings.enable_quick_add %} {%- assign section_id = section.id %} {%- assign ratio = 1 -%} {%- if card_product.featured_image and media_aspect_ratio == 'portrait' -%} {%- assign ratio = 0.8 -%} {%- elsif card_product.featured_image and media_aspect_ratio == 'adapt' -%} {%- assign ratio = card_product.featured_image.aspect_ratio -%} {%- endif -%} {%- if ratio == 0 or ratio == nil -%} {%- assign ratio = 1 -%} {%- endif -%}
-
{%- if card_product.featured_image -%}{%- if card_product.images[1] != nil and show_secondary_image -%} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%}
{{ card_product.title | escape }}
{{ card_product.selected_or_first_available_variant.sku }}{%- if show_vendor -%}{%- endif -%} {%- if show_rating and card_product.metafields.reviews.rating != blank -%} {%- assign rating_decimal = 0 %} {%- assign decimal = card_product.metafields.reviews.rating | modulo: 1 %} {% if decimal >= 0.3 and decimal <= 0.7 %} {%- assign rating_decimal = 0.5 %} {% elsif decimal > 0.7 %} {%- assign rating_decimal = 1 %} {% endif %} {%- assign rating_value = card_product.metafields.reviews.rating %} {%- assign rating_max = 5 %}{{ money_price }}{%- unless product.price_varies == false and product.compare_at_price_varies %}{% if settings.currency_code_enabled %} {{ compare_at_price | money_with_currency }} {% else %} {{ compare_at_price | money }} {% endif %}{%- endunless -%} {{ money_price }}{% if product.available %}In Stock
{% else %}Out of Stock
{% endif %}{%- assign product_form_id = 'quick-add-' | append: section_id | append: card_product.id -%} {%- if variants_count == 1 -%}{%- endif -%}{%- assign product_name = card_product.title | escape %} {%- endif -%}{%- if card_product.available == false -%} {%- elsif card_product.compare_at_price > card_product.price and card_product.available -%} {%- endif -%}