{% extends '@SyliusShop/layout.html.twig' %}
{% block content %}
{% include '@SyliusShop/Product/Show/_breadcrumb.html.twig' %}
<div class="ui hidden divider"></div>
<div class="ui two column stackable grid">
<div class="four wide column">
{{ sonata_block_render_event('sylius.shop.product.show.before_images', {'product': product}) }}
{% include '@SyliusShop/Product/Show/_images.html.twig' %}
{{ sonata_block_render_event('sylius.shop.product.show.after_images', {'product': product}) }}
</div>
<div class="column">
{% include '@SyliusShop/Product/Show/_header.html.twig' %}
{{ sonata_block_render_event('sylius.shop.product.show.after_product_header', {'product': product}) }}
{# avis #}
{#
{% include '@SyliusShop/Product/Show/_reviews.html.twig' %}
{{ sonata_block_render_event('sylius.shop.product.show.after_reviews', {'product': product}) }}
#}
<div class="ui stackable grid">
<div class="four wide column">
{# Price #}
{#
{% if not product.variants.empty() %}
{% include '@SyliusShop/Product/Show/_price.html.twig' %}
{% endif %}
#}
</div>
{# avis #}
{#
<div class="twelve wide right aligned column">
<span class="ui sub header">{{ product.code }}</span>
</div>
#}
</div>
{{ sonata_block_render_event('sylius.shop.product.show.after_price', {'product': product}) }}
<div class="ui basic segment">
<p>{{ product.shortDescription }}</p>
</div>
{{ sonata_block_render_event('sylius.shop.product.show.after_description', {'product': product}) }}
{# Price #}
{#
{% if product.isConfigurable() and product.getVariantSelectionMethod() == 'match' and not product.variants.empty() %}
{% include '@SyliusShop/Product/Show/_variantsPricing.html.twig' with {'pricing': sylius_product_variant_prices(product, sylius.channel)} %}
{% endif %}
#}
{% include '@SyliusShop/Product/Show/_inventory.html.twig' %}
<div class="ui hidden divider"></div>
{# ADD CARD #}
{#
{{ sonata_block_render_event('sylius.shop.product.show.after_add_to_cart', {'product': product}) }}
#}
</div>
</div>
{{ sonata_block_render_event('sylius.shop.product.show.before_tabs', {'product': product}) }}
{% include '@SyliusShop/Product/Show/_tabs.html.twig' %}
{{ sonata_block_render_event('sylius.shop.product.show.before_associations', {'product': product}) }}
{% include '@SyliusShop/Product/Show/_associations.html.twig' %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script type="text/javascript">
lightbox.option({
'albumLabel': '{{ 'sylius.lightbox.image_album_label'|trans|escape('js') }}'
});
</script>
{% endblock %}