{% assign badges = productBadges | where: 'type', 'graphic' %} {% for badge in badges %} {% if product.tags contains badge.tag %} {% if badge.icon contains '.' %} {% else %} {% endif %} {% break %} {% endif %} {% endfor %} {% assign badges = productBadges | where: 'type', 'icon' %} {% for badge in badges %} {% if product.tags contains badge.tag %} {% if badge.icon contains '.' %} {% else %} {% endif %} {% break %} {% endif %} {% endfor %} {% assign badges = productBadges | where: 'type', 'option' %} {% for badge in badges %} {% assign show_badge = false %} {% if product.tags contains badge.tag %} {% assign show_badge = true %} {% endif %} {% for sibling in product.siblings %} {% if sibling.tags contains badge.tag %} {% assign show_badge = true %} {% endif %} {% endfor %} {% if show_badge %} {{ badge.label }} {% endif %} {% endfor %} check Compare {% assign types = product.siblings | map: 'product_type' | uniq %} {% for type in types %} {% if type == blank %}{% continue %}{% endif %} {{ type | split : ' - ' | last }} {% endfor %} {% unless types contains product.type %} {{ product.type | split : ' - ' | last }} {% endunless %} {% if product.siblings.size > 0 %} {%- assign swatch_styles = 'h-full w-full object-contain' -%} {% assign limit = 4 %} {% if product.siblings.size > 4 %} {% assign limit = 3 %} {% endif %} {% for sibling in product.siblings limit:limit%} {% endfor %} {% if product.siblings.size > 4 %} +{{ product.siblings.size | minus: 4 }} More {% endif %} {% endif %} {% if product.available == false %} Sold out {% endif %} {{product.title | split: ' - ' | first }} {% if product.title contains ' - ' %} {{product.title | split: ' - ' | last }} {% endif %} {% assign markdown = false %} {% unless product.compare_at_price == 0 or product.compare_at_price == blank %} {% assign markdown = true %} {% endunless %} {% assign price = product.price %} {% if product.price_min > 0 and product.price_min < price %} {% assign price = product.price_min %} {% endif %} {{ price | money | remove: '.00' }} {% if markdown %} {{ product.compare_at_price | money | remove: '.00' }} {% endif %} {% if product.price_max > product.price %} - {{ product.price_max | money | remove: '.00' }} {% endif %} {% for badge in productBadges | where: 'type', 'text'%} {% if product.tags contains badge.tag and badge.type != 'option' and badge.type != 'icon' and badge.type != 'graphic' %} {{ badge.item }} {% endif %} {% endfor %}
{% assign progress = total_price | divided_by: offer.settings.threshold_cents %} {% assign balance = offer.settings.threshold_cents | minus: total_price | money %} {% unless progress >= 1 %} {{ offer.settings.approach | replace: "{{ balance }}", balance }} {% endunless %}
{% if item.properties._image %} {% else %} {% endif %} {{ item.title | split: '-' | first }} {% for option in item.options_with_values %} {% unless option.name == "Title" %} {{ option.name }}: {{ option.value }} {% endunless %} {% endfor %} {% if item.properties._badge_cart %} {{ item.properties._badge_cart }} {% endif %} – + {% assign price = item.final_price %} Remove {{ price | money | remove: '.00' }}
{% if offer.prompt != blank %} {{ offer.prompt | newline_to_br }} {% endif %} {% for product in offer.products %} {% assign productIndex = forloop.index0 %} {% if product.in_cart %}{% continue %}{% endif %} check {% assign offerTitle = product.title %} {{ product.title | split: "-" | first }} {{ product.title | split: "-" | last }} {% assign discount_amount = 0 %} {% if offer.discount %} {% assign discount_amount = offer.discount | times: 0.01 | times: product.price %} {% endif %} {{ product.price | minus: discount_amount | money }} {% if product.variants.size > 1 %} Please select... {% for variant in product.variants %} {% if variant.available == false %} {{ variant.title }} - Sold Out {% else %} {{ variant.title }} {% endif %} {% endfor %} {% else %} {% endif %} Add {% endfor %}
{% if offer.prompt != blank %} {{ offer.prompt | newline_to_br }} {% endif %} {% for product in offer.products %} {% assign productIndex = forloop.index0 %} {% if product.in_cart %}{% continue %}{% endif %} {% unless offer.product_selection == 'all' %} {% if offer.products.size == 1 %} {% else %} {% endif %} {% endunless %} check {% assign offerTitle = product.title %} {{ product.title | split: "-" | first }} {{ product.title | split: "-" | last }} {% assign discount_amount = 0 %} {% if offer.discount %} {% assign discount_amount = offer.discount | times: 0.01 | times: product.price %} {% endif %} {{ product.price | minus: discount_amount | money }} {% if product.variants.size > 1 %} Please select... {% for variant in product.variants %} {% if variant.available == false %} {{ variant.title }} - Sold Out {% else %} {{ variant.title }} {% endif %} {% endfor %} {% else %} {% endif %} Add {% endfor %} Select No, thanks
Country {% for country in Geo.config.available_countries %} {% if Shopify.country == country.iso_code %} {% else %} {% endif %} {{ country.name }} ({{ country.currency.iso_code }}) {% endfor %}
This is from Jeremy Asher Lynch- please help if you can- Thanks - The surf communities of Rockaway Beach, NY and surrounding communities have been severely hit by Hurricane Sandy and people are in need of help now. There are some amazing relief efforts gTue, Nov 06, 2012