var/cache/dev/twig/66/66d8eb9058f218ba03e4bd6cf7641915db2cd352ea0426dc99114affcb9e1470.php line 282

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @SyliusShop/Product/show.html.twig */
  14. class __TwigTemplate_58a51c175680a472353355672f533a53039587541d6d89bda6ffbd6301577752 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title_no_tag' => [$this'block_title_no_tag'],
  24.             'metatags' => [$this'block_metatags'],
  25.             'content' => [$this'block_content'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 3
  32.         return "@SyliusShop/layout.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Product/show.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Product/show.html.twig"));
  41.         // line 1
  42.         $context["block"] = $this->extensions['App\Twig\Extensions\Cms\BlockExtension']->getBlock("num_telephone"twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse1), "code", [], "any"falsefalsefalse1));
  43.         // line 2
  44.         $context["block_h"] = $this->extensions['App\Twig\Extensions\Cms\BlockExtension']->getBlock("horaires_magasin"twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse2), "code", [], "any"falsefalsefalse2));
  45.         // line 3
  46.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@SyliusShop/Product/show.html.twig"3);
  47.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  50.         
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  52.     }
  53.     // line 5
  54.     public function block_title_no_tag($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title_no_tag"));
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title_no_tag"));
  61.         // line 6
  62.         echo "    ";
  63.         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"falsefalsefalse6)))]);
  64.         echo "
  65. ";
  66.         
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  68.         
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  70.     }
  71.     // line 9
  72.     public function block_metatags($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  79.         // line 10
  80.         echo "    ";
  81.         $this->displayParentBlock("metatags"$context$blocks);
  82.         echo "
  83.     ";
  84.         // line 11
  85.         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"falsefalsefalse11))) {
  86.             // line 12
  87.             echo "        <meta name=\"keywords\" content=\"";
  88.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse12), "html"nulltrue);
  89.             echo "\" />
  90.     ";
  91.         }
  92.         
  93.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  94.         
  95.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  96.     }
  97.     // line 16
  98.     public function block_content($context, array $blocks = [])
  99.     {
  100.         $macros $this->macros;
  101.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  102.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  103.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  104.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  105.         // line 17
  106.         echo " <section class=\"art-bg\">
  107.     <div class=\"article-top\">
  108.         <div class=\"contenuArticle\">
  109.              <div class=\"max-container-5 p-0\">
  110.                 <div class=\"position-relative px-md-0 px-2\">
  111.                     ";
  112.         // line 22
  113.         $this->loadTemplate("@SyliusShop/Product/Show/_breadcrumb.html.twig""@SyliusShop/Product/show.html.twig"22)->display($context);
  114.         // line 23
  115.         echo "                </div>
  116.             </div>
  117.             <div class=\"max-container-5   p-0\">
  118.                 
  119.                 <div class=\"art-detail d-md-flex\">
  120.                     <div class=\"article-left\">
  121.                         <div class=\"px-lg-0 px-2 \">
  122.                             <div class=\"art-top-desc \">
  123.                                 ";
  124.         // line 32
  125.         $this->loadTemplate("@SyliusShop/Product/Show/_header.html.twig""@SyliusShop/Product/show.html.twig"32)->display($context);
  126.         // line 33
  127.         echo "                            </div>
  128.                         </div>
  129.                        ";
  130.         // line 35
  131.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.left_sidebar"$context);
  132.         echo "
  133.                         <div class=\"av-article pt-4 px-0 pb-md-0 pb-2 d-lg-block d-none\">
  134.                             <div class=\"row mx-n1 justify-content-between\">
  135.                                 <div class=\"col mb-3 text-center   px-1\">
  136.                                     <a href=\"\" class=\"box-av text-center\" title=\"";
  137.         // line 39
  138.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance5"), "html"nulltrue);
  139.         echo "\">
  140.                                         <strong class=\"d-block\"><img src=\"";
  141.         // line 40
  142.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/av5.svg"), "html"nulltrue);
  143.         echo "\" alt=\"\"></strong>
  144.                                         <span class=\"pt-2 mx-xl-n2\">";
  145.         // line 41
  146.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance5_br");
  147.         echo "</span>
  148.                                     </a>
  149.                                 </div>
  150.                                 <div class=\"col mb-3 text-center  px-1\">
  151.                                     <a href=\"\" class=\"box-av text-center\" title=\"";
  152.         // line 45
  153.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance3"), "html"nulltrue);
  154.         echo "\">
  155.                                         <strong class=\"d-block\"><img src=\"";
  156.         // line 46
  157.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/av3.svg"), "html"nulltrue);
  158.         echo "\" alt=\"\"></strong>
  159.                                         <span class=\"pt-2\">";
  160.         // line 47
  161.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance3_br");
  162.         echo "</span>
  163.                                     </a>
  164.                                 </div>
  165.                                 <div class=\"col mb-3 text-center  px-1\">
  166.                                     <a href=\"\" class=\"box-av text-center\"  title=\"";
  167.         // line 52
  168.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance6"), "html"nulltrue);
  169.         echo "\">
  170.                                         <strong class=\"d-block\"><img src=\"";
  171.         // line 53
  172.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/av6.svg"), "html"nulltrue);
  173.         echo "\" alt=\"\"></strong>
  174.                                         <span class=\"pt-2\">";
  175.         // line 54
  176.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance6_br");
  177.         echo "</span>
  178.                                     </a>
  179.                                 </div>
  180.                                 <div class=\"col mb-3 text-center   px-1\">
  181.                                     <a href=\"\" class=\"box-av text-center\" title=\"";
  182.         // line 58
  183.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance1"), "html"nulltrue);
  184.         echo "\">
  185.                                         <strong class=\"d-block\"><img src=\"";
  186.         // line 59
  187.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/av1.svg"), "html"nulltrue);
  188.         echo "\" alt=\"\"></strong>
  189.                                         <span class=\"pt-2\">";
  190.         // line 60
  191.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance1_br");
  192.         echo "</span>
  193.                                     </a>
  194.                                 </div>
  195.                                 <div class=\"col mb-3 text-center   px-1\">
  196.                                     <a href=\"\" class=\"box-av text-center\" title=\"";
  197.         // line 64
  198.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance4"), "html"nulltrue);
  199.         echo "\">
  200.                                         <strong class=\"d-block\"><img src=\"";
  201.         // line 65
  202.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/av4.svg"), "html"nulltrue);
  203.         echo "\" alt=\"\"></strong>
  204.                                         <span class=\"pt-2\">";
  205.         // line 66
  206.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance4_br");
  207.         echo "</span>
  208.                                     </a>
  209.                                 </div>
  210.                                 <div class=\"col mb-3 text-center px-lg-2 px-1\">
  211.                                     <a href=\"\" class=\"box-av text-center\" title=\"";
  212.         // line 70
  213.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance2"), "html"nulltrue);
  214.         echo "\">
  215.                                         <strong class=\"d-block\"><img src=\"";
  216.         // line 71
  217.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/av2.svg"), "html"nulltrue);
  218.         echo "\" alt=\"\"></strong>
  219.                                         <span class=\"pt-2\">";
  220.         // line 72
  221.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.reinsurance2_br");
  222.         echo "</span>
  223.                                     </a>
  224.                                 </div>
  225.                             </div>
  226.                         </div>
  227.                         <div class=\"picto-list\">
  228.                             ";
  229.         // line 78
  230.         $context['_parent'] = $context;
  231.         $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"falsefalsefalse78));
  232.         foreach ($context['_seq'] as $context["_key"] => $context["picto"]) {
  233.             // line 79
  234.             echo "                                <div class=\"picto-container\">
  235.                                     <img src=\"";
  236.             // line 80
  237.             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"falsefalsefalse80), "sylius_shop_product_tiny_thumbnail")), "html"nulltrue);
  238.             echo "\" class=\"product-picto\">
  239.                                     <span>";
  240.             // line 81
  241.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["picto"], "translation", [], "any"falsefalsefalse81), "text", [], "any"falsefalsefalse81), "html"nulltrue);
  242.             echo "</span>
  243.                                 </div>
  244.                             ";
  245.         }
  246.         $_parent $context['_parent'];
  247.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picto'], $context['_parent'], $context['loop']);
  248.         $context array_intersect_key($context$_parent) + $_parent;
  249.         // line 84
  250.         echo "                        </div>
  251.                     </div>
  252.                     <div class=\"article-right\">
  253.                         <div class=\"max-art-desc_ pl-xl-4 pl-md-3\">
  254.                             ";
  255.         // line 88
  256.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.right_sidebar"$context);
  257.         echo "
  258.                             
  259.                         </div>
  260.                     </div>
  261.                 </div>
  262.             </div>
  263.         </div>
  264.     </div>
  265.     <div class=\"px-md-2 px-0\">
  266.         ";
  267.         // line 98
  268.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.tab_details"$context);
  269.         echo "
  270.         <div class=\"article-bottom pt-md-5 pt-4 mt-md-3 mt-2 pb-md-1 \">
  271.             <div class=\"max-container-5  px-lg-4 px-0\">
  272.                 ";
  273.         // line 101
  274.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.content"$context);
  275.         echo "
  276.             </div>
  277.         </div>
  278.     </div>
  279. </section>
  280. ";
  281.         
  282.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  283.         
  284.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  285.     }
  286.     // line 108
  287.     public function block_javascripts($context, array $blocks = [])
  288.     {
  289.         $macros $this->macros;
  290.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  291.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  292.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  293.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  294.         // line 109
  295.         echo "
  296. ";
  297.         // line 110
  298.         $this->displayParentBlock("javascripts"$context$blocks);
  299.         echo "
  300. <script>
  301.     \$(\"body\").on(\"click\", '.qte-moins', function (event) {
  302.         var inputQuantity = \$(this).closest('.sylius-quantity').find('input[type=\"number\"]');
  303.         var currentVal = parseInt(inputQuantity.val());
  304.         if(currentVal > 0){
  305.             inputQuantity.val(currentVal - 1);
  306.             inputQuantity.trigger('change');
  307.         }
  308.     });
  309.     \$(\"body\").on(\"click\", '.qte-plus', function (event) {
  310.         var inputQuantity = \$(this).closest('.sylius-quantity').find('input[type=\"number\"]');
  311.         var currentVal = parseInt(inputQuantity.val());
  312.         inputQuantity.val(currentVal + 1);
  313.         inputQuantity.trigger('change');
  314.     });
  315. </script>
  316. ";
  317.         
  318.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  319.         
  320.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  321.     }
  322.     public function getTemplateName()
  323.     {
  324.         return "@SyliusShop/Product/show.html.twig";
  325.     }
  326.     public function isTraitable()
  327.     {
  328.         return false;
  329.     }
  330.     public function getDebugInfo()
  331.     {
  332.         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,);
  333.     }
  334.     public function getSourceContext()
  335.     {
  336.         return new Source("{% set block = app_get_blocks('num_telephone', sylius.channel.code )  %}
  337. {% set block_h = app_get_blocks('horaires_magasin', sylius.channel.code )  %}
  338. {% extends '@SyliusShop/layout.html.twig' %}
  339. {% block title_no_tag %}
  340.     {{ sylius_template_event('dedi_sylius_seo_plugin.title', { resource: product ?? sylius.channel })  }}
  341. {% endblock %}
  342. {% block metatags %}
  343.     {{ parent() }}
  344.     {% if product.metaKeywords is not empty %}
  345.         <meta name=\"keywords\" content=\"{{ product.metaKeywords }}\" />
  346.     {% endif %}
  347. {% endblock %}
  348. {% block content %}
  349.  <section class=\"art-bg\">
  350.     <div class=\"article-top\">
  351.         <div class=\"contenuArticle\">
  352.              <div class=\"max-container-5 p-0\">
  353.                 <div class=\"position-relative px-md-0 px-2\">
  354.                     {% include '@SyliusShop/Product/Show/_breadcrumb.html.twig' %}
  355.                 </div>
  356.             </div>
  357.             <div class=\"max-container-5   p-0\">
  358.                 
  359.                 <div class=\"art-detail d-md-flex\">
  360.                     <div class=\"article-left\">
  361.                         <div class=\"px-lg-0 px-2 \">
  362.                             <div class=\"art-top-desc \">
  363.                                 {% include '@SyliusShop/Product/Show/_header.html.twig' %}
  364.                             </div>
  365.                         </div>
  366.                        {{ sylius_template_event('sylius.shop.product.show.left_sidebar', _context) }}
  367.                         <div class=\"av-article pt-4 px-0 pb-md-0 pb-2 d-lg-block d-none\">
  368.                             <div class=\"row mx-n1 justify-content-between\">
  369.                                 <div class=\"col mb-3 text-center   px-1\">
  370.                                     <a href=\"\" class=\"box-av text-center\" title=\"{{'app.footer.reinsurance5'|trans}}\">
  371.                                         <strong class=\"d-block\"><img src=\"{{asset('images/av5.svg')}}\" alt=\"\"></strong>
  372.                                         <span class=\"pt-2 mx-xl-n2\">{{'app.footer.reinsurance5_br'|trans|raw}}</span>
  373.                                     </a>
  374.                                 </div>
  375.                                 <div class=\"col mb-3 text-center  px-1\">
  376.                                     <a href=\"\" class=\"box-av text-center\" title=\"{{'app.footer.reinsurance3'|trans}}\">
  377.                                         <strong class=\"d-block\"><img src=\"{{asset('images/av3.svg')}}\" alt=\"\"></strong>
  378.                                         <span class=\"pt-2\">{{'app.footer.reinsurance3_br'|trans|raw}}</span>
  379.                                     </a>
  380.                                 </div>
  381.                                 <div class=\"col mb-3 text-center  px-1\">
  382.                                     <a href=\"\" class=\"box-av text-center\"  title=\"{{'app.footer.reinsurance6'|trans}}\">
  383.                                         <strong class=\"d-block\"><img src=\"{{asset('images/av6.svg')}}\" alt=\"\"></strong>
  384.                                         <span class=\"pt-2\">{{'app.footer.reinsurance6_br'|trans|raw}}</span>
  385.                                     </a>
  386.                                 </div>
  387.                                 <div class=\"col mb-3 text-center   px-1\">
  388.                                     <a href=\"\" class=\"box-av text-center\" title=\"{{'app.footer.reinsurance1'|trans}}\">
  389.                                         <strong class=\"d-block\"><img src=\"{{asset('images/av1.svg')}}\" alt=\"\"></strong>
  390.                                         <span class=\"pt-2\">{{'app.footer.reinsurance1_br'|trans|raw}}</span>
  391.                                     </a>
  392.                                 </div>
  393.                                 <div class=\"col mb-3 text-center   px-1\">
  394.                                     <a href=\"\" class=\"box-av text-center\" title=\"{{'app.footer.reinsurance4'|trans}}\">
  395.                                         <strong class=\"d-block\"><img src=\"{{asset('images/av4.svg')}}\" alt=\"\"></strong>
  396.                                         <span class=\"pt-2\">{{'app.footer.reinsurance4_br'|trans|raw}}</span>
  397.                                     </a>
  398.                                 </div>
  399.                                 <div class=\"col mb-3 text-center px-lg-2 px-1\">
  400.                                     <a href=\"\" class=\"box-av text-center\" title=\"{{'app.footer.reinsurance2'|trans}}\">
  401.                                         <strong class=\"d-block\"><img src=\"{{asset('images/av2.svg')}}\" alt=\"\"></strong>
  402.                                         <span class=\"pt-2\">{{'app.footer.reinsurance2_br'|trans|raw}}</span>
  403.                                     </a>
  404.                                 </div>
  405.                             </div>
  406.                         </div>
  407.                         <div class=\"picto-list\">
  408.                             {% for picto in product.pictograms %}
  409.                                 <div class=\"picto-container\">
  410.                                     <img src=\"{{ asset(picto.path|imagine_filter('sylius_shop_product_tiny_thumbnail')) }}\" class=\"product-picto\">
  411.                                     <span>{{ picto.translation.text }}</span>
  412.                                 </div>
  413.                             {% endfor %}
  414.                         </div>
  415.                     </div>
  416.                     <div class=\"article-right\">
  417.                         <div class=\"max-art-desc_ pl-xl-4 pl-md-3\">
  418.                             {{ sylius_template_event('sylius.shop.product.show.right_sidebar', _context) }}
  419.                             
  420.                         </div>
  421.                     </div>
  422.                 </div>
  423.             </div>
  424.         </div>
  425.     </div>
  426.     <div class=\"px-md-2 px-0\">
  427.         {{ sylius_template_event('sylius.shop.product.show.tab_details', _context) }}
  428.         <div class=\"article-bottom pt-md-5 pt-4 mt-md-3 mt-2 pb-md-1 \">
  429.             <div class=\"max-container-5  px-lg-4 px-0\">
  430.                 {{ sylius_template_event('sylius.shop.product.show.content', _context) }}
  431.             </div>
  432.         </div>
  433.     </div>
  434. </section>
  435. {% endblock %}
  436. {% block javascripts %}
  437. {{ parent() }}
  438. <script>
  439.     \$(\"body\").on(\"click\", '.qte-moins', function (event) {
  440.         var inputQuantity = \$(this).closest('.sylius-quantity').find('input[type=\"number\"]');
  441.         var currentVal = parseInt(inputQuantity.val());
  442.         if(currentVal > 0){
  443.             inputQuantity.val(currentVal - 1);
  444.             inputQuantity.trigger('change');
  445.         }
  446.     });
  447.     \$(\"body\").on(\"click\", '.qte-plus', function (event) {
  448.         var inputQuantity = \$(this).closest('.sylius-quantity').find('input[type=\"number\"]');
  449.         var currentVal = parseInt(inputQuantity.val());
  450.         inputQuantity.val(currentVal + 1);
  451.         inputQuantity.trigger('change');
  452.     });
  453. </script>
  454. {% endblock %}
  455. ""@SyliusShop/Product/show.html.twig""/home/6nergiesboutique/www_preprod/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Product/show.html.twig");
  456.     }
  457. }