var/cache/dev/twig/c6/c6287ab40fd0b8b57067bd5b826b23c49fc8c7e3071722aae9cd743fc591f001.php line 52

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. /* frontend/product.html.twig */
  14. class __TwigTemplate_e6002284858a685924ba3e7f3b1ff648eaf12745797cd31b6abcfaa645e6cf73 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.             'JS' => [$this'block_JS'],
  24.             'title' => [$this'block_title'],
  25.             'metaDescription' => [$this'block_metaDescription'],
  26.             'CSS' => [$this'block_CSS'],
  27.             'content' => [$this'block_content'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "frontend/base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/product.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/product.html.twig"));
  42.         $this->parent $this->loadTemplate("frontend/base.html.twig""frontend/product.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 2
  50.     public function block_JS($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""JS"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""JS"));
  57.         // line 3
  58.         echo "<script src=\"https://use.fontawesome.com/874ad7ad81.js\"></script>
  59. <!-- Menu principale(mobile)-->
  60. <!-- Optional JavaScript -->
  61. <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  62. <script src=\"https://code.jquery.com/jquery-3.1.1.min.js\"></script>
  63. <script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.photoswipe-global.js\"></script>
  64. <script type=\"text/javascript\" src=\"/assets/frontend/js/photoswipe.min.js\"></script>
  65. <script type=\"text/javascript\" src=\"/assets/frontend/js/photoswipe-ui-default.js\"></script>
  66. <script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.photoswipe-global.js\"></script>
  67. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js\"
  68.         integrity=\"sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ\"
  69.         crossorigin=\"anonymous\"></script>
  70. <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js\"
  71.         integrity=\"sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm\"
  72.         crossorigin=\"anonymous\"></script>
  73. <script type=\"text/javascript\" src=\"/assets/frontend/js/owl.carousel.min.js\"></script>
  74. <script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.min.js\"></script>
  75. <script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.mmenu.js\"></script>
  76. <script src=\"https://unpkg.com/infinite-scroll@3/dist/infinite-scroll.pkgd.min.js\"></script>
  77. <script type=\"text/javascript\">
  78.     \$(function() {
  79.         \$('#menu').mmenu();
  80.         \$('.endless_container').infiniteScroll({
  81.             path: '.page-next',
  82.             append: '.endless_page',
  83.             history: false,
  84.         });
  85.         \$('.endless_container').on( 'request.infiniteScroll', function( event, path, fetchPromise ) {
  86.                 console.log(`Loading page: \${path}`);
  87.                 \$('#product-loader').show();
  88.                 });
  89.                  
  90.                 \$('.endless_container').on( 'append.infiniteScroll', function( event, body, path, items, response ) {
  91.                 console.log(`Appended \${items.length} items on \${path}`);
  92.                 \$('#product-loader').hide();
  93.                 });
  94.     });
  95. </script>
  96. ";
  97.         // line 82
  98.         echo "<script type=\"text/javascript\" src=\"/assets/frontend/js/main.js\"></script>
  99. <script type=\"text/javascript\" src=\"/assets/frontend/js/registration.js\"></script>
  100. <script type=\"text/javascript\" src=\"/assets/frontend/js/region-currency-lang-select.js\"></script>
  101. <script type=\"text/javascript\" src=\"/assets/frontend/js/custom-select.js\"></script>
  102. <script src=\"";
  103.         // line 86
  104.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/frontend/category.js"), "html"nulltrue);
  105.         echo "\"></script>
  106. ";
  107.         
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  109.         
  110.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  111.     }
  112.     // line 88
  113.     public function block_title($context, array $blocks = [])
  114.     {
  115.         $macros $this->macros;
  116.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  117.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  118.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  120.         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.'88$this->source); })()), "name", [], "any"falsefalsefalse88), "html"nulltrue);
  121.         echo ", ";
  122.         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.'88$this->source); })()), "brandName", [], "any"falsefalsefalse88), "html"nulltrue);
  123.         echo " | ";
  124.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'88$this->source); })()), "company", [], "any"falsefalsefalse88), "name", [], "any"falsefalsefalse88), "html"nulltrue);
  125.         
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  127.         
  128.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  129.     }
  130.     // line 89
  131.     public function block_metaDescription($context, array $blocks = [])
  132.     {
  133.         $macros $this->macros;
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  137.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  138.         echo twig_slice($this->envstrip_tags(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.'89$this->source); })()), "description", [], "any"falsefalsefalse89)), 0160);
  139.         
  140.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  141.         
  142.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  143.     }
  144.     // line 90
  145.     public function block_CSS($context, array $blocks = [])
  146.     {
  147.         $macros $this->macros;
  148.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  149.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""CSS"));
  150.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  151.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""CSS"));
  152.         // line 91
  153.         echo "    ";
  154.         $this->loadTemplate("frontend/category.html.twig""frontend/product.html.twig"91)->displayBlock("CSS"$context);
  155.         echo "
  156.     <link href=\"/assets/frontend/css/jquery.mmenu.css\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
  157.     <!-- Bootstrap CSS -->
  158.     <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css\"
  159.                            integrity=\"sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4\" crossorigin=\"anonymous\">
  160.     <link rel=\"stylesheet\" href=\"/assets/frontend/css/owl.carousel.min.css\">
  161.     <link href=\"/assets/frontend/css/styles.css?ver=";
  162.         // line 97
  163.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'97$this->source); })()), "cssVersion", [], "any"falsefalsefalse97), "html"nulltrue);
  164.         echo "\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
  165.     <!-- Add the slick-theme.css if you want default styling -->
  166.     <link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.css\"/>
  167.     <!-- Add the slick-theme.css if you want default styling -->
  168.     <link rel=\"stylesheet\" type=\"text/css\"
  169.                            href=\"https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css\"/>
  170.     <!-- Add photoswipe -->
  171.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/frontend/css/photoswipe.css\"/>
  172.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/frontend/css/default-skin.css\"/>
  173.     <style>
  174.     .product-btn-like {
  175.         right: 25px!important;
  176.     }
  177.     </style>
  178. ";
  179.         
  180.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  181.         
  182.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  183.     }
  184.     // line 116
  185.     public function block_content($context, array $blocks = [])
  186.     {
  187.         $macros $this->macros;
  188.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  189.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  190.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  191.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  192.         // line 117
  193.         echo "<div class=\"product\" id=\"product\">
  194.     <div class=\"product-info\" style=\"padding-bottom: 20px;\">
  195.         <div class=\"row\">
  196.             <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 ";
  197.         // line 120
  198.         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.'120$this->source); })()), "mainImage", [], "any"falsefalsefalse120))) {
  199.             echo "d-none";
  200.         }
  201.         echo " d-xl-block  d-lg-block d-md-block\">
  202.                 <div class=\"\">
  203.                     <div class=\"row\">
  204.                         <div id=\"product-thumbnail1\" class=\"col-sm-12\" style=\"padding-bottom: 10px;text-align: center;overflow:hidden;\">
  205.                             <img src=\"";
  206.         // line 124
  207.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getImageAsThumb", ["id" => twig_get_attribute($this->env$this->sourcetwig_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.'124$this->source); })()), "mainImage", [], "any"falsefalsefalse124), "Id", [], "any"falsefalsefalse124), "height" => "600""width" => "600"]), "html"nulltrue);
  208.         echo "\" alt=\"product name\">
  209.                         </div>
  210.                     </div>
  211.                     <div class=\"row\">
  212.                         ";
  213.         // line 140
  214.         echo "                        <div class=\"col-md-12\" ";
  215.         if ((twig_length_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.'140$this->source); })()), "images", [], "any"falsefalsefalse140)) <= 1)) {
  216.             echo "style=\"display:none;\"";
  217.         }
  218.         echo ">
  219.                             <div class=\"slider-wrap\">
  220.                                 <div class=\"slider-naw-container\">
  221.                                     <!--<div class=\"slider-nav\">-->
  222.                                     <!--<div class=\"prev-slider-products-categories\"><i class=\"fa fa-angle-left\" aria-hidden=\"true\"></i></div>-->
  223.                                     <!--<div class=\"next-slider-products-categories\"><i class=\"fa fa-angle-right\" aria-hidden=\"true\"></i></div>-->
  224.                                     <!--</div>-->
  225.                                 </div>
  226.                                 <div class=\"photoswipe-gallery\" data-pswp-uid=\"1\">
  227.                                     <div id=\"categories-gallery\" class=\"categories-slider owl-carousel product-gallery\">
  228.                                         <!--<div id=\"categories-gallery\" class=\"categories-slider owl-carousel\">-->
  229.                                         ";
  230.         // line 153
  231.         $context['_parent'] = $context;
  232.         $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.'153$this->source); })()), "images", [], "any"falsefalsefalse153));
  233.         foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  234.             // line 154
  235.             echo "                                        <a class=\"categories-slider__item item\"
  236.                                            href=\"";
  237.             // line 155
  238.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getImage", ["id" => twig_get_attribute($this->env$this->source$context["image"], "Id", [], "any"falsefalsefalse155)]), "html"nulltrue);
  239.             echo "\" data-size=\"";
  240.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["image"], "Width", [], "any"falsefalsefalse155), "html"nulltrue);
  241.             echo "x";
  242.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["image"], "Height", [], "any"falsefalsefalse155), "html"nulltrue);
  243.             echo "\"
  244.                                                                                          data-med=\"";
  245.             // line 156
  246.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getImage", ["id" => twig_get_attribute($this->env$this->source$context["image"], "Id", [], "any"falsefalsefalse156)]), "html"nulltrue);
  247.             echo "\"
  248.                                                                                          data-med-size=\"";
  249.             // line 157
  250.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["image"], "Width", [], "any"falsefalsefalse157), "html"nulltrue);
  251.             echo "x";
  252.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["image"], "Height", [], "any"falsefalsefalse157), "html"nulltrue);
  253.             echo "\" data-author=\"\">
  254.                                             <img src=\"";
  255.             // line 158
  256.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getImageAsCroppedThumb", ["id" => twig_get_attribute($this->env$this->source$context["image"], "Id", [], "any"falsefalsefalse158), "height" => "100""width" => "100"]), "html"nulltrue);
  257.             echo "\" alt=\"\">
  258.                                             <figure style=\"display:none;\">";
  259.             // line 159
  260.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["image"], "description", [], "any"falsefalsefalse159), "html"nulltrue);
  261.             echo "</figure>
  262.                                         </a>
  263.                                         ";
  264.         }
  265.         $_parent $context['_parent'];
  266.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  267.         $context array_intersect_key($context$_parent) + $_parent;
  268.         // line 163
  269.         echo "                                        </div>
  270.                                         <div class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">
  271.                                             <!-- Background of PhotoSwipe.
  272.                                                 It's a separate element, as animating opacity is faster than rgba(). -->
  273.                                                 <div class=\"pswp__bg\"></div>
  274.                                                 <!-- Slides wrapper with overflow:hidden. -->
  275.                                                 <div class=\"pswp__scroll-wrap\">
  276.                                                     <!-- Container that holds slides. PhotoSwipe keeps only 3 slides in DOM to save memory. -->
  277.                                                     <!-- don't modify these 3 pswp__item elements, data is added later on. -->
  278.                                                     <div class=\"pswp__container\">
  279.                                                         <div class=\"pswp__item\"></div>
  280.                                                         <div class=\"pswp__item\"></div>
  281.                                                         <div class=\"pswp__item\"></div>
  282.                                                     </div>
  283.                                                     <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
  284.                                                     <div class=\"pswp__ui pswp__ui--hidden\">
  285.                                                         <div class=\"pswp__top-bar\">
  286.                                                             <!--  Controls are self-explanatory. Order can be changed. -->
  287.                                                             <div class=\"pswp__counter\"></div>
  288.                                                             <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>
  289.                                                             <button class=\"pswp__button pswp__button--share\" title=\"Share\"></button>
  290.                                                             <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>
  291.                                                             <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>
  292.                                                             <!-- Preloader demo https://codepen.io/dimsemenov/pen/yyBWoR -->
  293.                                                             <!-- element will get class pswp__preloader--active when preloader is running -->
  294.                                                             <div class=\"pswp__preloader\">
  295.                                                                 <div class=\"pswp__preloader__icn\">
  296.                                                                     <div class=\"pswp__preloader__cut\">
  297.                                                                         <div class=\"pswp__preloader__donut\"></div>
  298.                                                                     </div>
  299.                                                                 </div>
  300.                                                             </div>
  301.                                                         </div>
  302.                                                         <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">
  303.                                                             <div class=\"pswp__share-tooltip\"></div>
  304.                                                         </div>
  305.                                                         <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\">
  306.                                                         </button>
  307.                                                         <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\">
  308.                                                         </button>
  309.                                                         <div class=\"pswp__caption\">
  310.                                                             <div class=\"pswp__caption__center\"></div>
  311.                                                         </div>
  312.                                                     </div>
  313.                                                 </div>
  314.                                         </div>
  315.                                     </div>
  316.                                 </div>
  317.                             </div>
  318.                         </div>
  319.                     </div>
  320.                 </div>
  321.                 <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  322.                     <div class=\"product-board\">
  323.                         <p class=\"product-subtitle-brand\">
  324.                         <ul class=\"breadcrumb breadcrump-product\">
  325.                             ";
  326.         // line 237
  327.         $context['_parent'] = $context;
  328.         $context['_seq'] = twig_ensure_traversable(twig_reverse_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.'237$this->source); })()), "breadCrumpTrail", [], "any"falsefalsefalse237)));
  329.         foreach ($context['_seq'] as $context["_key"] => $context["b"]) {
  330.             // line 238
  331.             echo "                                <li><a href=\"/categorie";
  332.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["b"], "fullUrlPath", [], "any"falsefalsefalse238), "html"nulltrue);
  333.             echo "\">";
  334.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["b"], "name", [], "any"falsefalsefalse238), "html"nulltrue);
  335.             echo "</a></li>
  336.                             ";
  337.         }
  338.         $_parent $context['_parent'];
  339.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['b'], $context['_parent'], $context['loop']);
  340.         $context array_intersect_key($context$_parent) + $_parent;
  341.         // line 240
  342.         echo "                        </ul>
  343.                         </p>
  344.                         <p class=\"section-title section-title-left product-big-title\" ";
  345.         // line 242
  346.         if ((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.'242$this->source); })()), "isDisplayedInAssociationOnly", [], "any"falsefalsefalse242) && (twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'242$this->source); })()), "associationUserIsBrowsing", [], "any"falsefalsefalse242) == false))) {
  347.             echo "  style=\"color: red !important;\" ";
  348.         }
  349.         echo ">
  350.                             ";
  351.         // line 243
  352.         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.'243$this->source); })()), "name", [], "any"falsefalsefalse243), "html"nulltrue);
  353.         echo "
  354.                             ";
  355.         // line 244
  356.         if (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.'244$this->source); })()), "alimentsDuQuebec", [], "any"falsefalsefalse244)) {
  357.             // line 245
  358.             echo "                                ";
  359.             if ((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.'245$this->source); })()), "alimentsDuQuebecCertification", [], "any"falsefalsefalse245) == "0")) {
  360.                 // line 246
  361.                 echo "                                    <img src=\"/assets/frontend/images/alimentsDuQuebec/basic.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
  362.                                 ";
  363.             } elseif ((twig_get_attribute($this->env$this->source,             // line 247
  364. (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'247$this->source); })()), "alimentsDuQuebecCertification", [], "any"falsefalsefalse247) == "1")) {
  365.                 // line 248
  366.                 echo "                                    <img src=\"/assets/frontend/images/alimentsDuQuebec/prepared.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
  367.                                 ";
  368.             } elseif ((twig_get_attribute($this->env$this->source,             // line 249
  369. (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'249$this->source); })()), "alimentsDuQuebecCertification", [], "any"falsefalsefalse249) == "2")) {
  370.                 // line 250
  371.                 echo "                                    <img src=\"/assets/frontend/images/alimentsDuQuebec/bio_basic.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
  372.                                 ";
  373.             } elseif ((twig_get_attribute($this->env$this->source,             // line 251
  374. (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'251$this->source); })()), "alimentsDuQuebecCertification", [], "any"falsefalsefalse251) == "3")) {
  375.                 // line 252
  376.                 echo "                                    <img src=\"/assets/frontend/images/alimentsDuQuebec/bio_prepared.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
  377.                                 ";
  378.             } else {
  379.                 // line 254
  380.                 echo "                                    <img src=\"/assets/frontend/images/alimentsDuQuebec/basic.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
  381.                                 ";
  382.             }
  383.             // line 256
  384.             echo "                            ";
  385.         }
  386.         // line 257
  387.         echo "                            ";
  388.         if (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.'257$this->source); })()), "isPrixLaureat", [], "any"falsefalsefalse257)) {
  389.             // line 258
  390.             echo "                                <img src=\"/assets/frontend/images/LOGO-PI-2020-Laureat-FR.jpg\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
  391.                             ";
  392.         }
  393.         // line 260
  394.         echo "                        </p>
  395.                         <div class=\"product-show-details\">
  396.                             ";
  397.         // line 263
  398.         if (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.'263$this->source); })()), "brandName", [], "any"falsefalsefalse263)) {
  399.             // line 264
  400.             echo "                                <p class=\"product-subtitle-brand\">
  401.                                     ";
  402.             // line 265
  403.             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.'265$this->source); })()), "brandName", [], "any"falsefalsefalse265), "html"nulltrue);
  404.             echo "
  405.                                 </p>
  406.                             ";
  407.         }
  408.         // line 268
  409.         echo "                            <p class=\"product-subtitle\">
  410.                                 <a href=\"";
  411.         // line 269
  412.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("companyStore", ["urlname" => twig_get_attribute($this->env$this->sourcetwig_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.'269$this->source); })()), "company", [], "any"falsefalsefalse269), "urlname", [], "any"falsefalsefalse269), "id" => twig_get_attribute($this->env$this->sourcetwig_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.'269$this->source); })()), "company", [], "any"falsefalsefalse269), "id", [], "any"falsefalsefalse269)]), "html"nulltrue);
  413.         echo "\">
  414.                                     ";
  415.         // line 270
  416.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'270$this->source); })()), "company", [], "any"falsefalsefalse270), "name", [], "any"falsefalsefalse270), "html"nulltrue);
  417.         echo "
  418.                                 </a>
  419.                             </p>
  420.                             ";
  421.         // line 273
  422.         if ((twig_length_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.'273$this->source); })()), "certifications", [], "any"falsefalsefalse273)) > 0)) {
  423.             // line 274
  424.             echo "                                ";
  425.             $context['_parent'] = $context;
  426.             $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.'274$this->source); })()), "certifications", [], "any"falsefalsefalse274));
  427.             foreach ($context['_seq'] as $context["_key"] => $context["certification"]) {
  428.                 // line 275
  429.                 echo "                                    <p class=\"product-subtitle-certification\">";
  430.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["certification"], "name", [], "any"falsefalsefalse275), "html"nulltrue);
  431.                 echo "</p>
  432.                                 ";
  433.             }
  434.             $_parent $context['_parent'];
  435.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['certification'], $context['_parent'], $context['loop']);
  436.             $context array_intersect_key($context$_parent) + $_parent;
  437.             // line 277
  438.             echo "                            ";
  439.         }
  440.         // line 278
  441.         echo "                            <div class=\"product-price\">
  442.                                 ";
  443.         // line 279
  444.         if (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.'279$this->source); })()), "hasDiscount", [], "any"falsefalsefalse279)) {
  445.             // line 280
  446.             echo "                                    <strike>";
  447.             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.'280$this->source); })()), "displayPrice", [], "any"falsefalsefalse280), "html"nulltrue);
  448.             echo "</strike> ";
  449.             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.'280$this->source); })()), "displayPrice", [=> true], "method"falsefalsefalse280), "html"nulltrue);
  450.             echo "
  451.                                 ";
  452.         } else {
  453.             // line 282
  454.             echo "                                    ";
  455.             // line 283
  456.             echo "                                     ";
  457.             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.'283$this->source); })()), "getPriceUnitStandard", [], "any"falsefalsefalse283), "html"nulltrue);
  458.             echo "
  459.                                      <br>
  460.                                    <span style=\"font-size: 12px;color: gray;\">
  461.                                         ";
  462.             // line 286
  463.             if (((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.'286$this->source); })()), "getUnitAmount", [], "any"falsefalsefalse286) && (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.'286$this->source); })()), "isBoxOfProducts", [], "any"falsefalsefalse286) == false)) && 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.'286$this->source); })()), "getPricePer100gramme", [], "any"falsefalsefalse286))) {
  464.                 // line 287
  465.                 echo "                                            ";
  466.                 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.'287$this->source); })()), "getPricePer100gramme", [], "any"falsefalsefalse287), "html"nulltrue);
  467.                 echo "
  468.                                         ";
  469.             }
  470.             // line 289
  471.             echo "                                    </span>
  472.                                 ";
  473.         }
  474.         // line 291
  475.         echo "
  476.                                 ";
  477.         // line 292
  478.         if (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.'292$this->source); })()), "frontpageVariations", [], "any"falsefalsefalse292)) {
  479.             // line 293
  480.             echo "                                <br/>
  481.                                 <h5 class=\"font-weight-bold\" style=\"color:darkgray;\">
  482.                                     Autre(s) format(s)
  483.                                 </h5>
  484.                                 <ul style=\"color: darkgray; font-size: small;\">
  485.                                     ";
  486.             // line 298
  487.             $context['_parent'] = $context;
  488.             $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.'298$this->source); })()), "frontpageVariations", [], "any"falsefalsefalse298));
  489.             foreach ($context['_seq'] as $context["_key"] => $context["variation"]) {
  490.                 // line 299
  491.                 echo "                                        <li><a href=\"";
  492.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["variation"], "fullUrl", [], "any"falsefalsefalse299), "html"nulltrue);
  493.                 echo "\">";
  494.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["variation"], "nameWithDetails", [], "any"falsefalsefalse299), "html"nulltrue);
  495.                 echo "</a></li>
  496.                                     ";
  497.             }
  498.             $_parent $context['_parent'];
  499.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['variation'], $context['_parent'], $context['loop']);
  500.             $context array_intersect_key($context$_parent) + $_parent;
  501.             // line 301
  502.             echo "                                </ul>
  503.                                 ";
  504.         }
  505.         // line 303
  506.         echo "                            </div>
  507.                             <p class=\"product-values\">";
  508.         // line 305
  509.         echo ((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.'305$this->source); })()), "isShippedByMaturin", [], "any"falsefalsefalse305)) ? ("") : (""));
  510.         echo "</p>
  511.                             ";
  512.         // line 307
  513.         if (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.'307$this->source); })()), "isShippedByMaturin", [], "any"falsefalsefalse307)) {
  514.             // line 308
  515.             echo "                                ";
  516.             if (((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.'308$this->source); })()), "qtyReadyToShip", [], "any"falsefalsefalse308) > 0) && 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.'308$this->source); })()), "isSalable", [], "any"falsefalsefalse308))) {
  517.                 // line 309
  518.                 echo "                                    <p class=\"product-values\">";
  519.                 echo " Disponible</p>
  520.                                 ";
  521.             } else {
  522.                 // line 311
  523.                 echo "                                    <p class=\"product-values\">Inventaire épuisé</p>
  524.                                 ";
  525.             }
  526.             // line 313
  527.             echo "                            ";
  528.         } else {
  529.             // line 314
  530.             echo "                                ";
  531.             if (twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'314$this->source); })()), "getAssociationUserIsBrowsing", [], "any"falsefalsefalse314)) {
  532.                 // line 315
  533.                 echo "                                    <p class=\"product-values\">*** Cueillette au marché ***</p>
  534.                                 ";
  535.             } else {
  536.                 // line 317
  537.                 echo "                                    ";
  538.                 if ((isset($context["independentDelivery"]) || array_key_exists("independentDelivery"$context) ? $context["independentDelivery"] : (function () { throw new RuntimeError('Variable "independentDelivery" does not exist.'317$this->source); })())) {
  539.                     echo "<p class=\"product-values\">***Livraison indépendante***</p>";
  540.                 }
  541.                 // line 318
  542.                 echo "                                ";
  543.             }
  544.             // line 319
  545.             echo "                            ";
  546.         }
  547.         // line 320
  548.         echo "
  549.                             ";
  550.         // line 321
  551.         if (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.'321$this->source); })()), "isShippedByMaturin", [], "any"falsefalsefalse321)) {
  552.             // line 322
  553.             echo "                                <img src=\"/images/maturinshipping.png\" alt=\"Livraison par Maturin\" title=\"Livraison par Maturin\">
  554.                                 Préparation par Maturin<br>
  555.                                 ";
  556.             // line 325
  557.             if ((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.'325$this->source); })()), "qtyReadyToShip", [], "any"falsefalsefalse325) > 0)) {
  558.                 // line 326
  559.                 echo "
  560.                                     ";
  561.                 // line 327
  562.                 $context["route"] = twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'327$this->source); })()), "estimationShippingRoute", [=> (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'327$this->source); })())], "method"falsefalsefalse327);
  563.                 // line 328
  564.                 echo "
  565.                                     ";
  566.                 // line 329
  567.                 if (( !(null === twig_get_attribute($this->env$this->source, (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'329$this->source); })()), "route", [], "array"falsefalsefalse329)) &&  !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'329$this->source); })()), "route", [], "array"falsefalsefalse329), "isPuro", [], "any"falsefalsefalse329))) {
  568.                     // line 330
  569.                     echo "                                        <span class=\"product-values\">
  570.                                             Recevez-le ";
  571.                     // line 331
  572.                     echo twig_escape_filter($this->envtwig_localized_date_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'331$this->source); })()), "date", [], "array"falsefalsefalse331), "medium""none"null"-7""EEEE d MMMM"), "html"nulltrue);
  573.                     echo "  entre 12h et 21h
  574.                                         </span>
  575.                                     ";
  576.                 } else {
  577.                     // line 334
  578.                     echo "                                        <span class=\"product-values\">
  579.                                             Recevez-le entre ";
  580.                     // line 335
  581.                     echo twig_escape_filter($this->envtwig_localized_date_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'335$this->source); })()), "date", [], "array"falsefalsefalse335), "medium""none"null"-7""EEEE d MMMM"), "html"nulltrue);
  582.                     echo "
  583.                                             et ";
  584.                     // line 336
  585.                     echo twig_escape_filter($this->envtwig_localized_date_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'336$this->source); })()), "add48hToDate", [=> twig_get_attribute($this->env$this->source, (isset($context["route"]) || array_key_exists("route"$context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.'336$this->source); })()), "date", [], "array"falsefalsefalse336)], "method"falsefalsefalse336), "medium""none"null"-7""EEEE d MMMM"), "html"nulltrue);
  586.                     echo "  entre 12h et 21h
  587.                                         </span>
  588.                                     ";
  589.                 }
  590.                 // line 339
  591.                 echo "
  592.                                     ";
  593.                 // line 340
  594.                 if (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.'340$this->source); })()), "isJustInTime", [], "any"falsefalsefalse340)) {
  595.                     // line 341
  596.                     echo "                                        <br>
  597.                                         Ceci est un produit frais cueillie/préparé spécialement pour vous. Pour être livré la semaine suivante, vous devez <strong>passer votre commande avant le dimanche à minuit</strong>, les produits étant cueillies/préparés les lundis et livrés du Mardi au vendredi.
  598.                                         <br>
  599.                                     ";
  600.                 }
  601.                 // line 345
  602.                 echo "                                ";
  603.             }
  604.             // line 346
  605.             echo "                                <br>
  606.                                 <br>
  607.                             ";
  608.         } else {
  609.             // line 349
  610.             echo "                                <ul>
  611.                                     ";
  612.             // line 350
  613.             $context['_parent'] = $context;
  614.             $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.'350$this->source); })()), "deliveryMethods", [], "any"falsefalsefalse350));
  615.             foreach ($context['_seq'] as $context["_key"] => $context["delivery"]) {
  616.                 // line 351
  617.                 echo "                                        <li style=\"list-style-type: none;\">";
  618.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["delivery"], "displayPrice", [], "any"falsefalsefalse351), "html"nulltrue);
  619.                 echo "</li>
  620.                                     ";
  621.             }
  622.             $_parent $context['_parent'];
  623.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['delivery'], $context['_parent'], $context['loop']);
  624.             $context array_intersect_key($context$_parent) + $_parent;
  625.             // line 353
  626.             echo "                                </ul>
  627.                             ";
  628.         }
  629.         // line 355
  630.         echo "                        </div>
  631.                         <div class=\"product-quantity\">
  632.                             ";
  633.         // line 357
  634.         if (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.'357$this->source); })()), "isSalable", [], "any"falsefalsefalse357)) {
  635.             // line 358
  636.             echo "                                <p class=\"product-quantity-title\">Quantité</p>
  637.                                 <div class=\"product-quantity-value\">
  638.                                     ";
  639.             // line 360
  640.             if (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.'360$this->source); })()), "isSubscribable", [], "any"falsefalsefalse360)) {
  641.                 // line 361
  642.                 echo "                                        ";
  643.                 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.'361$this->source); })()), "isOnlySubscribableToType", [], "any"falsefalsefalse361))) {
  644.                     // line 362
  645.                     echo "                                            <input class=\"form-control modal-product-btn-amount\" id=\"qty-for-product-";
  646.                     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.'362$this->source); })()), "id", [], "any"falsefalsefalse362), "html"nulltrue);
  647.                     echo "\" type=\"number\" name=\"points\" step=\"1\" value=\"1\" min=\"1\">
  648.                                             <button class=\"button button-200 button-orange add-to-cart\" data-type=\"product\" data-id=\"";
  649.                     // line 363
  650.                     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.'363$this->source); })()), "id", [], "any"falsefalsefalse363), "html"nulltrue);
  651.                     echo "\" data-quantity=\"qty-for-product-";
  652.                     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.'363$this->source); })()), "id", [], "any"falsefalsefalse363), "html"nulltrue);
  653.                     echo "\" data-subscribe=\"";
  654.                     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.'363$this->source); })()), "isOnlySubscribable", [], "any"falsefalsefalse363), "html"nulltrue);
  655.                     echo "\">AJOUTER AU PANIER</button>
  656.                                         ";
  657.                 } else {
  658.                     // line 365
  659.                     echo "                                            <input class=\"form-control modal-product-btn-amount\" id=\"qty-for-product-";
  660.                     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.'365$this->source); })()), "id", [], "any"falsefalsefalse365), "html"nulltrue);
  661.                     echo "\" type=\"number\" name=\"points\" step=\"1\" value=\"1\" min=\"1\">
  662.                                             <button style=\"background-color: #f0632f;color: white;\" class=\"button dropdown-toggle\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">AJOUTER AU PANIER
  663.                                             </button>
  664.                                             <div class=\"dropdown-menu\" style=\"width: 300px;text-transform: uppercase;\">
  665.                                                 ";
  666.                     // line 369
  667.                     if ( !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.'369$this->source); })()), "isOnlySubscribable", [], "any"falsefalsefalse369)) {
  668.                         // line 370
  669.                         echo "                                                    <a class=\"dropdown-item add-to-cart\" href=\"#\" data-type=\"product\" data-id=\"";
  670.                         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.'370$this->source); })()), "id", [], "any"falsefalsefalse370), "html"nulltrue);
  671.                         echo "\" data-quantity=\"qty-for-product-";
  672.                         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.'370$this->source); })()), "id", [], "any"falsefalsefalse370), "html"nulltrue);
  673.                         echo "\">Sans abonnement</a>
  674.                                                 ";
  675.                     }
  676.                     // line 372
  677.                     echo "                                                ";
  678.                     if (( !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.'372$this->source); })()), "isOnlySubscribableToType", [], "any"falsefalsefalse372) || (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.'372$this->source); })()), "isOnlySubscribableToType", [], "any"falsefalsefalse372) == 2))) {
  679.                         // line 373
  680.                         echo "                                                    <a class=\"dropdown-item add-to-cart\" href=\"#\" data-type=\"product\" data-id=\"";
  681.                         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.'373$this->source); })()), "id", [], "any"falsefalsefalse373), "html"nulltrue);
  682.                         echo "\" data-quantity=\"qty-for-product-";
  683.                         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.'373$this->source); })()), "id", [], "any"falsefalsefalse373), "html"nulltrue);
  684.                         echo "\" data-subscribe=\"2\">Abonnement hebdomadaire</a>
  685.                                                 ";
  686.                     }
  687.                     // line 375
  688.                     echo "                                                ";
  689.                     if (( !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.'375$this->source); })()), "isOnlySubscribableToType", [], "any"falsefalsefalse375) || (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.'375$this->source); })()), "isOnlySubscribableToType", [], "any"falsefalsefalse375) == 3))) {
  690.                         // line 376
  691.                         echo "                                                    <a class=\"dropdown-item add-to-cart\" href=\"#\" data-type=\"product\" data-id=\"";
  692.                         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.'376$this->source); })()), "id", [], "any"falsefalsefalse376), "html"nulltrue);
  693.                         echo "\" data-quantity=\"qty-for-product-";
  694.                         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.'376$this->source); })()), "id", [], "any"falsefalsefalse376), "html"nulltrue);
  695.                         echo "\" data-subscribe=\"3\">Abonnement bi-mensuel</a>
  696.                                                 ";
  697.                     }
  698.                     // line 378
  699.                     echo "                                                ";
  700.                     if (( !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.'378$this->source); })()), "isOnlySubscribableToType", [], "any"falsefalsefalse378) || (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.'378$this->source); })()), "isOnlySubscribableToType", [], "any"falsefalsefalse378) == 4))) {
  701.                         // line 379
  702.                         echo "                                                    <a class=\"dropdown-item add-to-cart\" href=\"#\" data-type=\"product\" data-id=\"";
  703.                         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.'379$this->source); })()), "id", [], "any"falsefalsefalse379), "html"nulltrue);
  704.                         echo "\" data-quantity=\"qty-for-product-";
  705.                         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.'379$this->source); })()), "id", [], "any"falsefalsefalse379), "html"nulltrue);
  706.                         echo "\" data-subscribe=\"4\">Abonnement mensuel</a>
  707.                                                 ";
  708.                     }
  709.                     // line 381
  710.                     echo "                                            </div>
  711.                                         ";
  712.                 }
  713.                 // line 383
  714.                 echo "                                    ";
  715.             } else {
  716.                 // line 384
  717.                 echo "                                        <input class=\"form-control modal-product-btn-amount\" id=\"qty-for-product-";
  718.                 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.'384$this->source); })()), "id", [], "any"falsefalsefalse384), "html"nulltrue);
  719.                 echo "\" type=\"number\" name=\"points\" step=\"1\" value=\"1\" min=\"1\">
  720.                                         <button class=\"button button-200 button-orange add-to-cart\" data-type=\"product\" data-id=\"";
  721.                 // line 385
  722.                 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.'385$this->source); })()), "id", [], "any"falsefalsefalse385), "html"nulltrue);
  723.                 echo "\" data-quantity=\"qty-for-product-";
  724.                 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.'385$this->source); })()), "id", [], "any"falsefalsefalse385), "html"nulltrue);
  725.                 echo "\">AJOUTER AU PANIER</button>
  726.                                     ";
  727.             }
  728.             // line 387
  729.             echo "                                </div>
  730.                             ";
  731.         }
  732.         // line 389
  733.         echo "                            <br>
  734.                         </div>
  735.                         <button class=\"button button-200 button-black m-b-20 product-like no-modification\" style=\"white-space: nowrap; margin-top: -20px; width: 300px;\" data-id=\"";
  736.         // line 391
  737.         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.'391$this->source); })()), "id", [], "any"falsefalsefalse391), "html"nulltrue);
  738.         echo "\">AJOUTER AUX FAVORIS</button>
  739.                         ";
  740.         // line 392
  741.         if (twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'392$this->source); })()), "isAllowedToModify", [=> (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'392$this->source); })())], "method"falsefalsefalse392)) {
  742.             // line 393
  743.             echo "                        <a href=\"";
  744.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("adminEditProduct", ["id" => 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.'393$this->source); })()), "id", [], "any"falsefalsefalse393)]), "html"nulltrue);
  745.             echo "\" class=\"button button-200 button-white m-b-20 no-modification\" style=\"white-space: nowrap; margin-top: -10px; width: 300px;display: block;\">EDITER CE PRODUIT</a>
  746.                         ";
  747.         }
  748.         // line 395
  749.         echo "                        ";
  750.         if (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.'395$this->source); })()), "description", [], "any"falsefalsefalse395)) {
  751.             // line 396
  752.             echo "                            <p>
  753.                                 ";
  754.             // line 397
  755.             echo 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.'397$this->source); })()), "description", [], "any"falsefalsefalse397);
  756.             echo "
  757.                                 ";
  758.             // line 398
  759.             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.'398$this->source); })()), "nutritionFactImage", [], "any"falsefalsefalse398))) {
  760.                 // line 399
  761.                 echo "                                    <br>
  762.                                     <a href=\"";
  763.                 // line 400
  764.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getImage", ["id" => twig_get_attribute($this->env$this->sourcetwig_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.'400$this->source); })()), "nutritionFactImage", [], "any"falsefalsefalse400), "id", [], "any"falsefalsefalse400)]), "html"nulltrue);
  765.                 echo "\" target=\"_blank\" >Voir la fiche nutritionnelle </a>
  766.                                 ";
  767.             } else {
  768.                 // line 402
  769.                 echo "                                    ";
  770.                 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.'402$this->source); })()), "nutritionFact", [], "any"falsefalsefalse402))) {
  771.                     // line 403
  772.                     echo "                                        <br>
  773.                                         <a href=\"";
  774.                     // line 404
  775.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getNutritionFactImage", ["id" => 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.'404$this->source); })()), "id", [], "any"falsefalsefalse404)]), "html"nulltrue);
  776.                     echo "\" target=\"_blank\" >Voir la fiche nutritionnelle </a>
  777.                                     ";
  778.                 }
  779.                 // line 406
  780.                 echo "                                ";
  781.             }
  782.             // line 407
  783.             echo "
  784.                             </p>
  785.                         ";
  786.         }
  787.         // line 410
  788.         echo "                    </div>
  789.                     <hr>
  790.                     ";
  791.         // line 412
  792.         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.'412$this->source); })()), "listOfIngredients", [], "any"falsefalsefalse412))) {
  793.             // line 413
  794.             echo "                        <h5 style=\"margin-bottom: 0px;\"><strong>Ingrédients</strong></h5>
  795.                         ";
  796.             // line 414
  797.             echo 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.'414$this->source); })()), "listOfIngredients", [], "any"falsefalsefalse414);
  798.             echo " ";
  799.             // line 415
  800.             echo "                    ";
  801.         }
  802.         // line 416
  803.         echo "
  804.                     <h5 style=\"margin-bottom: 0px;\"><strong>Conservation</strong></h5>
  805.                     <p>";
  806.         // line 418
  807.         if (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.'418$this->source); })()), "conservation", [], "any"falsefalsefalse418)) {
  808.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'418$this->source); })()), "conservation", [], "any"falsefalsefalse418), "name", [], "any"falsefalsefalse418), "html"nulltrue);
  809.         }
  810.         echo "</p>
  811.                     ";
  812.         // line 420
  813.         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.'420$this->source); })()), "region", [], "any"falsefalsefalse420))) {
  814.             // line 421
  815.             echo "                        <h5 style=\"margin-bottom: 0px;\"><strong>Région</strong></h5><p>";
  816.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'421$this->source); })()), "region", [], "any"falsefalsefalse421), "name", [], "any"falsefalsefalse421), "html"nulltrue);
  817.             echo "</p>
  818.                     ";
  819.         } else {
  820.             // line 423
  821.             echo "                        <h5 style=\"margin-bottom: 0px;\"><strong>Région</strong></h5><p>";
  822.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'423$this->source); })()), "company", [], "any"falsefalsefalse423), "origin", [], "any"falsefalsefalse423), "html"nulltrue);
  823.             echo "</p>
  824.                     ";
  825.         }
  826.         // line 425
  827.         echo "
  828.                     ";
  829.         // line 426
  830.         if (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.'426$this->source); })()), "recipes", [], "any"falsefalsefalse426)) {
  831.             // line 427
  832.             echo "                        <h5 style=\"margin-bottom: 0px;\"><strong>Recettes</strong></h5>
  833.                         <p>";
  834.             // line 428
  835.             echo 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.'428$this->source); })()), "recipes", [], "any"falsefalsefalse428);
  836.             echo "</p>
  837.                     ";
  838.         }
  839.         // line 430
  840.         echo "
  841.                     ";
  842.         // line 431
  843.         if (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.'431$this->source); })()), "advices", [], "any"falsefalsefalse431)) {
  844.             // line 432
  845.             echo "                        <h5 style=\"margin-bottom: 0px;\"><strong>Conseils</strong></h5>
  846.                         <p>";
  847.             // line 433
  848.             echo 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.'433$this->source); })()), "advices", [], "any"falsefalsefalse433);
  849.             echo "</p>
  850.                     ";
  851.         }
  852.         // line 435
  853.         echo "                    <hr>
  854.                     <div class=\"modal-product-complete-list\" style=\"padding-top: 0px;\">
  855.                         <a href=\"";
  856.         // line 437
  857.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("companyStore", ["urlname" => twig_get_attribute($this->env$this->sourcetwig_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.'437$this->source); })()), "company", [], "any"falsefalsefalse437), "UrlName", [], "any"falsefalsefalse437), "id" => twig_get_attribute($this->env$this->sourcetwig_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.'437$this->source); })()), "company", [], "any"falsefalsefalse437), "id", [], "any"falsefalsefalse437)]), "html"nulltrue);
  858.         echo "\">VOIR LES PRODUITS DU PRODUCTEUR</a>
  859.                         <span class=\"modal-product-complete-list-arrow\"></span>
  860.                     </div>
  861.                 </div>
  862.             </div>
  863.         </div>
  864.     </div>
  865. </div>
  866. </div>
  867. ";
  868.         // line 447
  869.         if ((twig_length_filter($this->env, (isset($context["productsUserMayLike"]) || array_key_exists("productsUserMayLike"$context) ? $context["productsUserMayLike"] : (function () { throw new RuntimeError('Variable "productsUserMayLike" does not exist.'447$this->source); })())) > 0)) {
  870.             // line 448
  871.             echo "<section class=\"section-4 no-background\" style=\"margin-top: 0px;\">
  872.     <div class=\"row\" style=\"margin-left: 0px;margin-right: 0px;\">
  873.         <div class=\"col-sm-12 col-12\">
  874.             <div class=\"section-title section-title-line\">Produits suggérés</div>
  875.             <div class=\"products-wrap\" style=\"margin-right: auto; margin-left: auto;text-align: left;\">
  876.                 ";
  877.             // line 453
  878.             $context["masonryProducts"] = twig_slice($this->env, (isset($context["productsUserMayLike"]) || array_key_exists("productsUserMayLike"$context) ? $context["productsUserMayLike"] : (function () { throw new RuntimeError('Variable "productsUserMayLike" does not exist.'453$this->source); })()), 04);
  879.             // line 454
  880.             echo "                ";
  881.             $this->loadTemplate("frontend/productMasonry.html.twig""frontend/product.html.twig"454)->displayBlock("masonryProducts"$context);
  882.             echo "
  883.             </div>
  884.         </div>
  885.     </div>
  886. </section>
  887. ";
  888.         }
  889.         // line 460
  890.         echo "
  891. <div class=\"section-title section-title-line m-t-10\">Continuer à magasiner dans ";
  892.         // line 461
  893.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["categoryToUse"]) || array_key_exists("categoryToUse"$context) ? $context["categoryToUse"] : (function () { throw new RuntimeError('Variable "categoryToUse" does not exist.'461$this->source); })()), "name", [], "any"falsefalsefalse461), "html"nulltrue);
  894.         echo "</div>
  895. ";
  896.         // line 462
  897.         $context["forcedProductThumbnail"] = "300";
  898.         // line 463
  899.         $this->loadTemplate("frontend/category.html.twig""frontend/product.html.twig"463)->displayBlock("section_category_stats"$context);
  900.         echo "
  901. ";
  902.         // line 464
  903.         $this->loadTemplate("frontend/category.html.twig""frontend/product.html.twig"464)->displayBlock("section_masonry_products"$context);
  904.         echo "
  905. <!--Main content-->
  906. <div class=\"divider m-r-l-10\"></div>
  907. <!--Sign in/ Registration modal-->
  908. <div class=\"modal fade\" id=\"registrModal\" tabindex=\"-1\" role=\"dialog\">
  909.     <div class=\"modal-dialog\" role=\"document\">
  910.         <div class=\"modal-content\">
  911.             <ul class=\"nav nav-pills\" id=\"pills-tab\" role=\"tablist\">
  912.                 <li class=\"nav-item\">
  913.                     <a class=\"nav-link active\" id=\"pills-register-tab\" data-toggle=\"pill\"
  914.                                                                        href=\"#pills-register\"
  915.                                                                        role=\"tab\" aria-controls=\"pills-register\"
  916.                                                                                   aria-selected=\"true\">S'inscrire</a>
  917.                 </li>
  918.                 <li class=\"nav-item\">
  919.                     <a class=\"nav-link\" id=\"pills-login-tab\" data-toggle=\"pill\" href=\"#pills-login\"
  920.                                                                                 role=\"tab\" aria-controls=\"pills-login\" aria-selected=\"false\">Se connecter</a>
  921.                 </li>
  922.             </ul>
  923.             <div class=\"tab-content\" id=\"pills-tabContent\">
  924.                 <div class=\"tab-pane fade show active\" id=\"pills-register\" role=\"tabpanel\"
  925.                                                                            aria-labelledby=\"pills-register-tab\">
  926.                     <div class=\"container\">
  927.                         <button type=\"button\" class=\"btn-registr-modal-colose\">
  928.                         </button>
  929.                         <div class=\"col-xl-10 col-lg-10 col-md-10 col-sm-12 col-12 m-0-auto\">
  930.                             <div class=\"row\">
  931.                                 <p class=\"registr-top-text m--30\">Pour enregistrer des articles ou recevoir
  932.                                 des
  933.                                 bulletins d'information,
  934.                                 des
  935.                                 alertes ou
  936.                                 des recommandations - tout est gratuit.</p>
  937.                             </div>
  938.                             <div class=\"row\">
  939.                                 <button class=\"button button-300 button-fb\">
  940.                                     <span class=\"button-icon fb-icon\"><i class=\"fa fa-facebook\"
  941.                                                                          aria-hidden=\"true\"></i></span>
  942.                                     Se connecter avec Facebook
  943.                                 </button>
  944.                                 <button class=\"button button-300 button-g\">
  945.                                     <span class=\"button-icon g-icon\"><img
  946.                                           src=\"/assets/frontend/images/icons/google-icon.png\"
  947.                                           alt=\"\"></span>
  948.                                     Se connecter avec Google
  949.                                 </button>
  950.                             </div>
  951.                             <form id=\"registrForm\">
  952.                                 <div class=\"row\">
  953.                                     <h5 class=\"section-title-line\">OU</h5>
  954.                                     <input type=\"text\" placeholder=\"Prénom\"
  955.                                                        class=\"form-control registr-form-control\">
  956.                                     <input type=\"email\" placeholder=\"Courriel\"
  957.                                                         class=\"form-control registr-form-control\">
  958.                                     <span class=\"email-incorrect\">E-mail incorrect</span>
  959.                                     <input type=\"password\" placeholder=\"Mot de passe\"
  960.                                                            class=\"form-control registr-form-control\">
  961.                                     <input type=\"password\" placeholder=\"Confirmer le mot de passe\"
  962.                                                            class=\"form-control registr-form-control\">
  963.                                 </div>
  964.                                 <div class=\"row\">
  965.                                     <button class=\"button button-full-width button-orange\">S'INSCRIRE
  966.                                     </button>
  967.                                 </div>
  968.                             </form>
  969.                             <div class=\"row\">
  970.                                 <p class=\"registr-bottom-text\">
  971.                                 En cliquant sur S'inscrire, vous acceptez de respecter les <span><a
  972.                                                                                                      href=\"#\">Conditions
  973.                                                                                                      d'utilisation</a></span> et le <span><a
  974.                                                                                                                                               href=\"#\">Les Règlements</a></span>
  975.                                                                                              concernant la confidentialité
  976.                                                                                              de Maturin.
  977.                                 </p>
  978.                             </div>
  979.                         </div>
  980.                     </div>
  981.                 </div>
  982.                 <div class=\"tab-pane fade\" id=\"pills-login\" role=\"tabpanel\"
  983.                                                             aria-labelledby=\"pills-login-tab\">
  984.                     <div class=\"container\">
  985.                         <button type=\"button\" class=\"btn-registr-modal-close\">
  986.                         </button>
  987.                         <div class=\"col-xl-10 col-lg-10 col-md-10 col-sm-12 col-12 m-0-auto\">
  988.                             <div class=\"row\">
  989.                                 <p class=\"registr-top-text m-0-auto\">Se connecter pour démarrer votre
  990.                                 boutique</p>
  991.                             </div>
  992.                             <div class=\"row\">
  993.                                 <button class=\"button button-300 button-fb\">
  994.                                     <span class=\"button-icon fb-icon\"><i class=\"fa fa-facebook\"
  995.                                                                          aria-hidden=\"true\"></i></span>
  996.                                     Se connecter avec Facebook
  997.                                 </button>
  998.                                 <button class=\"button button-300 button-g\">
  999.                                     <span class=\"button-icon g-icon\"><img
  1000.                                           src=\"/assets/frontend/images/icons/google-icon.png\"
  1001.                                           alt=\"\"></span>
  1002.                                     Se connecter avec Google
  1003.                                 </button>
  1004.                             </div>
  1005.                             <form id=\"loginForm\">
  1006.                                 <div class=\"row\">
  1007.                                     <h5 class=\"section-title-line\">OU</h5>
  1008.                                     <input id=\"login-email\" type=\"email\" placeholder=\"Courriel\"
  1009.                                                                          class=\"form-control registr-form-control\">
  1010.                                     <span class=\"email-incorrect\">E-mail incorrect</span>
  1011.                                     <input id=\"login-password\" type=\"password\" placeholder=\"Mot de passe\"
  1012.                                                                                class=\"form-control registr-form-control\">
  1013.                                 </div>
  1014.                                 <div class=\"row rester-connecté\">
  1015.                                     <div class=\"col-xl-6 col-lg-6 col-md-6 ol-sm-6 col-6\">
  1016.                                         <div class=\"form-group form-check\">
  1017.                                             <input type=\"checkbox\" class=\"form-check-input\"
  1018.                                                                    id=\"exampleCheck1\">
  1019.                                             <label class=\"form-check-label\" for=\"exampleCheck1\">Rester
  1020.                                                 connecté</label>
  1021.                                         </div>
  1022.                                     </div>
  1023.                                     <div class=\"col-xl-6 col-lg-6 col-md-6 ol-sm-6 col-6 text-right no-padding-left\">
  1024.                                         <a href=\"#\" class=\"orange-link\">Mot de passe oublié?</a>
  1025.                                     </div>
  1026.                                 </div>
  1027.                                 <div class=\"row\">
  1028.                                     <button class=\"button button-full-width button-orange\"
  1029.                                             id=\"btn-se-connecter\">SE CONNECTER
  1030.                                     </button>
  1031.                                 </div>
  1032.                             </form>
  1033.                             <div class=\"row no-padding\">
  1034.                                 <p class=\"registr-bottom-text\">
  1035.                                 Vous n’avez pas de compte? <span><a
  1036.                                                                        href=\"#\">Inscrivez-vous maintenant.</a></span>
  1037.                                 </p>
  1038.                             </div>
  1039.                         </div>
  1040.                     </div>
  1041.                 </div>
  1042.             </div>
  1043.         </div>
  1044.     </div>
  1045. </div>
  1046. <!--Sign in/ Registration modal-->
  1047. <!-- Product Modal -->
  1048. <div class=\"modal fade\" id=\"previewModal\" tabindex=\"-1\" role=\"dialog\"
  1049.                                                         aria-labelledby=\"previewModalTitle\" aria-hidden=\"true\">
  1050.     <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">
  1051.         <div class=\"modal-content\">
  1052.             <div class=\"modal-body\">
  1053.                 <div class=\"row\">
  1054.                     <div class=\"col-6\">
  1055.                         <img class=\"modal-product-image\" src=\"images/product_8_preview.png\">
  1056.                     </div>
  1057.                     <div class=\"col-6\">
  1058.                         <div class=\"modal-product-title\">NOM DU PRODUIT</div>
  1059.                         <div class=\"modal-product-subtitle\">Nom de la compagnie</div>
  1060.                         <div class=\"modal-product-rating\">
  1061.                             <ul class=\"rating\" data-rating=\"4\">
  1062.                                 <li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Super boring\"
  1063.                                                                   class=\"rate starOn\"
  1064.                                                                   id=\"1\"><i
  1065.                                                                   class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
  1066.                                 </li>
  1067.                                 <li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Boring\"
  1068.                                                                   class=\"rate starOn\"
  1069.                                                                   id=\"2\"><i
  1070.                                                                   class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
  1071.                                 </li>
  1072.                                 <li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Nice\"
  1073.                                                                   class=\"rate starOn\"
  1074.                                                                   id=\"3\"><i
  1075.                                                                   class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
  1076.                                 </li>
  1077.                                 <li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Cool\"
  1078.                                                                   class=\"rate starOn\"
  1079.                                                                   id=\"4\"><i
  1080.                                                                   class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
  1081.                                 </li>
  1082.                                 <li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Super cool!\"
  1083.                                                                   class=\"rate star\"
  1084.                                                                   id=\"5\"><i
  1085.                                                                   class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
  1086.                                 </li>
  1087.                             </ul>
  1088.                             <span>(12)</span>
  1089.                         </div>
  1090.                         <div class=\"modal-product-price\">9,95 CA\$</div>
  1091.                         <div class=\"modal-product-in-stock\">7 en inventaire</div>
  1092.                         <div class=\"modal-product-amount\">
  1093.                             <div class=\"modal-product-amount-title\">Quantité</div>
  1094.                             <div class=\"row\">
  1095.                                 <div class=\"col-3 no-padding-right\">
  1096.                                     <input class=\"form-control modal-product-btn-amount\" type=\"number\"
  1097.                                                                                          name=\"points\" step=\"1\" value=\"1\"
  1098.                                                                                                                 min=\"1\">
  1099.                                 </div>
  1100.                                 <div class=\"col-6 no-padding-left\">
  1101.                                     <button class=\"modal-product-btn-add-to-cart button button-200 button-orange\">
  1102.                                         AJOUTER AU PANIER
  1103.                                     </button>
  1104.                                 </div>
  1105.                             </div>
  1106.                             ";
  1107.         // line 676
  1108.         echo "                        </div>
  1109.                         ";
  1110.         // line 688
  1111.         echo "                        <div class=\"modal-product-complete-list\">
  1112.                             <a href=\"#\">VOIR LA FICHE DU PRODUIT
  1113.                                 <span class=\"modal-product-complete-list-arrow\"> </span>
  1114.                             </a>
  1115.                         </div>
  1116.                     </div>
  1117.                 </div>
  1118.             </div>
  1119.         </div>
  1120.     </div>
  1121. </div>
  1122. <!-- Product Modal -->
  1123. <!--Modifiez vos paramètres-->
  1124. <div class=\"modal fade\" id=\"modifiezVosParamètres\" tabindex=\"-1\" role=\"dialog\">
  1125.     <div class=\"modal-dialog\" role=\"document\">
  1126.         <div class=\"modal-content\">
  1127.             <div class=\"modal-body\">
  1128.                 <div class=\"container\">
  1129.                     <div class=\"row\">
  1130.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  1131.                             <div class=\"modifiezVosParamètres\">
  1132.                                 <div class=\"modifiezVosParamètres-title\">Modifiez vos paramètres</div>
  1133.                                 <div class=\"modifiezVosParamètres-description\">Paramètrez votre région, la
  1134.                                     devise et votre langue
  1135.                                     que vous utilisez.
  1136.                                 </div>
  1137.                                 <div class=\"modifiezVosParamètres-select-wrapper\">
  1138.                                     <form>
  1139.                                         <div class=\"form-group\">
  1140.                                             <label for=\"regionSelect\">Région</label>
  1141.                                             <div class=\"select-wrapper\">
  1142.                                                 <select name=\"region\" class=\"form-control form-control-lg\"
  1143.                                                                       id=\"regionSelect\">
  1144.                                                     <option value=\"Lidsa\">Lorem ipsum dolor sit amet
  1145.                                                     (Lidsa)
  1146.                                                     </option>
  1147.                                                     <option value=\"Ca\">Consectetur adipiscing elit (Ca)
  1148.                                                     </option>
  1149.                                                     <option value=\"Vsl\">Vivamus sagittis lacus (Vsl)
  1150.                                                     </option>
  1151.                                                     <option value=\"Qc\" selected>Québec (Qc)</option>
  1152.                                                     <option value=\"Pavm\">Placerat ac vitae metus (Pavm)
  1153.                                                     </option>
  1154.                                                     <option value=\"Pf\">Praesent faucibus magna sit amet
  1155.                                                     (Pf)
  1156.                                                     </option>
  1157.                                                     <option value=\"Sd\">Sollicitudin dignissim (Sd)</option>
  1158.                                                     <option value=\"Pd\">Pellentesque dictum leo non ex (Pd)
  1159.                                                     </option>
  1160.                                                     <option value=\"Fn\">Fringillaullamcorper nisi varius.
  1161.                                                     (Fn)
  1162.                                                     </option>
  1163.                                                     <option value=\"Ve\">Vestibulum euismod diam in (Ve)
  1164.                                                     </option>
  1165.                                                     <option value=\"Lf\">Lorem feugiat, (Lf)</option>
  1166.                                                     <option value=\"Sl\">Sed laoreet (Sl)</option>
  1167.                                                     <option value=\"Fv\">Felis volutpat. (Fv)</option>
  1168.                                                     <option value=\"Li\">Lorem ipsum dolor sit amet (li)
  1169.                                                     </option>
  1170.                                                     <option value=\"Cae\">Consectetur adipiscing elit (Cae)
  1171.                                                     </option>
  1172.                                                 </select>
  1173.                                             </div>
  1174.                                         </div>
  1175.                                         <div class=\"form-group\">
  1176.                                             <label for=\"currencySelect\">Devise</label>
  1177.                                             <div class=\"select-wrapper\">
  1178.                                                 <select name=\"currency\" class=\"form-control form-control-lg\"
  1179.                                                                         id=\"currencySelect\"
  1180.                                                                         size=\"1\">
  1181.                                                     <option value=\"\$(CAD)\" selected>\$ Dollar canadien
  1182.                                                     (CAD)
  1183.                                                     </option>
  1184.                                                     <option value=\"\$(USD)\">\$ United States Dollar (USD)
  1185.                                                     </option>
  1186.                                                     <option value=\"€(EUR)\">€ Euro (EUR)</option>
  1187.                                                 </select>
  1188.                                             </div>
  1189.                                         </div>
  1190.                                         <div class=\"form-group\">
  1191.                                             <label for=\"langSelect\">Langue</label>
  1192.                                             <div class=\"select-wrapper\">
  1193.                                                 <select name=\"lang\" class=\"form-control form-control-lg\"
  1194.                                                                     id=\"langSelect\">
  1195.                                                     <option value=\"Français\" selected>Français</option>
  1196.                                                     <option value=\"English\">English</option>
  1197.                                                 </select>
  1198.                                             </div>
  1199.                                         </div>
  1200.                                         <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\"
  1201.                                                                                    class=\"btn button-black modifiezVosParamètres-btn-close\">
  1202.                                             CANCEL
  1203.                                         </button>
  1204.                                         <button type=\"submit\"
  1205.                                                 class=\"btn button-orange modifiezVosParamètres-btn-save\">
  1206.                                             SAVE
  1207.                                         </button>
  1208.                                     </form>
  1209.                                 </div>
  1210.                             </div>
  1211.                         </div>
  1212.                     </div>
  1213.                 </div>
  1214.             </div>
  1215.         </div>
  1216.     </div>
  1217. </div>
  1218. <!--Modifiez vos paramètres-->
  1219. </div>
  1220. </div>
  1221. </div>
  1222. ";
  1223.         
  1224.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1225.         
  1226.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1227.     }
  1228.     public function getTemplateName()
  1229.     {
  1230.         return "frontend/product.html.twig";
  1231.     }
  1232.     public function isTraitable()
  1233.     {
  1234.         return false;
  1235.     }
  1236.     public function getDebugInfo()
  1237.     {
  1238.         return array (  1184 => 688,  1180 => 676,  970 => 464,  966 => 463,  964 => 462,  960 => 461,  957 => 460,  947 => 454,  945 => 453,  938 => 448,  936 => 447,  923 => 437,  919 => 435,  914 => 433,  911 => 432,  909 => 431,  906 => 430,  901 => 428,  898 => 427,  896 => 426,  893 => 425,  887 => 423,  881 => 421,  879 => 420,  872 => 418,  868 => 416,  865 => 415,  862 => 414,  859 => 413,  857 => 412,  853 => 410,  848 => 407,  845 => 406,  840 => 404,  837 => 403,  834 => 402,  829 => 400,  826 => 399,  824 => 398,  820 => 397,  817 => 396,  814 => 395,  808 => 393,  806 => 392,  802 => 391,  798 => 389,  794 => 387,  787 => 385,  782 => 384,  779 => 383,  775 => 381,  767 => 379,  764 => 378,  756 => 376,  753 => 375,  745 => 373,  742 => 372,  734 => 370,  732 => 369,  724 => 365,  715 => 363,  710 => 362,  707 => 361,  705 => 360,  701 => 358,  699 => 357,  695 => 355,  691 => 353,  682 => 351,  678 => 350,  675 => 349,  670 => 346,  667 => 345,  661 => 341,  659 => 340,  656 => 339,  650 => 336,  646 => 335,  643 => 334,  637 => 331,  634 => 330,  632 => 329,  629 => 328,  627 => 327,  624 => 326,  622 => 325,  617 => 322,  615 => 321,  612 => 320,  609 => 319,  606 => 318,  601 => 317,  597 => 315,  594 => 314,  591 => 313,  587 => 311,  582 => 309,  579 => 308,  577 => 307,  572 => 305,  568 => 303,  564 => 301,  553 => 299,  549 => 298,  542 => 293,  540 => 292,  537 => 291,  533 => 289,  527 => 287,  525 => 286,  518 => 283,  516 => 282,  508 => 280,  506 => 279,  503 => 278,  500 => 277,  491 => 275,  486 => 274,  484 => 273,  478 => 270,  474 => 269,  471 => 268,  465 => 265,  462 => 264,  460 => 263,  455 => 260,  451 => 258,  448 => 257,  445 => 256,  441 => 254,  437 => 252,  435 => 251,  432 => 250,  430 => 249,  427 => 248,  425 => 247,  422 => 246,  419 => 245,  417 => 244,  413 => 243,  407 => 242,  403 => 240,  392 => 238,  388 => 237,  312 => 163,  302 => 159,  298 => 158,  292 => 157,  288 => 156,  280 => 155,  277 => 154,  273 => 153,  254 => 140,  246 => 124,  237 => 120,  232 => 117,  222 => 116,  194 => 97,  184 => 91,  174 => 90,  155 => 89,  132 => 88,  120 => 86,  114 => 82,  72 => 3,  62 => 2,  39 => 1,);
  1239.     }
  1240.     public function getSourceContext()
  1241.     {
  1242.         return new Source("{% extends 'frontend/base.html.twig' %}
  1243. {% block JS %}
  1244. <script src=\"https://use.fontawesome.com/874ad7ad81.js\"></script>
  1245. <!-- Menu principale(mobile)-->
  1246. <!-- Optional JavaScript -->
  1247. <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  1248. <script src=\"https://code.jquery.com/jquery-3.1.1.min.js\"></script>
  1249. <script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.photoswipe-global.js\"></script>
  1250. <script type=\"text/javascript\" src=\"/assets/frontend/js/photoswipe.min.js\"></script>
  1251. <script type=\"text/javascript\" src=\"/assets/frontend/js/photoswipe-ui-default.js\"></script>
  1252. <script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.photoswipe-global.js\"></script>
  1253. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js\"
  1254.         integrity=\"sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ\"
  1255.         crossorigin=\"anonymous\"></script>
  1256. <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js\"
  1257.         integrity=\"sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm\"
  1258.         crossorigin=\"anonymous\"></script>
  1259. <script type=\"text/javascript\" src=\"/assets/frontend/js/owl.carousel.min.js\"></script>
  1260. <script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.min.js\"></script>
  1261. <script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.mmenu.js\"></script>
  1262. <script src=\"https://unpkg.com/infinite-scroll@3/dist/infinite-scroll.pkgd.min.js\"></script>
  1263. <script type=\"text/javascript\">
  1264.     \$(function() {
  1265.         \$('#menu').mmenu();
  1266.         \$('.endless_container').infiniteScroll({
  1267.             path: '.page-next',
  1268.             append: '.endless_page',
  1269.             history: false,
  1270.         });
  1271.         \$('.endless_container').on( 'request.infiniteScroll', function( event, path, fetchPromise ) {
  1272.                 console.log(`Loading page: \${path}`);
  1273.                 \$('#product-loader').show();
  1274.                 });
  1275.                  
  1276.                 \$('.endless_container').on( 'append.infiniteScroll', function( event, body, path, items, response ) {
  1277.                 console.log(`Appended \${items.length} items on \${path}`);
  1278.                 \$('#product-loader').hide();
  1279.                 });
  1280.     });
  1281. </script>
  1282. {#
  1283. {% if global.displayStarterKits %}
  1284. <script src=\"/assets/shared/plugins/slick-modal-css3-powered-popups/src/demos/js/carousel_slider.js\"></script>
  1285. <script src=\"/assets/shared/plugins/slick-modal-css3-powered-popups/src/plugin/js/jquery.slickmodal.min.js\"></script>
  1286. <script type=\"text/javascript\">
  1287.     \$(function() {
  1288.         \$('.carouselSlider').SlickModals({
  1289.             restrict_cookieDays: '1',
  1290.             restrict_showAfterVisits: 1,
  1291.             restrict_showAfterVisitsResetWhenShown: false,
  1292.             popup_type: 'exit',
  1293.             popup_animation: 'zoomIn',
  1294.             popup_css: {
  1295.                 'width': '480px',
  1296.                 'height': {% if global.starterKits | length > 2 %}'480px'{% else %}'400px'{% endif %},
  1297.                 'background': '#fff',
  1298.                 'padding': '40px',
  1299.                 'margin': '0'
  1300.             },
  1301.             overlay_css: {
  1302.                 'background': 'rgba(0,0,0,0.3)'
  1303.             },
  1304.             mobile_breakpoint: '480px',
  1305.             mobile_position: 'center',
  1306.             mobile_css: {
  1307.                 'width': '100%',
  1308.                 'height': {% if global.starterKits | length > 2 %}'480px'{% else %}'400px'{% endif %},
  1309.                 'background': '#fff',
  1310.                 'padding': '30px',
  1311.                 'margin': '0'
  1312.             },
  1313.             callback_afterVisible: function () {
  1314.                 sm_carouselSlider('.carouselSlider');
  1315.             }
  1316.         });
  1317.     });
  1318. </script>
  1319. {% endif %}
  1320. #}
  1321. <script type=\"text/javascript\" src=\"/assets/frontend/js/main.js\"></script>
  1322. <script type=\"text/javascript\" src=\"/assets/frontend/js/registration.js\"></script>
  1323. <script type=\"text/javascript\" src=\"/assets/frontend/js/region-currency-lang-select.js\"></script>
  1324. <script type=\"text/javascript\" src=\"/assets/frontend/js/custom-select.js\"></script>
  1325. <script src=\"{{ asset('build/frontend/category.js') }}\"></script>
  1326. {% endblock %}
  1327. {% block title %}{{product.name}}, {{product.brandName}} | {{product.company.name}}{% endblock %}
  1328. {% block metaDescription %}{{product.description | striptags | slice(0, 160) |raw }}{% endblock %}
  1329. {% block CSS %}
  1330.     {{ block('CSS', 'frontend/category.html.twig') }}
  1331.     <link href=\"/assets/frontend/css/jquery.mmenu.css\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
  1332.     <!-- Bootstrap CSS -->
  1333.     <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css\"
  1334.                            integrity=\"sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4\" crossorigin=\"anonymous\">
  1335.     <link rel=\"stylesheet\" href=\"/assets/frontend/css/owl.carousel.min.css\">
  1336.     <link href=\"/assets/frontend/css/styles.css?ver={{global.cssVersion}}\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
  1337.     <!-- Add the slick-theme.css if you want default styling -->
  1338.     <link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.css\"/>
  1339.     <!-- Add the slick-theme.css if you want default styling -->
  1340.     <link rel=\"stylesheet\" type=\"text/css\"
  1341.                            href=\"https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css\"/>
  1342.     <!-- Add photoswipe -->
  1343.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/frontend/css/photoswipe.css\"/>
  1344.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/frontend/css/default-skin.css\"/>
  1345.     <style>
  1346.     .product-btn-like {
  1347.         right: 25px!important;
  1348.     }
  1349.     </style>
  1350. {% endblock %}
  1351. {% block content %}
  1352. <div class=\"product\" id=\"product\">
  1353.     <div class=\"product-info\" style=\"padding-bottom: 20px;\">
  1354.         <div class=\"row\">
  1355.             <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 {% if product.mainImage is empty %}d-none{% endif %} d-xl-block  d-lg-block d-md-block\">
  1356.                 <div class=\"\">
  1357.                     <div class=\"row\">
  1358.                         <div id=\"product-thumbnail1\" class=\"col-sm-12\" style=\"padding-bottom: 10px;text-align: center;overflow:hidden;\">
  1359.                             <img src=\"{{path('getImageAsThumb', {'id': product.mainImage.Id, 'height': '600', 'width': '600'})}}\" alt=\"product name\">
  1360.                         </div>
  1361.                     </div>
  1362.                     <div class=\"row\">
  1363.                         {#
  1364.                         <ul class=\"gallery-thumb\">
  1365.                             {% for img in product.images %}
  1366.                             <li>
  1367.                                 <a href=\"#product-thumbnail-{{img.id}}\">
  1368.                                     <img src=\"{{path('getImageAsCroppedThumb', {'id': img.id, 'height': '100', 'width': '100'})}} \" alt=\"product name\">
  1369.                                 </a>
  1370.                             </li>
  1371.                             {% endfor %}
  1372.                         </ul>
  1373.                         #}
  1374.                         <div class=\"col-md-12\" {% if product.images | length <= 1 %}style=\"display:none;\"{% endif %}>
  1375.                             <div class=\"slider-wrap\">
  1376.                                 <div class=\"slider-naw-container\">
  1377.                                     <!--<div class=\"slider-nav\">-->
  1378.                                     <!--<div class=\"prev-slider-products-categories\"><i class=\"fa fa-angle-left\" aria-hidden=\"true\"></i></div>-->
  1379.                                     <!--<div class=\"next-slider-products-categories\"><i class=\"fa fa-angle-right\" aria-hidden=\"true\"></i></div>-->
  1380.                                     <!--</div>-->
  1381.                                 </div>
  1382.                                 <div class=\"photoswipe-gallery\" data-pswp-uid=\"1\">
  1383.                                     <div id=\"categories-gallery\" class=\"categories-slider owl-carousel product-gallery\">
  1384.                                         <!--<div id=\"categories-gallery\" class=\"categories-slider owl-carousel\">-->
  1385.                                         {% for image in product.images %}
  1386.                                         <a class=\"categories-slider__item item\"
  1387.                                            href=\"{{path('getImage', {'id': image.Id})}}\" data-size=\"{{image.Width}}x{{image.Height}}\"
  1388.                                                                                          data-med=\"{{path('getImage', {'id': image.Id})}}\"
  1389.                                                                                          data-med-size=\"{{image.Width}}x{{image.Height}}\" data-author=\"\">
  1390.                                             <img src=\"{{path('getImageAsCroppedThumb', {'id': image.Id, 'height': '100', 'width': '100' })}}\" alt=\"\">
  1391.                                             <figure style=\"display:none;\">{{image.description}}</figure>
  1392.                                         </a>
  1393.                                         {% endfor %}
  1394.                                         </div>
  1395.                                         <div class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">
  1396.                                             <!-- Background of PhotoSwipe.
  1397.                                                 It's a separate element, as animating opacity is faster than rgba(). -->
  1398.                                                 <div class=\"pswp__bg\"></div>
  1399.                                                 <!-- Slides wrapper with overflow:hidden. -->
  1400.                                                 <div class=\"pswp__scroll-wrap\">
  1401.                                                     <!-- Container that holds slides. PhotoSwipe keeps only 3 slides in DOM to save memory. -->
  1402.                                                     <!-- don't modify these 3 pswp__item elements, data is added later on. -->
  1403.                                                     <div class=\"pswp__container\">
  1404.                                                         <div class=\"pswp__item\"></div>
  1405.                                                         <div class=\"pswp__item\"></div>
  1406.                                                         <div class=\"pswp__item\"></div>
  1407.                                                     </div>
  1408.                                                     <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
  1409.                                                     <div class=\"pswp__ui pswp__ui--hidden\">
  1410.                                                         <div class=\"pswp__top-bar\">
  1411.                                                             <!--  Controls are self-explanatory. Order can be changed. -->
  1412.                                                             <div class=\"pswp__counter\"></div>
  1413.                                                             <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>
  1414.                                                             <button class=\"pswp__button pswp__button--share\" title=\"Share\"></button>
  1415.                                                             <button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>
  1416.                                                             <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>
  1417.                                                             <!-- Preloader demo https://codepen.io/dimsemenov/pen/yyBWoR -->
  1418.                                                             <!-- element will get class pswp__preloader--active when preloader is running -->
  1419.                                                             <div class=\"pswp__preloader\">
  1420.                                                                 <div class=\"pswp__preloader__icn\">
  1421.                                                                     <div class=\"pswp__preloader__cut\">
  1422.                                                                         <div class=\"pswp__preloader__donut\"></div>
  1423.                                                                     </div>
  1424.                                                                 </div>
  1425.                                                             </div>
  1426.                                                         </div>
  1427.                                                         <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">
  1428.                                                             <div class=\"pswp__share-tooltip\"></div>
  1429.                                                         </div>
  1430.                                                         <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\">
  1431.                                                         </button>
  1432.                                                         <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\">
  1433.                                                         </button>
  1434.                                                         <div class=\"pswp__caption\">
  1435.                                                             <div class=\"pswp__caption__center\"></div>
  1436.                                                         </div>
  1437.                                                     </div>
  1438.                                                 </div>
  1439.                                         </div>
  1440.                                     </div>
  1441.                                 </div>
  1442.                             </div>
  1443.                         </div>
  1444.                     </div>
  1445.                 </div>
  1446.                 <div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
  1447.                     <div class=\"product-board\">
  1448.                         <p class=\"product-subtitle-brand\">
  1449.                         <ul class=\"breadcrumb breadcrump-product\">
  1450.                             {% for b in product.breadCrumpTrail | reverse %}
  1451.                                 <li><a href=\"/categorie{{b.fullUrlPath}}\">{{b.name}}</a></li>
  1452.                             {% endfor %}
  1453.                         </ul>
  1454.                         </p>
  1455.                         <p class=\"section-title section-title-left product-big-title\" {% if product.isDisplayedInAssociationOnly and global.associationUserIsBrowsing == false %}  style=\"color: red !important;\" {% endif %}>
  1456.                             {{product.name}}
  1457.                             {% if product.alimentsDuQuebec %}
  1458.                                 {% if product.alimentsDuQuebecCertification == \"0\" %}
  1459.                                     <img src=\"/assets/frontend/images/alimentsDuQuebec/basic.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
  1460.                                 {% elseif product.alimentsDuQuebecCertification == \"1\" %}
  1461.                                     <img src=\"/assets/frontend/images/alimentsDuQuebec/prepared.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
  1462.                                 {% elseif product.alimentsDuQuebecCertification == \"2\" %}
  1463.                                     <img src=\"/assets/frontend/images/alimentsDuQuebec/bio_basic.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
  1464.                                 {% elseif product.alimentsDuQuebecCertification == \"3\" %}
  1465.                                     <img src=\"/assets/frontend/images/alimentsDuQuebec/bio_prepared.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
  1466.                                 {% else %}
  1467.                                     <img src=\"/assets/frontend/images/alimentsDuQuebec/basic.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
  1468.                                 {% endif %}
  1469.                             {% endif %}
  1470.                             {% if product.isPrixLaureat %}
  1471.                                 <img src=\"/assets/frontend/images/LOGO-PI-2020-Laureat-FR.jpg\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
  1472.                             {% endif %}
  1473.                         </p>
  1474.                         <div class=\"product-show-details\">
  1475.                             {% if product.brandName %}
  1476.                                 <p class=\"product-subtitle-brand\">
  1477.                                     {{product.brandName}}
  1478.                                 </p>
  1479.                             {% endif %}
  1480.                             <p class=\"product-subtitle\">
  1481.                                 <a href=\"{{path('companyStore', {'urlname': product.company.urlname, 'id':product.company.id })}}\">
  1482.                                     {{product.company.name}}
  1483.                                 </a>
  1484.                             </p>
  1485.                             {% if product.certifications | length > 0 %}
  1486.                                 {% for certification in product.certifications %}
  1487.                                     <p class=\"product-subtitle-certification\">{{certification.name}}</p>
  1488.                                 {% endfor %}
  1489.                             {% endif %}
  1490.                             <div class=\"product-price\">
  1491.                                 {% if product.hasDiscount %}
  1492.                                     <strike>{{product.displayPrice}}</strike> {{product.displayPrice(true)}}
  1493.                                 {% else %}
  1494.                                     {# {{product.displayPrice}} #}
  1495.                                      {{ product.getPriceUnitStandard }}
  1496.                                      <br>
  1497.                                    <span style=\"font-size: 12px;color: gray;\">
  1498.                                         {% if product.getUnitAmount and product.isBoxOfProducts == false and product.getPricePer100gramme %}
  1499.                                             {{product.getPricePer100gramme}}
  1500.                                         {% endif %}
  1501.                                     </span>
  1502.                                 {% endif %}
  1503.                                 {% if product.frontpageVariations %}
  1504.                                 <br/>
  1505.                                 <h5 class=\"font-weight-bold\" style=\"color:darkgray;\">
  1506.                                     Autre(s) format(s)
  1507.                                 </h5>
  1508.                                 <ul style=\"color: darkgray; font-size: small;\">
  1509.                                     {% for variation in product.frontpageVariations %}
  1510.                                         <li><a href=\"{{variation.fullUrl}}\">{{variation.nameWithDetails}}</a></li>
  1511.                                     {% endfor %}
  1512.                                 </ul>
  1513.                                 {% endif %}
  1514.                             </div>
  1515.                             <p class=\"product-values\">{{ product.isShippedByMaturin  ? '' : '' }}</p>
  1516.                             {% if product.isShippedByMaturin %}
  1517.                                 {% if product.qtyReadyToShip > 0 and product.isSalable %}
  1518.                                     <p class=\"product-values\">{#{{product.qtyReadyToShip}}#} Disponible</p>
  1519.                                 {% else %}
  1520.                                     <p class=\"product-values\">Inventaire épuisé</p>
  1521.                                 {% endif %}
  1522.                             {% else %}
  1523.                                 {% if global.getAssociationUserIsBrowsing %}
  1524.                                     <p class=\"product-values\">*** Cueillette au marché ***</p>
  1525.                                 {% else %}
  1526.                                     {% if independentDelivery %}<p class=\"product-values\">***Livraison indépendante***</p>{% endif %}
  1527.                                 {% endif %}
  1528.                             {% endif %}
  1529.                             {% if product.isShippedByMaturin %}
  1530.                                 <img src=\"/images/maturinshipping.png\" alt=\"Livraison par Maturin\" title=\"Livraison par Maturin\">
  1531.                                 Préparation par Maturin<br>
  1532.                                 {% if product.qtyReadyToShip > 0 %}
  1533.                                     {% set route = global.estimationShippingRoute(product)  %}
  1534.                                     {% if route['route'] is not null and not route['route'].isPuro %}
  1535.                                         <span class=\"product-values\">
  1536.                                             Recevez-le {{route['date'] | localizeddate('medium', 'none', null, '-7', 'EEEE d MMMM')}}  entre 12h et 21h
  1537.                                         </span>
  1538.                                     {% else %}
  1539.                                         <span class=\"product-values\">
  1540.                                             Recevez-le entre {{route['date'] | localizeddate('medium', 'none', null, '-7', 'EEEE d MMMM')}}
  1541.                                             et {{global.add48hToDate(route['date']) | localizeddate('medium', 'none', null, '-7', 'EEEE d MMMM')}}  entre 12h et 21h
  1542.                                         </span>
  1543.                                     {% endif %}
  1544.                                     {% if product.isJustInTime %}
  1545.                                         <br>
  1546.                                         Ceci est un produit frais cueillie/préparé spécialement pour vous. Pour être livré la semaine suivante, vous devez <strong>passer votre commande avant le dimanche à minuit</strong>, les produits étant cueillies/préparés les lundis et livrés du Mardi au vendredi.
  1547.                                         <br>
  1548.                                     {% endif %}
  1549.                                 {% endif %}
  1550.                                 <br>
  1551.                                 <br>
  1552.                             {% else %}
  1553.                                 <ul>
  1554.                                     {% for delivery in product.deliveryMethods %}
  1555.                                         <li style=\"list-style-type: none;\">{{delivery.displayPrice}}</li>
  1556.                                     {% endfor %}
  1557.                                 </ul>
  1558.                             {% endif %}
  1559.                         </div>
  1560.                         <div class=\"product-quantity\">
  1561.                             {% if product.isSalable %}
  1562.                                 <p class=\"product-quantity-title\">Quantité</p>
  1563.                                 <div class=\"product-quantity-value\">
  1564.                                     {% if product.isSubscribable %}
  1565.                                         {% if product.isOnlySubscribableToType is not empty %}
  1566.                                             <input class=\"form-control modal-product-btn-amount\" id=\"qty-for-product-{{product.id}}\" type=\"number\" name=\"points\" step=\"1\" value=\"1\" min=\"1\">
  1567.                                             <button class=\"button button-200 button-orange add-to-cart\" data-type=\"product\" data-id=\"{{product.id}}\" data-quantity=\"qty-for-product-{{product.id}}\" data-subscribe=\"{{product.isOnlySubscribable}}\">AJOUTER AU PANIER</button>
  1568.                                         {% else %}
  1569.                                             <input class=\"form-control modal-product-btn-amount\" id=\"qty-for-product-{{product.id}}\" type=\"number\" name=\"points\" step=\"1\" value=\"1\" min=\"1\">
  1570.                                             <button style=\"background-color: #f0632f;color: white;\" class=\"button dropdown-toggle\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">AJOUTER AU PANIER
  1571.                                             </button>
  1572.                                             <div class=\"dropdown-menu\" style=\"width: 300px;text-transform: uppercase;\">
  1573.                                                 {% if not product.isOnlySubscribable %}
  1574.                                                     <a class=\"dropdown-item add-to-cart\" href=\"#\" data-type=\"product\" data-id=\"{{product.id}}\" data-quantity=\"qty-for-product-{{product.id}}\">Sans abonnement</a>
  1575.                                                 {% endif %}
  1576.                                                 {% if not product.isOnlySubscribableToType or product.isOnlySubscribableToType == 2 %}
  1577.                                                     <a class=\"dropdown-item add-to-cart\" href=\"#\" data-type=\"product\" data-id=\"{{product.id}}\" data-quantity=\"qty-for-product-{{product.id}}\" data-subscribe=\"2\">Abonnement hebdomadaire</a>
  1578.                                                 {% endif %}
  1579.                                                 {% if not product.isOnlySubscribableToType or product.isOnlySubscribableToType == 3 %}
  1580.                                                     <a class=\"dropdown-item add-to-cart\" href=\"#\" data-type=\"product\" data-id=\"{{product.id}}\" data-quantity=\"qty-for-product-{{product.id}}\" data-subscribe=\"3\">Abonnement bi-mensuel</a>
  1581.                                                 {% endif %}
  1582.                                                 {% if not product.isOnlySubscribableToType or product.isOnlySubscribableToType == 4 %}
  1583.                                                     <a class=\"dropdown-item add-to-cart\" href=\"#\" data-type=\"product\" data-id=\"{{product.id}}\" data-quantity=\"qty-for-product-{{product.id}}\" data-subscribe=\"4\">Abonnement mensuel</a>
  1584.                                                 {% endif %}
  1585.                                             </div>
  1586.                                         {% endif %}
  1587.                                     {% else %}
  1588.                                         <input class=\"form-control modal-product-btn-amount\" id=\"qty-for-product-{{product.id}}\" type=\"number\" name=\"points\" step=\"1\" value=\"1\" min=\"1\">
  1589.                                         <button class=\"button button-200 button-orange add-to-cart\" data-type=\"product\" data-id=\"{{product.id}}\" data-quantity=\"qty-for-product-{{product.id}}\">AJOUTER AU PANIER</button>
  1590.                                     {% endif %}
  1591.                                 </div>
  1592.                             {% endif %}
  1593.                             <br>
  1594.                         </div>
  1595.                         <button class=\"button button-200 button-black m-b-20 product-like no-modification\" style=\"white-space: nowrap; margin-top: -20px; width: 300px;\" data-id=\"{{product.id}}\">AJOUTER AUX FAVORIS</button>
  1596.                         {% if global.isAllowedToModify(product) %}
  1597.                         <a href=\"{{path('adminEditProduct', {'id': product.id})}}\" class=\"button button-200 button-white m-b-20 no-modification\" style=\"white-space: nowrap; margin-top: -10px; width: 300px;display: block;\">EDITER CE PRODUIT</a>
  1598.                         {% endif %}
  1599.                         {% if product.description %}
  1600.                             <p>
  1601.                                 {{product.description | raw}}
  1602.                                 {% if product.nutritionFactImage is not empty %}
  1603.                                     <br>
  1604.                                     <a href=\"{{path('getImage', {'id': product.nutritionFactImage.id})}}\" target=\"_blank\" >Voir la fiche nutritionnelle </a>
  1605.                                 {% else %}
  1606.                                     {% if product.nutritionFact is not empty %}
  1607.                                         <br>
  1608.                                         <a href=\"{{path('getNutritionFactImage', {'id': product.id})}}\" target=\"_blank\" >Voir la fiche nutritionnelle </a>
  1609.                                     {% endif %}
  1610.                                 {% endif %}
  1611.                             </p>
  1612.                         {% endif %}
  1613.                     </div>
  1614.                     <hr>
  1615.                     {% if product.listOfIngredients is not empty %}
  1616.                         <h5 style=\"margin-bottom: 0px;\"><strong>Ingrédients</strong></h5>
  1617.                         {{product.listOfIngredients |raw }} {#| striptags('<b><i><ul><li><a><ol><strong><em>') | raw }} #}
  1618.                     {% endif %}
  1619.                     <h5 style=\"margin-bottom: 0px;\"><strong>Conservation</strong></h5>
  1620.                     <p>{% if product.conservation %}{{product.conservation.name}}{% endif %}</p>
  1621.                     {% if product.region is not empty %}
  1622.                         <h5 style=\"margin-bottom: 0px;\"><strong>Région</strong></h5><p>{{product.region.name}}</p>
  1623.                     {% else %}
  1624.                         <h5 style=\"margin-bottom: 0px;\"><strong>Région</strong></h5><p>{{product.company.origin}}</p>
  1625.                     {% endif %}
  1626.                     {% if product.recipes %}
  1627.                         <h5 style=\"margin-bottom: 0px;\"><strong>Recettes</strong></h5>
  1628.                         <p>{{product.recipes | raw}}</p>
  1629.                     {% endif %}
  1630.                     {% if product.advices %}
  1631.                         <h5 style=\"margin-bottom: 0px;\"><strong>Conseils</strong></h5>
  1632.                         <p>{{product.advices | raw}}</p>
  1633.                     {% endif %}
  1634.                     <hr>
  1635.                     <div class=\"modal-product-complete-list\" style=\"padding-top: 0px;\">
  1636.                         <a href=\"{{path('companyStore', {'urlname': product.company.UrlName, 'id': product.company.id})}}\">VOIR LES PRODUITS DU PRODUCTEUR</a>
  1637.                         <span class=\"modal-product-complete-list-arrow\"></span>
  1638.                     </div>
  1639.                 </div>
  1640.             </div>
  1641.         </div>
  1642.     </div>
  1643. </div>
  1644. </div>
  1645. {% if productsUserMayLike | length > 0 %}
  1646. <section class=\"section-4 no-background\" style=\"margin-top: 0px;\">
  1647.     <div class=\"row\" style=\"margin-left: 0px;margin-right: 0px;\">
  1648.         <div class=\"col-sm-12 col-12\">
  1649.             <div class=\"section-title section-title-line\">Produits suggérés</div>
  1650.             <div class=\"products-wrap\" style=\"margin-right: auto; margin-left: auto;text-align: left;\">
  1651.                 {% set masonryProducts = productsUserMayLike | slice(0, 4) %}
  1652.                 {{block('masonryProducts', 'frontend/productMasonry.html.twig')}}
  1653.             </div>
  1654.         </div>
  1655.     </div>
  1656. </section>
  1657. {% endif %}
  1658. <div class=\"section-title section-title-line m-t-10\">Continuer à magasiner dans {{categoryToUse.name}}</div>
  1659. {% set forcedProductThumbnail = '300' %}
  1660. {{ block('section_category_stats', 'frontend/category.html.twig') }}
  1661. {{ block('section_masonry_products', 'frontend/category.html.twig') }}
  1662. <!--Main content-->
  1663. <div class=\"divider m-r-l-10\"></div>
  1664. <!--Sign in/ Registration modal-->
  1665. <div class=\"modal fade\" id=\"registrModal\" tabindex=\"-1\" role=\"dialog\">
  1666.     <div class=\"modal-dialog\" role=\"document\">
  1667.         <div class=\"modal-content\">
  1668.             <ul class=\"nav nav-pills\" id=\"pills-tab\" role=\"tablist\">
  1669.                 <li class=\"nav-item\">
  1670.                     <a class=\"nav-link active\" id=\"pills-register-tab\" data-toggle=\"pill\"
  1671.                                                                        href=\"#pills-register\"
  1672.                                                                        role=\"tab\" aria-controls=\"pills-register\"
  1673.                                                                                   aria-selected=\"true\">S'inscrire</a>
  1674.                 </li>
  1675.                 <li class=\"nav-item\">
  1676.                     <a class=\"nav-link\" id=\"pills-login-tab\" data-toggle=\"pill\" href=\"#pills-login\"
  1677.                                                                                 role=\"tab\" aria-controls=\"pills-login\" aria-selected=\"false\">Se connecter</a>
  1678.                 </li>
  1679.             </ul>
  1680.             <div class=\"tab-content\" id=\"pills-tabContent\">
  1681.                 <div class=\"tab-pane fade show active\" id=\"pills-register\" role=\"tabpanel\"
  1682.                                                                            aria-labelledby=\"pills-register-tab\">
  1683.                     <div class=\"container\">
  1684.                         <button type=\"button\" class=\"btn-registr-modal-colose\">
  1685.                         </button>
  1686.                         <div class=\"col-xl-10 col-lg-10 col-md-10 col-sm-12 col-12 m-0-auto\">
  1687.                             <div class=\"row\">
  1688.                                 <p class=\"registr-top-text m--30\">Pour enregistrer des articles ou recevoir
  1689.                                 des
  1690.                                 bulletins d'information,
  1691.                                 des
  1692.                                 alertes ou
  1693.                                 des recommandations - tout est gratuit.</p>
  1694.                             </div>
  1695.                             <div class=\"row\">
  1696.                                 <button class=\"button button-300 button-fb\">
  1697.                                     <span class=\"button-icon fb-icon\"><i class=\"fa fa-facebook\"
  1698.                                                                          aria-hidden=\"true\"></i></span>
  1699.                                     Se connecter avec Facebook
  1700.                                 </button>
  1701.                                 <button class=\"button button-300 button-g\">
  1702.                                     <span class=\"button-icon g-icon\"><img
  1703.                                           src=\"/assets/frontend/images/icons/google-icon.png\"
  1704.                                           alt=\"\"></span>
  1705.                                     Se connecter avec Google
  1706.                                 </button>
  1707.                             </div>
  1708.                             <form id=\"registrForm\">
  1709.                                 <div class=\"row\">
  1710.                                     <h5 class=\"section-title-line\">OU</h5>
  1711.                                     <input type=\"text\" placeholder=\"Prénom\"
  1712.                                                        class=\"form-control registr-form-control\">
  1713.                                     <input type=\"email\" placeholder=\"Courriel\"
  1714.                                                         class=\"form-control registr-form-control\">
  1715.                                     <span class=\"email-incorrect\">E-mail incorrect</span>
  1716.                                     <input type=\"password\" placeholder=\"Mot de passe\"
  1717.                                                            class=\"form-control registr-form-control\">
  1718.                                     <input type=\"password\" placeholder=\"Confirmer le mot de passe\"
  1719.                                                            class=\"form-control registr-form-control\">
  1720.                                 </div>
  1721.                                 <div class=\"row\">
  1722.                                     <button class=\"button button-full-width button-orange\">S'INSCRIRE
  1723.                                     </button>
  1724.                                 </div>
  1725.                             </form>
  1726.                             <div class=\"row\">
  1727.                                 <p class=\"registr-bottom-text\">
  1728.                                 En cliquant sur S'inscrire, vous acceptez de respecter les <span><a
  1729.                                                                                                      href=\"#\">Conditions
  1730.                                                                                                      d'utilisation</a></span> et le <span><a
  1731.                                                                                                                                               href=\"#\">Les Règlements</a></span>
  1732.                                                                                              concernant la confidentialité
  1733.                                                                                              de Maturin.
  1734.                                 </p>
  1735.                             </div>
  1736.                         </div>
  1737.                     </div>
  1738.                 </div>
  1739.                 <div class=\"tab-pane fade\" id=\"pills-login\" role=\"tabpanel\"
  1740.                                                             aria-labelledby=\"pills-login-tab\">
  1741.                     <div class=\"container\">
  1742.                         <button type=\"button\" class=\"btn-registr-modal-close\">
  1743.                         </button>
  1744.                         <div class=\"col-xl-10 col-lg-10 col-md-10 col-sm-12 col-12 m-0-auto\">
  1745.                             <div class=\"row\">
  1746.                                 <p class=\"registr-top-text m-0-auto\">Se connecter pour démarrer votre
  1747.                                 boutique</p>
  1748.                             </div>
  1749.                             <div class=\"row\">
  1750.                                 <button class=\"button button-300 button-fb\">
  1751.                                     <span class=\"button-icon fb-icon\"><i class=\"fa fa-facebook\"
  1752.                                                                          aria-hidden=\"true\"></i></span>
  1753.                                     Se connecter avec Facebook
  1754.                                 </button>
  1755.                                 <button class=\"button button-300 button-g\">
  1756.                                     <span class=\"button-icon g-icon\"><img
  1757.                                           src=\"/assets/frontend/images/icons/google-icon.png\"
  1758.                                           alt=\"\"></span>
  1759.                                     Se connecter avec Google
  1760.                                 </button>
  1761.                             </div>
  1762.                             <form id=\"loginForm\">
  1763.                                 <div class=\"row\">
  1764.                                     <h5 class=\"section-title-line\">OU</h5>
  1765.                                     <input id=\"login-email\" type=\"email\" placeholder=\"Courriel\"
  1766.                                                                          class=\"form-control registr-form-control\">
  1767.                                     <span class=\"email-incorrect\">E-mail incorrect</span>
  1768.                                     <input id=\"login-password\" type=\"password\" placeholder=\"Mot de passe\"
  1769.                                                                                class=\"form-control registr-form-control\">
  1770.                                 </div>
  1771.                                 <div class=\"row rester-connecté\">
  1772.                                     <div class=\"col-xl-6 col-lg-6 col-md-6 ol-sm-6 col-6\">
  1773.                                         <div class=\"form-group form-check\">
  1774.                                             <input type=\"checkbox\" class=\"form-check-input\"
  1775.                                                                    id=\"exampleCheck1\">
  1776.                                             <label class=\"form-check-label\" for=\"exampleCheck1\">Rester
  1777.                                                 connecté</label>
  1778.                                         </div>
  1779.                                     </div>
  1780.                                     <div class=\"col-xl-6 col-lg-6 col-md-6 ol-sm-6 col-6 text-right no-padding-left\">
  1781.                                         <a href=\"#\" class=\"orange-link\">Mot de passe oublié?</a>
  1782.                                     </div>
  1783.                                 </div>
  1784.                                 <div class=\"row\">
  1785.                                     <button class=\"button button-full-width button-orange\"
  1786.                                             id=\"btn-se-connecter\">SE CONNECTER
  1787.                                     </button>
  1788.                                 </div>
  1789.                             </form>
  1790.                             <div class=\"row no-padding\">
  1791.                                 <p class=\"registr-bottom-text\">
  1792.                                 Vous n’avez pas de compte? <span><a
  1793.                                                                        href=\"#\">Inscrivez-vous maintenant.</a></span>
  1794.                                 </p>
  1795.                             </div>
  1796.                         </div>
  1797.                     </div>
  1798.                 </div>
  1799.             </div>
  1800.         </div>
  1801.     </div>
  1802. </div>
  1803. <!--Sign in/ Registration modal-->
  1804. <!-- Product Modal -->
  1805. <div class=\"modal fade\" id=\"previewModal\" tabindex=\"-1\" role=\"dialog\"
  1806.                                                         aria-labelledby=\"previewModalTitle\" aria-hidden=\"true\">
  1807.     <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">
  1808.         <div class=\"modal-content\">
  1809.             <div class=\"modal-body\">
  1810.                 <div class=\"row\">
  1811.                     <div class=\"col-6\">
  1812.                         <img class=\"modal-product-image\" src=\"images/product_8_preview.png\">
  1813.                     </div>
  1814.                     <div class=\"col-6\">
  1815.                         <div class=\"modal-product-title\">NOM DU PRODUIT</div>
  1816.                         <div class=\"modal-product-subtitle\">Nom de la compagnie</div>
  1817.                         <div class=\"modal-product-rating\">
  1818.                             <ul class=\"rating\" data-rating=\"4\">
  1819.                                 <li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Super boring\"
  1820.                                                                   class=\"rate starOn\"
  1821.                                                                   id=\"1\"><i
  1822.                                                                   class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
  1823.                                 </li>
  1824.                                 <li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Boring\"
  1825.                                                                   class=\"rate starOn\"
  1826.                                                                   id=\"2\"><i
  1827.                                                                   class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
  1828.                                 </li>
  1829.                                 <li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Nice\"
  1830.                                                                   class=\"rate starOn\"
  1831.                                                                   id=\"3\"><i
  1832.                                                                   class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
  1833.                                 </li>
  1834.                                 <li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Cool\"
  1835.                                                                   class=\"rate starOn\"
  1836.                                                                   id=\"4\"><i
  1837.                                                                   class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
  1838.                                 </li>
  1839.                                 <li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Super cool!\"
  1840.                                                                   class=\"rate star\"
  1841.                                                                   id=\"5\"><i
  1842.                                                                   class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
  1843.                                 </li>
  1844.                             </ul>
  1845.                             <span>(12)</span>
  1846.                         </div>
  1847.                         <div class=\"modal-product-price\">9,95 CA\$</div>
  1848.                         <div class=\"modal-product-in-stock\">7 en inventaire</div>
  1849.                         <div class=\"modal-product-amount\">
  1850.                             <div class=\"modal-product-amount-title\">Quantité</div>
  1851.                             <div class=\"row\">
  1852.                                 <div class=\"col-3 no-padding-right\">
  1853.                                     <input class=\"form-control modal-product-btn-amount\" type=\"number\"
  1854.                                                                                          name=\"points\" step=\"1\" value=\"1\"
  1855.                                                                                                                 min=\"1\">
  1856.                                 </div>
  1857.                                 <div class=\"col-6 no-padding-left\">
  1858.                                     <button class=\"modal-product-btn-add-to-cart button button-200 button-orange\">
  1859.                                         AJOUTER AU PANIER
  1860.                                     </button>
  1861.                                 </div>
  1862.                             </div>
  1863.                             {#
  1864.                             <button class=\"modal-product-btn-product-list button button-200 button-black\">
  1865.                                 LISTE DE SOUHAIT
  1866.                             </button>
  1867.                             #}
  1868.                         </div>
  1869.                         {#
  1870.                         <div class=\"modal-product-social-icons\">
  1871.                             <span class=\"modal-product-social-icons-title\">Partagez:</span>
  1872.                             <i class=\"fa fa-facebook\" aria-hidden=\"true\"></i>
  1873.                             <i class=\"fa fa-twitter\" aria-hidden=\"true\"></i>
  1874.                             <i class=\"fa fa-pinterest-p\" aria-hidden=\"true\"></i>
  1875.                             <i class=\"fa fa-google-plus\" aria-hidden=\"true\"></i>
  1876.                             <p class=\"modal-product-social-icon-email\"></p>
  1877.                         </div>
  1878.                         #}
  1879.                         <div class=\"modal-product-complete-list\">
  1880.                             <a href=\"#\">VOIR LA FICHE DU PRODUIT
  1881.                                 <span class=\"modal-product-complete-list-arrow\"> </span>
  1882.                             </a>
  1883.                         </div>
  1884.                     </div>
  1885.                 </div>
  1886.             </div>
  1887.         </div>
  1888.     </div>
  1889. </div>
  1890. <!-- Product Modal -->
  1891. <!--Modifiez vos paramètres-->
  1892. <div class=\"modal fade\" id=\"modifiezVosParamètres\" tabindex=\"-1\" role=\"dialog\">
  1893.     <div class=\"modal-dialog\" role=\"document\">
  1894.         <div class=\"modal-content\">
  1895.             <div class=\"modal-body\">
  1896.                 <div class=\"container\">
  1897.                     <div class=\"row\">
  1898.                         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  1899.                             <div class=\"modifiezVosParamètres\">
  1900.                                 <div class=\"modifiezVosParamètres-title\">Modifiez vos paramètres</div>
  1901.                                 <div class=\"modifiezVosParamètres-description\">Paramètrez votre région, la
  1902.                                     devise et votre langue
  1903.                                     que vous utilisez.
  1904.                                 </div>
  1905.                                 <div class=\"modifiezVosParamètres-select-wrapper\">
  1906.                                     <form>
  1907.                                         <div class=\"form-group\">
  1908.                                             <label for=\"regionSelect\">Région</label>
  1909.                                             <div class=\"select-wrapper\">
  1910.                                                 <select name=\"region\" class=\"form-control form-control-lg\"
  1911.                                                                       id=\"regionSelect\">
  1912.                                                     <option value=\"Lidsa\">Lorem ipsum dolor sit amet
  1913.                                                     (Lidsa)
  1914.                                                     </option>
  1915.                                                     <option value=\"Ca\">Consectetur adipiscing elit (Ca)
  1916.                                                     </option>
  1917.                                                     <option value=\"Vsl\">Vivamus sagittis lacus (Vsl)
  1918.                                                     </option>
  1919.                                                     <option value=\"Qc\" selected>Québec (Qc)</option>
  1920.                                                     <option value=\"Pavm\">Placerat ac vitae metus (Pavm)
  1921.                                                     </option>
  1922.                                                     <option value=\"Pf\">Praesent faucibus magna sit amet
  1923.                                                     (Pf)
  1924.                                                     </option>
  1925.                                                     <option value=\"Sd\">Sollicitudin dignissim (Sd)</option>
  1926.                                                     <option value=\"Pd\">Pellentesque dictum leo non ex (Pd)
  1927.                                                     </option>
  1928.                                                     <option value=\"Fn\">Fringillaullamcorper nisi varius.
  1929.                                                     (Fn)
  1930.                                                     </option>
  1931.                                                     <option value=\"Ve\">Vestibulum euismod diam in (Ve)
  1932.                                                     </option>
  1933.                                                     <option value=\"Lf\">Lorem feugiat, (Lf)</option>
  1934.                                                     <option value=\"Sl\">Sed laoreet (Sl)</option>
  1935.                                                     <option value=\"Fv\">Felis volutpat. (Fv)</option>
  1936.                                                     <option value=\"Li\">Lorem ipsum dolor sit amet (li)
  1937.                                                     </option>
  1938.                                                     <option value=\"Cae\">Consectetur adipiscing elit (Cae)
  1939.                                                     </option>
  1940.                                                 </select>
  1941.                                             </div>
  1942.                                         </div>
  1943.                                         <div class=\"form-group\">
  1944.                                             <label for=\"currencySelect\">Devise</label>
  1945.                                             <div class=\"select-wrapper\">
  1946.                                                 <select name=\"currency\" class=\"form-control form-control-lg\"
  1947.                                                                         id=\"currencySelect\"
  1948.                                                                         size=\"1\">
  1949.                                                     <option value=\"\$(CAD)\" selected>\$ Dollar canadien
  1950.                                                     (CAD)
  1951.                                                     </option>
  1952.                                                     <option value=\"\$(USD)\">\$ United States Dollar (USD)
  1953.                                                     </option>
  1954.                                                     <option value=\"€(EUR)\">€ Euro (EUR)</option>
  1955.                                                 </select>
  1956.                                             </div>
  1957.                                         </div>
  1958.                                         <div class=\"form-group\">
  1959.                                             <label for=\"langSelect\">Langue</label>
  1960.                                             <div class=\"select-wrapper\">
  1961.                                                 <select name=\"lang\" class=\"form-control form-control-lg\"
  1962.                                                                     id=\"langSelect\">
  1963.                                                     <option value=\"Français\" selected>Français</option>
  1964.                                                     <option value=\"English\">English</option>
  1965.                                                 </select>
  1966.                                             </div>
  1967.                                         </div>
  1968.                                         <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\"
  1969.                                                                                    class=\"btn button-black modifiezVosParamètres-btn-close\">
  1970.                                             CANCEL
  1971.                                         </button>
  1972.                                         <button type=\"submit\"
  1973.                                                 class=\"btn button-orange modifiezVosParamètres-btn-save\">
  1974.                                             SAVE
  1975.                                         </button>
  1976.                                     </form>
  1977.                                 </div>
  1978.                             </div>
  1979.                         </div>
  1980.                     </div>
  1981.                 </div>
  1982.             </div>
  1983.         </div>
  1984.     </div>
  1985. </div>
  1986. <!--Modifiez vos paramètres-->
  1987. </div>
  1988. </div>
  1989. </div>
  1990. {% endblock %}
  1991. ""frontend/product.html.twig""/var/www/html/Markego/templates/frontend/product.html.twig");
  1992.     }
  1993. }