{% assign content = product.description | remove: "[disable-icon-new]" %}
{% if section.settings.enable_block_right %}
{% else %}
{% endif %}
{% if product.images.size == 0 %} {% else %}
{% assign featured_image = product.selected_or_first_available_variant.featured_image | default: product.featured_image %} {{ featured_image.alt | escape }}
{% include 'product-360'%} {% if instructions.degree-360-preview %}
360 Degrees Preview
{% endif %} {% include 'cleversoft-video' %}
Click to enlarge
{% if product.images.size > 0 %} {% endif %}
{% endif %}
{% if section.settings.display_sale %} {% include 'cleversoft-label' %} {% endif %} {% if lable_sale %}
{% if lable_sale %} -{{ product.compare_at_price_max | minus:product.price | times:100 | divided_by:product.compare_at_price_max |round: 0 }}% {% endif %}
{% endif %} {% if section.settings.display_availability or section.settings.display_product_type or section.settings.display_vendor %}
{% if section.settings.display_availability %}

{% if product.selected_or_first_available_variant.inventory_management %} {% assign first_inventory = product.selected_or_first_available_variant.inventory_quantity %} {% if first_inventory > 0 %}{{'product.detail.instock_product' | t}} {% else %}{{'product.detail.outstock_product' | t}}{% endif %} {% else %}{{'product.detail.manystock_product' | t}}{% endif %}

{% endif %}
{% endif %}

{{ product.title }}

{% if section.settings.display_product_reviews %}
{% endif %} {% if section.settings.product_flash_sold_enable %}
sold in last hours
{% endif %}
{% if section.settings.show_vendor %}
Vendor: {{ product.vendor }}
{% endif %} {% assign current_variant = product.selected_or_first_available_variant %} {% if section.settings.show_sku %}
SKU: {{ current_variant.sku }}
{% endif %}
{% if product.compare_at_price > product.price %} {{ product.compare_at_price_max | money }} {{ product.price | money }} {% else %} {{ product.price | money }} {% endif %}
{% assign instructions = product.metafields.meta %} {% if instructions.short-description %}
{% include 'cleversoft-shortdecription' %}
{% else %} {%endif %} {% include 'cleversoft-countdown' %} {% assign instructions = product.metafields.meta %} {% assign key = 'progress-bar' %} {% if instructions.progress-bar %}

Hurry! Only {{inventory_solid}} left in Stock.

