{%- assign product_images = product.images -%} {%- assign first_available = product.variants | where: 'available', true | first -%} {%- if first_available and first_available.images.size > 0 and settings['product_variant_images'] -%} {%- assign product_images = first_available.images -%} {%- endif -%} {%- assign product_bonuses = false -%} {%- if settings['product_bonuses'] and account.enable_bonus_system? and account.bonus_system -%} {% assign product_bonuses = true %} {%- endif -%}
{% assign product_old_price = false %} {% if first_available.old_price and first_available.price < first_available.old_price %} {% assign product_old_price = true %} {% endif %}
{% include '_elements.labels' %}

{{ product.fields.h1.value | default: product.title }}

{% if product.sku or settings['product_total_sold'] %}
{% if product.sku %}
{{ messages.pages.product.sku }}{{ first_available.sku }}
{% endif %} {% if settings['product_total_sold'] %}
{% if product.total_sold > 20 %}{{ messages.pages.product.total_sold.more }} {{ product.total_sold | divided_by: 10 | round: 0 | times: 10 }}{% else %}{{ messages.pages.product.total_sold.less }} 20{% endif %} {{ messages.pages.product.total_sold.times }}
{% endif %} {%- if settings['product_unit'] -%}
{{ messages.pages.product.unit }}: {{ product.unit }}
{% endif %}
{% endif %}
{% if product.is_bundle and product.bundle_discount > 0 %}
{{ product.price | money }}
{{ product.price | plus: product.bundle_discount | money }}
{{ messages.pages.product.discount }} {{ product.bundle_discount | money }}
{% else %}
{{ first_available.price | money }}
{{ first_available.old_price | money }}
{{ messages.pages.product.discount }} {{ first_available.old_price | minus: first_available.price | money }}
{% endif %} {% if blocks['garantiya-originala'].content %} {% endif %}
Логотип
Проверено экспертами BS и ИИ
{% if settings['product_brand'] %} {% assign brand_handle = settings['product_brand_handle'] | default: '-null-' %} {% assign brand_collection = settings['product_brand_collection'] | default: '-null-' %} {% assign brand_property = product.properties | where: 'handle', brand_handle | first %} {% if brand_property %} {% assign brand_title = brand_property.characteristics.first.title %} {% assign brand_collection = collections[brand_collection].subcollections | where: 'title', brand_title | first %} {% if brand_collection %}
{% include '_elements.brand-card', brand: brand_collection %}
{% endif %} {% endif %} {% endif %}
{% if account.reviews_enabled? %}
{% include '_elements.rating', target: 'product' %}
{% endif %} {%- if product.short_description -%}
{{- product.short_description -}}
{%- endif -%} {%- if settings['module_marketplaces'] -%} {%- include '_modules.marketplaces' -%} {%- endif -%} {%- if product.show_variants? -%}
{%- include '_elements.alert', alert_type: 'info', alert_icon: 'spinner', alert_text: messages.pages.product.loader -%}
{%- endif -%}
{%- if first_available.available -%} {{- messages.pages.product.available.true -}} {%- else -%} {{- messages.pages.product.available.false -}} {%- endif -%} {%- if settings['product_quantity'] -%} {{ first_available.quantity }} {%- endif -%} {%- if settings['module_warehouses'] -%} {%- assign wh_count = 0 -%} {%- for wh in first_available.quantity_at_warehouses -%} {%- if wh[1] != 0 -%} {%- assign wh_count = wh_count | plus: 1 -%} {%- endif -%} {%- endfor -%} {%- capture wh_text -%}{%- include '_helpers.count', count: wh_count, names: messages.stores -%}{%- endcapture -%} {%- endif -%}
{% if product.is_bundle %} {%- endif -%} {% include '_elements.product-variant' %} {%- if product.show_variants? -%}
{%- for option in product.options -%} {%- capture option_with_property_title -%}{{ option.title }} - {{ product.properties['size-tables'].characteristics.first.title }}{%- endcapture -%} {%- assign option_with_property_block = block_lists.with_template['startstore-option-description'].startstore-option-description.blocks | where: 'title', option_with_property_title | first -%} {%- if option_with_property_block -%} {%- assign option_icon = 'ruler' -%} {%- assign property_block = option_with_property_block -%} {% else %} {%- assign option_icon = 'info' -%} {%- assign options_property_block = block_lists.with_template['startstore-option-description'].startstore-option-description.blocks | where: 'title', option.title | first -%} {%- assign property_block = options_property_block -%} {% endif %} {%- if property_block -%} {%- endif -%} {%- endfor -%} {% assign size_grids_new = product.fields.size_grid.value | json_parse %} {% if size_grids_new %} {% endif %} {%- else -%} {%- endif -%} {%- if product_bonuses -%}
{%- endif -%}
{%- assign button_mobile_class = 'is-mobile-visible' -%} {%- if settings['module_favorites'] or settings['module_compare'] -%} {%- assign button_mobile_class = 'is-mobile-hidden' -%} {%- endif -%}
{{ messages.pages.product.buttons.in_cart }} {{ product.unit }} {{ messages.pages.product.buttons.open_cart }}
{%- if settings['product_preorder'] -%} {%- else -%} {%- endif -%}
{%- if settings['module_favorites'] or settings['module_compare'] -%}
{%- if settings['module_favorites'] -%} {%- endif -%} {%- if settings['module_compare'] -%} {%- endif -%}
{%- endif -%}
{%- if settings['product_whatsapp'] -%}
{%- if settings['product_whatsapp'] -%}
{% capture product_whatsapp_text %}{{ messages.pages.product.whatsapp.text }} «{{ product.title }}» {{ account.url }}{{ product.url }}{% endcapture %} {% include '_helpers.social', icon: 'whatsapp', uniq: 'quick-question' %}{{ messages.pages.product.whatsapp.button }}
{%- endif -%}
{%- endif -%} {%- if settings['product_cheaper'] or settings['product_question'] or settings['module_share_product'] or settings['module_grid_product'] -%}
{% assign size_grids = product.fields.size_grid.value | json_parse %} {%- if settings['module_grid_product'] and size_grids != '[]' -%} {%- endif -%} {%- if settings['product_cheaper'] -%} {%- endif -%} {%- if settings['product_question'] -%} {%- endif -%} {%- if settings['module_share_product'] -%} {%- endif -%}
{% endif %}
{% assign delivery_min = product.fields.delivery_min.value %} {% if delivery_min %} {% assign now_ts = 'now' | date: '%s' %} {% assign day_sec = 86400 %} {% assign delivery_min_sec = delivery_min | times: day_sec %} {% assign plus_4_sec = 4 | times: day_sec %} {% assign plus_12_sec = 12 | times: day_sec %} {% assign free_from_ts = now_ts | plus: delivery_min_sec %} {% assign fast_from_ts = free_from_ts | plus: plus_12_sec %} {% assign fast_to_ts = fast_from_ts | plus: plus_4_sec %} {% assign months = "января,февраля,марта,апреля,мая,июня,июля,августа,сентября,октября,ноября,декабря" | split: "," %} {% assign fast_from_day = fast_from_ts | date: "%-d" %} {% assign fast_from_month = fast_from_ts | date: "%-m" | minus: 1 %} {% assign fast_to_day = fast_to_ts | date: "%-d" %} {% assign fast_to_month = fast_to_ts | date: "%-m" | minus: 1 %}
{% include '_helpers.icons', glyph: 'product-delivery-car' %}
Примерный срок доставки в Москву, ЦФО
Бесплатная доставка {{ fast_from_day }} {{ months[fast_from_month] }} — {{ fast_to_day }} {{ months[fast_to_month] }}
{% include '_helpers.icons', glyph: 'product-delivery-calendar' %}
Бесплатная доставка | Возврат возможен в течение 7 дней после получения товара
{% include '_helpers.icons', glyph: 'product-delivery-verify' %}
Поддержка 24/7 | Покупка с уверенностью
{%- endif -%}
{%- if settings['module_installment'] -%} {%- include '_modules.installment' -%} {%- endif -%} {%- if settings['product_related_bundles'] and product.related_bundles.size > 0 -%} {%- endif -%} {%- if settings['module_delivery-widget'] and account.delivery_widget.enabled? -%}
{%- include 'system_insales_widget-calculate_delivery' -%}
{%- endif -%} {%- if settings['product_tags'] -%}
{%- assign product_tags = product.collections | sort: 'level' -%} {%- for tag in product_tags -%} {%- if tag.level > 0 -%} {{ tag.title }} {%- endif -%} {%- endfor -%}
{%- endif -%}
{%- include '_elements.tabs.product' -%} {%- if account.reviews_enabled? and settings['product_comments_bottom'] -%}
{{ messages.pages.product.comments.section_title }}{% if product.reviews.size > 0 %} {{ product.reviews.size }}{% endif %}
{%- include '_elements.comments.product' -%}
{%- endif -%}
{%- if settings['banner-product-footer'] -%}
{%- endif -%} {%- assign product_similar_products = product.similar_products -%} {%- if settings['product_products_available'] -%} {%- assign product_similar_products = product.similar_products | where: 'available', true -%} {%- endif -%} {%- if product_similar_products.size > 0 -%}
{{ messages.pages.product.similar.title }}
{%- include '_elements.products', products_collection: product_similar_products, products_limit: settings['product_products_limit'], products_type: 'scroll' -%}
{%- elsif settings['product_products_autofill'] -%} {%- if current_collections -%} {%- assign similar_path = collection -%} {%- elsif product.canonical_collection -%} {%- assign similar_path = product.canonical_collection -%} {%- else -%} {%- assign similar_root = product.collections | sort: 'level' -%} {%- assign similar_path = similar_root.last -%} {%- endif -%} {%- assign product_similar_products = similar_path.products -%} {%- if settings['product_products_available'] -%} {%- assign product_similar_products = similar_path.products | where: 'available', true -%} {%- endif -%} {%- if product_similar_products.size > 1 -%}
{{ messages.pages.product.similar.title }}
{%- include '_elements.products-autofill', products_collection: product_similar_products, products_type: 'scroll' -%}
{%- endif -%} {%- endif -%} {%- assign product_related_products = product.related_products -%} {%- if settings['product_products_available'] -%} {%- assign product_related_products = product.related_products | where: 'available', true -%} {%- endif -%} {%- if product.related_products.size > 0 -%}
{{ messages.pages.product.related.title }}
{%- include '_elements.products', products_collection: product_related_products, products_limit: settings['product_products_limit'], products_type: 'scroll' -%}
{%- endif -%} {%- if settings['module_products-recently'] -%} {%- include '_modules.products-recently' -%} {%- endif -%} {%- if settings['product_variant_images'] -%} {%- endif -%}