<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @SyliusShop/Product/show.html.twig */
class __TwigTemplate_58a51c175680a472353355672f533a53039587541d6d89bda6ffbd6301577752 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title_no_tag' => [$this, 'block_title_no_tag'],
'metatags' => [$this, 'block_metatags'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 3
return "@SyliusShop/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Product/show.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Product/show.html.twig"));
// line 1
$context["block"] = $this->extensions['App\Twig\Extensions\Cms\BlockExtension']->getBlock("num_telephone", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["sylius"]) || array_key_exists("sylius", $context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.', 1, $this->source); })()), "channel", [], "any", false, false, false, 1), "code", [], "any", false, false, false, 1));
// line 2
$context["block_h"] = $this->extensions['App\Twig\Extensions\Cms\BlockExtension']->getBlock("horaires_magasin", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["sylius"]) || array_key_exists("sylius", $context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.', 2, $this->source); })()), "channel", [], "any", false, false, false, 2), "code", [], "any", false, false, false, 2));
// line 3
$this->parent = $this->loadTemplate("@SyliusShop/layout.html.twig", "@SyliusShop/Product/show.html.twig", 3);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
public function block_title_no_tag($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title_no_tag"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title_no_tag"));
// line 6
echo " ";
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("dedi_sylius_seo_plugin.title", ["resource" => (($context["product"]) ?? (twig_get_attribute($this->env, $this->source, (isset($context["sylius"]) || array_key_exists("sylius", $context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.', 6, $this->source); })()), "channel", [], "any", false, false, false, 6)))]);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 9
public function block_metatags($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatags"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatags"));
// line 10
echo " ";
$this->displayParentBlock("metatags", $context, $blocks);
echo "
";
// line 11
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 11, $this->source); })()), "metaKeywords", [], "any", false, false, false, 11))) {
// line 12
echo " <meta name=\"keywords\" content=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 12, $this->source); })()), "metaKeywords", [], "any", false, false, false, 12), "html", null, true);
echo "\" />
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 16
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 17
echo " <section class=\"art-bg\">
<div class=\"article-top\">
<div class=\"contenuArticle\">
<div class=\"max-container-5 p-0\">
<div class=\"position-relative px-md-0 px-2\">
";
// line 22
$this->loadTemplate("@SyliusShop/Product/Show/_breadcrumb.html.twig", "@SyliusShop/Product/show.html.twig", 22)->display($context);
// line 23
echo " </div>
</div>
<div class=\"max-container-5 p-0\">
<div class=\"art-detail d-md-flex\">
<div class=\"article-left\">
<div class=\"px-lg-0 px-2 \">
<div class=\"art-top-desc \">
";
// line 32
$this->loadTemplate("@SyliusShop/Product/Show/_header.html.twig", "@SyliusShop/Product/show.html.twig", 32)->display($context);
// line 33
echo " </div>
</div>
";
// line 35
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.left_sidebar", $context);
echo "
<div class=\"av-article pt-4 px-0 pb-md-0 pb-2 d-lg-block d-none\">
<div class=\"row mx-n1 justify-content-between\">
<div class=\"col mb-3 text-center px-1\">
<a href=\"\" class=\"box-av text-center\" title=\"";
// line 39
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance5"), "html", null, true);
echo "\">
<strong class=\"d-block\"><img src=\"";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/av5.svg"), "html", null, true);
echo "\" alt=\"\"></strong>
<span class=\"pt-2 mx-xl-n2\">";
// line 41
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance5_br");
echo "</span>
</a>
</div>
<div class=\"col mb-3 text-center px-1\">
<a href=\"\" class=\"box-av text-center\" title=\"";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance3"), "html", null, true);
echo "\">
<strong class=\"d-block\"><img src=\"";
// line 46
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/av3.svg"), "html", null, true);
echo "\" alt=\"\"></strong>
<span class=\"pt-2\">";
// line 47
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance3_br");
echo "</span>
</a>
</div>
<div class=\"col mb-3 text-center px-1\">
<a href=\"\" class=\"box-av text-center\" title=\"";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance6"), "html", null, true);
echo "\">
<strong class=\"d-block\"><img src=\"";
// line 53
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/av6.svg"), "html", null, true);
echo "\" alt=\"\"></strong>
<span class=\"pt-2\">";
// line 54
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance6_br");
echo "</span>
</a>
</div>
<div class=\"col mb-3 text-center px-1\">
<a href=\"\" class=\"box-av text-center\" title=\"";
// line 58
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance1"), "html", null, true);
echo "\">
<strong class=\"d-block\"><img src=\"";
// line 59
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/av1.svg"), "html", null, true);
echo "\" alt=\"\"></strong>
<span class=\"pt-2\">";
// line 60
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance1_br");
echo "</span>
</a>
</div>
<div class=\"col mb-3 text-center px-1\">
<a href=\"\" class=\"box-av text-center\" title=\"";
// line 64
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance4"), "html", null, true);
echo "\">
<strong class=\"d-block\"><img src=\"";
// line 65
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/av4.svg"), "html", null, true);
echo "\" alt=\"\"></strong>
<span class=\"pt-2\">";
// line 66
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance4_br");
echo "</span>
</a>
</div>
<div class=\"col mb-3 text-center px-lg-2 px-1\">
<a href=\"\" class=\"box-av text-center\" title=\"";
// line 70
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance2"), "html", null, true);
echo "\">
<strong class=\"d-block\"><img src=\"";
// line 71
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/av2.svg"), "html", null, true);
echo "\" alt=\"\"></strong>
<span class=\"pt-2\">";
// line 72
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance2_br");
echo "</span>
</a>
</div>
</div>
</div>
<div class=\"picto-list\">
";
// line 78
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 78, $this->source); })()), "pictograms", [], "any", false, false, false, 78));
foreach ($context['_seq'] as $context["_key"] => $context["picto"]) {
// line 79
echo " <div class=\"picto-container\">
<img src=\"";
// line 80
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Sylius\Bundle\CoreBundle\Twig\FilterExtension']->filter(twig_get_attribute($this->env, $this->source, $context["picto"], "path", [], "any", false, false, false, 80), "sylius_shop_product_tiny_thumbnail")), "html", null, true);
echo "\" class=\"product-picto\">
<span>";
// line 81
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["picto"], "translation", [], "any", false, false, false, 81), "text", [], "any", false, false, false, 81), "html", null, true);
echo "</span>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picto'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 84
echo " </div>
</div>
<div class=\"article-right\">
<div class=\"max-art-desc_ pl-xl-4 pl-md-3\">
";
// line 88
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.right_sidebar", $context);
echo "
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"px-md-2 px-0\">
";
// line 98
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.tab_details", $context);
echo "
<div class=\"article-bottom pt-md-5 pt-4 mt-md-3 mt-2 pb-md-1 \">
<div class=\"max-container-5 px-lg-4 px-0\">
";
// line 101
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.content", $context);
echo "
</div>
</div>
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 108
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 109
echo "
";
// line 110
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script>
\$(\"body\").on(\"click\", '.qte-moins', function (event) {
var inputQuantity = \$(this).closest('.sylius-quantity').find('input[type=\"number\"]');
var currentVal = parseInt(inputQuantity.val());
if(currentVal > 0){
inputQuantity.val(currentVal - 1);
inputQuantity.trigger('change');
}
});
\$(\"body\").on(\"click\", '.qte-plus', function (event) {
var inputQuantity = \$(this).closest('.sylius-quantity').find('input[type=\"number\"]');
var currentVal = parseInt(inputQuantity.val());
inputQuantity.val(currentVal + 1);
inputQuantity.trigger('change');
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@SyliusShop/Product/show.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 331 => 110, 328 => 109, 318 => 108, 301 => 101, 295 => 98, 282 => 88, 276 => 84, 267 => 81, 263 => 80, 260 => 79, 256 => 78, 247 => 72, 243 => 71, 239 => 70, 232 => 66, 228 => 65, 224 => 64, 217 => 60, 213 => 59, 209 => 58, 202 => 54, 198 => 53, 194 => 52, 186 => 47, 182 => 46, 178 => 45, 171 => 41, 167 => 40, 163 => 39, 156 => 35, 152 => 33, 150 => 32, 139 => 23, 137 => 22, 130 => 17, 120 => 16, 106 => 12, 104 => 11, 99 => 10, 89 => 9, 76 => 6, 66 => 5, 55 => 3, 53 => 2, 51 => 1, 38 => 3,);
}
public function getSourceContext()
{
return new Source("{% set block = app_get_blocks('num_telephone', sylius.channel.code ) %}
{% set block_h = app_get_blocks('horaires_magasin', sylius.channel.code ) %}
{% extends '@SyliusShop/layout.html.twig' %}
{% block title_no_tag %}
{{ sylius_template_event('dedi_sylius_seo_plugin.title', { resource: product ?? sylius.channel }) }}
{% endblock %}
{% block metatags %}
{{ parent() }}
{% if product.metaKeywords is not empty %}
<meta name=\"keywords\" content=\"{{ product.metaKeywords }}\" />
{% endif %}
{% endblock %}
{% block content %}
<section class=\"art-bg\">
<div class=\"article-top\">
<div class=\"contenuArticle\">
<div class=\"max-container-5 p-0\">
<div class=\"position-relative px-md-0 px-2\">
{% include '@SyliusShop/Product/Show/_breadcrumb.html.twig' %}
</div>
</div>
<div class=\"max-container-5 p-0\">
<div class=\"art-detail d-md-flex\">
<div class=\"article-left\">
<div class=\"px-lg-0 px-2 \">
<div class=\"art-top-desc \">
{% include '@SyliusShop/Product/Show/_header.html.twig' %}
</div>
</div>
{{ sylius_template_event('sylius.shop.product.show.left_sidebar', _context) }}
<div class=\"av-article pt-4 px-0 pb-md-0 pb-2 d-lg-block d-none\">
<div class=\"row mx-n1 justify-content-between\">
<div class=\"col mb-3 text-center px-1\">
<a href=\"\" class=\"box-av text-center\" title=\"{{'app.footer.reinsurance5'|trans}}\">
<strong class=\"d-block\"><img src=\"{{asset('images/av5.svg')}}\" alt=\"\"></strong>
<span class=\"pt-2 mx-xl-n2\">{{'app.footer.reinsurance5_br'|trans|raw}}</span>
</a>
</div>
<div class=\"col mb-3 text-center px-1\">
<a href=\"\" class=\"box-av text-center\" title=\"{{'app.footer.reinsurance3'|trans}}\">
<strong class=\"d-block\"><img src=\"{{asset('images/av3.svg')}}\" alt=\"\"></strong>
<span class=\"pt-2\">{{'app.footer.reinsurance3_br'|trans|raw}}</span>
</a>
</div>
<div class=\"col mb-3 text-center px-1\">
<a href=\"\" class=\"box-av text-center\" title=\"{{'app.footer.reinsurance6'|trans}}\">
<strong class=\"d-block\"><img src=\"{{asset('images/av6.svg')}}\" alt=\"\"></strong>
<span class=\"pt-2\">{{'app.footer.reinsurance6_br'|trans|raw}}</span>
</a>
</div>
<div class=\"col mb-3 text-center px-1\">
<a href=\"\" class=\"box-av text-center\" title=\"{{'app.footer.reinsurance1'|trans}}\">
<strong class=\"d-block\"><img src=\"{{asset('images/av1.svg')}}\" alt=\"\"></strong>
<span class=\"pt-2\">{{'app.footer.reinsurance1_br'|trans|raw}}</span>
</a>
</div>
<div class=\"col mb-3 text-center px-1\">
<a href=\"\" class=\"box-av text-center\" title=\"{{'app.footer.reinsurance4'|trans}}\">
<strong class=\"d-block\"><img src=\"{{asset('images/av4.svg')}}\" alt=\"\"></strong>
<span class=\"pt-2\">{{'app.footer.reinsurance4_br'|trans|raw}}</span>
</a>
</div>
<div class=\"col mb-3 text-center px-lg-2 px-1\">
<a href=\"\" class=\"box-av text-center\" title=\"{{'app.footer.reinsurance2'|trans}}\">
<strong class=\"d-block\"><img src=\"{{asset('images/av2.svg')}}\" alt=\"\"></strong>
<span class=\"pt-2\">{{'app.footer.reinsurance2_br'|trans|raw}}</span>
</a>
</div>
</div>
</div>
<div class=\"picto-list\">
{% for picto in product.pictograms %}
<div class=\"picto-container\">
<img src=\"{{ asset(picto.path|imagine_filter('sylius_shop_product_tiny_thumbnail')) }}\" class=\"product-picto\">
<span>{{ picto.translation.text }}</span>
</div>
{% endfor %}
</div>
</div>
<div class=\"article-right\">
<div class=\"max-art-desc_ pl-xl-4 pl-md-3\">
{{ sylius_template_event('sylius.shop.product.show.right_sidebar', _context) }}
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"px-md-2 px-0\">
{{ sylius_template_event('sylius.shop.product.show.tab_details', _context) }}
<div class=\"article-bottom pt-md-5 pt-4 mt-md-3 mt-2 pb-md-1 \">
<div class=\"max-container-5 px-lg-4 px-0\">
{{ sylius_template_event('sylius.shop.product.show.content', _context) }}
</div>
</div>
</div>
</section>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script>
\$(\"body\").on(\"click\", '.qte-moins', function (event) {
var inputQuantity = \$(this).closest('.sylius-quantity').find('input[type=\"number\"]');
var currentVal = parseInt(inputQuantity.val());
if(currentVal > 0){
inputQuantity.val(currentVal - 1);
inputQuantity.trigger('change');
}
});
\$(\"body\").on(\"click\", '.qte-plus', function (event) {
var inputQuantity = \$(this).closest('.sylius-quantity').find('input[type=\"number\"]');
var currentVal = parseInt(inputQuantity.val());
inputQuantity.val(currentVal + 1);
inputQuantity.trigger('change');
});
</script>
{% endblock %}
", "@SyliusShop/Product/show.html.twig", "/home/6nergiesboutique/www_preprod/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Product/show.html.twig");
}
}