{%endif %}
{% form 'product', product, id: "add-to-cart-form" %} {% assign variantCount = product.variants | size %} {% assign variantCounts = product.options | size %}
{% if product.available %} {% if variantCount > 1 %} {% for option in product.options[0] %} {% include 'swatch' with option %} {% endfor %} {% for option in product.options[1] %} {% include 'swatch-1' with option %} {% endfor %} {% for option in product.options[2] %} {% include 'swatch-2' with option %} {% endfor %} {% else %} {% endif %} {% endif %}
{% include 'cleversoft-sizechart' %} {% if section.settings.enable_delivery %} {% endif %} {% if section.settings.enable_ask_product %} {% endif %}
{% if product.available %} {% if section.settings.show_quantity_selector %}
{% endif %} {% assign instructions = product.metafields.meta %} {% if instructions.external-link %} {%else%} {% endif %} {% else %} {% if instructions.external-link %} {%else%} {% endif %} {% endif %}
{% if section.settings.enable_payment_button %}
{% if section.settings.product_conditions %} {% endif %}
{{ form | payment_button }}
{% endif %} {% endform %}
{% if section.settings.enable_wishlist %} {% if customer %} {% assign value = product.id %} {% capture productID %}{{ product.id }}{% endcapture %} {% for tag in customer.tags %} {% capture tagID %}{{ tag }}{% endcapture %} {% if tagID contains productID %} {% capture value %}x{{ tagID }}{% endcapture %} {% endif %} {% if value.size == 0 %}{% assign value = productID %}{% endif %} {% endfor %} {% unless value.size == 0 %} {% capture check %}{{ value.size | minus:productID.size | money_without_currency | times:100 | divided_by:2 }}{% endcapture %} {% assign check = check | split:'.' %} {% if check[1] contains "5" %}{% assign display = false %}{% else %}{% assign display = true %}{% endif %} {% endunless %} {% if display %} {% form 'customer' %} {% endform %} {% else %} Go to wishlist {% endif %} {% else %} Add to wishlist {% endif %} {% endif %}
{% if settings.enable_product_compare %} {% endif %}
{% if section.settings.show_text_countdown %}
{% capture countdown_counter_html %}{% endcapture %} {% capture countdown_delivery_html %}{% endcapture %} {{ 'products.product.text_countdown_html' | t: counter: countdown_counter_html, delivery: countdown_delivery_html }}
{% endif %} {% if section.settings.show_visitors %}
{%- assign visitors_random_diff = settings.product_visitors_max | minus: settings.product_visitors_min -%} {%- assign visitors_random = "now" | date: "%N" | modulo: visitors_random_diff | plus: settings.product_visitors_min -%} {% capture visitors_counter_html %}{{ visitors_random }}{% endcapture %} {{ 'products.product.visitors_html' | t: counter: visitors_counter_html }}
{% endif %} {% if section.settings.display_spend_shipping %}
Spend ${{settings.calculte_free_shipping_number }} to get Free Shipping
{% endif %} {% if section.settings.product_bagde_image %}
{% if settings.bagde_image != blank %} {% else %} {{ 'image' | placeholder_svg_tag: 'placeholder-svg' }} {%endif %}
{% endif %} {% if product.available %} {% else %} {% endif %}
{% if section.settings.show_categories %}

Categories: {% for collection in product.collections %} {{ collection.title }}, {% endfor %}

{% endif %} {% if section.settings.show_type %}

Product Type: {{product.type }}

{% endif %} {% if section.settings.show_barcode %} {% assign current_variant = product.selected_or_first_available_variant %}

Barcode: {{current_variant.barcode }}

{% endif %} {% if section.settings.show_tag %}

Tags: {% for tag in product.tags %} {% capture url %}/collections/all/{{ tag | handle }}{% endcapture %} {{ tag | link_to: url }}, {% endfor %}

{% endif %}
{% if section.settings.enable_block_right %} {% include 'block-productdetail-right' %} {% endif %}
{% if section.settings.display_product_detail_description %}
{{ content }}
{% endif %} {% if section.settings.display_product_reviews %}
{{ product.metafields.spr.reviews }}
{% endif %} {%- for block in section.blocks -%}
{{ block.settings.tabs_content }}
{% endfor %} {% if section.settings.product_customtabs_2 %}
{{ section.settings.product_customtabs_content_2 }}
{% endif %} {% if section.settings.product_customtabs_3 %}
{{ section.settings.product_customtabs_content_3 }}
{% endif %} {% assign instructions = product.metafields.meta %} {% assign key = 'tabs-content-1' %} {% if instructions.tabs-content-1 %}
{{instructions.tabs-content-1}}
{% endif %} {% assign instructions = product.metafields.meta %} {% assign key = 'tabs-content-2' %} {% if instructions.tabs-content-2 %}
{{instructions.tabs-content-2}}
{% endif %} {% assign instructions = product.metafields.meta %} {% assign key = 'tabs-content-3' %} {% if instructions.tabs-content-3 %}
{{instructions.tabs-content-3}}
{% endif %} {% assign instructions = product.metafields.meta %} {% assign key = 'tabs-content-4' %} {% if instructions.tabs-content-4 %}
{{instructions.tabs-content-4}}
{% endif %} {% assign instructions = product.metafields.meta %} {% assign key = 'tabs-content-5' %} {% if instructions.tabs-content-5 %}
{{instructions.tabs-content-5}}
{% endif %}