{% import "@SyliusShop/Common/Macro/money.html.twig" as money %} {% if col is not defined %} {% set col = app.request.get('col') %} {% set col_md = app.request.get('col_md') %} {% set col_lg = app.request.get('col_lg') %} {% endif %}
{% if col_lg is same as('col-lg-12') %} {% include '@SyliusShop/Product/_mainImageBig.html.twig' with {'product': product} %} {% else %} {% include '@SyliusShop/Product/_mainImage.html.twig' with {'product': product} %} {% endif %}
{% if date(product.updatedAt) < date('-7days') %} New {% endif %}
{{ product.name }}
{% if not product.enabledVariants.empty() %}
{{ money.calculatePrice(product|sylius_resolve_variant) }} {% if product.enabledVariants.first.channelPricings.first.originalPrice is defined and product.enabledVariants.first.channelPricings.first.price is defined and product.enabledVariants.first.channelPricings.first.originalPrice != product.enabledVariants.first.channelPricings.first.price %} {{money.format(product.enabledVariants.first.channelPricings.first.originalPrice, 'EUR') }}
{{ (((product.enabledVariants.first.channelPricings.first.originalPrice - product.enabledVariants.first.channelPricings.first.price)/ product.enabledVariants.first.channelPricings.first.originalPrice) * 100)|round }}% Off
{% endif %}
{% endif %} {% include '@SyliusShop/Product/_starRating.html.twig' %}

{{ product.description }}