<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* frontend/product.html.twig */
class __TwigTemplate_e6002284858a685924ba3e7f3b1ff648eaf12745797cd31b6abcfaa645e6cf73 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'JS' => [$this, 'block_JS'],
'title' => [$this, 'block_title'],
'metaDescription' => [$this, 'block_metaDescription'],
'CSS' => [$this, 'block_CSS'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "frontend/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/product.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/product.html.twig"));
$this->parent = $this->loadTemplate("frontend/base.html.twig", "frontend/product.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_JS($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "JS"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "JS"));
// line 3
echo "<script src=\"https://use.fontawesome.com/874ad7ad81.js\"></script>
<!-- Menu principale(mobile)-->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src=\"https://code.jquery.com/jquery-3.1.1.min.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.photoswipe-global.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/photoswipe.min.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/photoswipe-ui-default.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.photoswipe-global.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js\"
integrity=\"sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ\"
crossorigin=\"anonymous\"></script>
<script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js\"
integrity=\"sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm\"
crossorigin=\"anonymous\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/owl.carousel.min.js\"></script>
<script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.min.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.mmenu.js\"></script>
<script src=\"https://unpkg.com/infinite-scroll@3/dist/infinite-scroll.pkgd.min.js\"></script>
<script type=\"text/javascript\">
\$(function() {
\$('#menu').mmenu();
\$('.endless_container').infiniteScroll({
path: '.page-next',
append: '.endless_page',
history: false,
});
\$('.endless_container').on( 'request.infiniteScroll', function( event, path, fetchPromise ) {
console.log(`Loading page: \${path}`);
\$('#product-loader').show();
});
\$('.endless_container').on( 'append.infiniteScroll', function( event, body, path, items, response ) {
console.log(`Appended \${items.length} items on \${path}`);
\$('#product-loader').hide();
});
});
</script>
";
// line 82
echo "<script type=\"text/javascript\" src=\"/assets/frontend/js/main.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/registration.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/region-currency-lang-select.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/custom-select.js\"></script>
<script src=\"";
// line 86
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/frontend/category.js"), "html", null, true);
echo "\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 88
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 88, $this->source); })()), "name", [], "any", false, false, false, 88), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 88, $this->source); })()), "brandName", [], "any", false, false, false, 88), "html", null, true);
echo " | ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 88, $this->source); })()), "company", [], "any", false, false, false, 88), "name", [], "any", false, false, false, 88), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 89
public function block_metaDescription($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
echo twig_slice($this->env, strip_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", false, false, false, 89)), 0, 160);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 90
public function block_CSS($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "CSS"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "CSS"));
// line 91
echo " ";
$this->loadTemplate("frontend/category.html.twig", "frontend/product.html.twig", 91)->displayBlock("CSS", $context);
echo "
<link href=\"/assets/frontend/css/jquery.mmenu.css\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
<!-- Bootstrap CSS -->
<link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css\"
integrity=\"sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4\" crossorigin=\"anonymous\">
<link rel=\"stylesheet\" href=\"/assets/frontend/css/owl.carousel.min.css\">
<link href=\"/assets/frontend/css/styles.css?ver=";
// line 97
echo twig_escape_filter($this->env, 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.', 97, $this->source); })()), "cssVersion", [], "any", false, false, false, 97), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
<!-- Add the slick-theme.css if you want default styling -->
<link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.css\"/>
<!-- Add the slick-theme.css if you want default styling -->
<link rel=\"stylesheet\" type=\"text/css\"
href=\"https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css\"/>
<!-- Add photoswipe -->
<link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/frontend/css/photoswipe.css\"/>
<link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/frontend/css/default-skin.css\"/>
<style>
.product-btn-like {
right: 25px!important;
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 116
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 117
echo "<div class=\"product\" id=\"product\">
<div class=\"product-info\" style=\"padding-bottom: 20px;\">
<div class=\"row\">
<div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 ";
// line 120
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", false, false, false, 120))) {
echo "d-none";
}
echo " d-xl-block d-lg-block d-md-block\">
<div class=\"\">
<div class=\"row\">
<div id=\"product-thumbnail1\" class=\"col-sm-12\" style=\"padding-bottom: 10px;text-align: center;overflow:hidden;\">
<img src=\"";
// line 124
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getImageAsThumb", ["id" => twig_get_attribute($this->env, $this->source, 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.', 124, $this->source); })()), "mainImage", [], "any", false, false, false, 124), "Id", [], "any", false, false, false, 124), "height" => "600", "width" => "600"]), "html", null, true);
echo "\" alt=\"product name\">
</div>
</div>
<div class=\"row\">
";
// line 140
echo " <div class=\"col-md-12\" ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 140, $this->source); })()), "images", [], "any", false, false, false, 140)) <= 1)) {
echo "style=\"display:none;\"";
}
echo ">
<div class=\"slider-wrap\">
<div class=\"slider-naw-container\">
<!--<div class=\"slider-nav\">-->
<!--<div class=\"prev-slider-products-categories\"><i class=\"fa fa-angle-left\" aria-hidden=\"true\"></i></div>-->
<!--<div class=\"next-slider-products-categories\"><i class=\"fa fa-angle-right\" aria-hidden=\"true\"></i></div>-->
<!--</div>-->
</div>
<div class=\"photoswipe-gallery\" data-pswp-uid=\"1\">
<div id=\"categories-gallery\" class=\"categories-slider owl-carousel product-gallery\">
<!--<div id=\"categories-gallery\" class=\"categories-slider owl-carousel\">-->
";
// line 153
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 153, $this->source); })()), "images", [], "any", false, false, false, 153));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 154
echo " <a class=\"categories-slider__item item\"
href=\"";
// line 155
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", false, false, false, 155)]), "html", null, true);
echo "\" data-size=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "Width", [], "any", false, false, false, 155), "html", null, true);
echo "x";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "Height", [], "any", false, false, false, 155), "html", null, true);
echo "\"
data-med=\"";
// line 156
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", false, false, false, 156)]), "html", null, true);
echo "\"
data-med-size=\"";
// line 157
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "Width", [], "any", false, false, false, 157), "html", null, true);
echo "x";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "Height", [], "any", false, false, false, 157), "html", null, true);
echo "\" data-author=\"\">
<img src=\"";
// line 158
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", false, false, false, 158), "height" => "100", "width" => "100"]), "html", null, true);
echo "\" alt=\"\">
<figure style=\"display:none;\">";
// line 159
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "description", [], "any", false, false, false, 159), "html", null, true);
echo "</figure>
</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 163
echo " </div>
<div class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">
<!-- Background of PhotoSwipe.
It's a separate element, as animating opacity is faster than rgba(). -->
<div class=\"pswp__bg\"></div>
<!-- Slides wrapper with overflow:hidden. -->
<div class=\"pswp__scroll-wrap\">
<!-- Container that holds slides. PhotoSwipe keeps only 3 slides in DOM to save memory. -->
<!-- don't modify these 3 pswp__item elements, data is added later on. -->
<div class=\"pswp__container\">
<div class=\"pswp__item\"></div>
<div class=\"pswp__item\"></div>
<div class=\"pswp__item\"></div>
</div>
<!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
<div class=\"pswp__ui pswp__ui--hidden\">
<div class=\"pswp__top-bar\">
<!-- Controls are self-explanatory. Order can be changed. -->
<div class=\"pswp__counter\"></div>
<button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>
<button class=\"pswp__button pswp__button--share\" title=\"Share\"></button>
<button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>
<button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>
<!-- Preloader demo https://codepen.io/dimsemenov/pen/yyBWoR -->
<!-- element will get class pswp__preloader--active when preloader is running -->
<div class=\"pswp__preloader\">
<div class=\"pswp__preloader__icn\">
<div class=\"pswp__preloader__cut\">
<div class=\"pswp__preloader__donut\"></div>
</div>
</div>
</div>
</div>
<div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">
<div class=\"pswp__share-tooltip\"></div>
</div>
<button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\">
</button>
<button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\">
</button>
<div class=\"pswp__caption\">
<div class=\"pswp__caption__center\"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
<div class=\"product-board\">
<p class=\"product-subtitle-brand\">
<ul class=\"breadcrumb breadcrump-product\">
";
// line 237
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 237, $this->source); })()), "breadCrumpTrail", [], "any", false, false, false, 237)));
foreach ($context['_seq'] as $context["_key"] => $context["b"]) {
// line 238
echo " <li><a href=\"/categorie";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["b"], "fullUrlPath", [], "any", false, false, false, 238), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["b"], "name", [], "any", false, false, false, 238), "html", null, true);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['b'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 240
echo " </ul>
</p>
<p class=\"section-title section-title-left product-big-title\" ";
// line 242
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", false, false, false, 242) && (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", false, false, false, 242) == false))) {
echo " style=\"color: red !important;\" ";
}
echo ">
";
// line 243
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 243, $this->source); })()), "name", [], "any", false, false, false, 243), "html", null, true);
echo "
";
// line 244
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", false, false, false, 244)) {
// line 245
echo " ";
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", false, false, false, 245) == "0")) {
// line 246
echo " <img src=\"/assets/frontend/images/alimentsDuQuebec/basic.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 247
(isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 247, $this->source); })()), "alimentsDuQuebecCertification", [], "any", false, false, false, 247) == "1")) {
// line 248
echo " <img src=\"/assets/frontend/images/alimentsDuQuebec/prepared.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 249
(isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 249, $this->source); })()), "alimentsDuQuebecCertification", [], "any", false, false, false, 249) == "2")) {
// line 250
echo " <img src=\"/assets/frontend/images/alimentsDuQuebec/bio_basic.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 251
(isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 251, $this->source); })()), "alimentsDuQuebecCertification", [], "any", false, false, false, 251) == "3")) {
// line 252
echo " <img src=\"/assets/frontend/images/alimentsDuQuebec/bio_prepared.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
";
} else {
// line 254
echo " <img src=\"/assets/frontend/images/alimentsDuQuebec/basic.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
";
}
// line 256
echo " ";
}
// line 257
echo " ";
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", false, false, false, 257)) {
// line 258
echo " <img src=\"/assets/frontend/images/LOGO-PI-2020-Laureat-FR.jpg\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
";
}
// line 260
echo " </p>
<div class=\"product-show-details\">
";
// line 263
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", false, false, false, 263)) {
// line 264
echo " <p class=\"product-subtitle-brand\">
";
// line 265
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 265, $this->source); })()), "brandName", [], "any", false, false, false, 265), "html", null, true);
echo "
</p>
";
}
// line 268
echo " <p class=\"product-subtitle\">
<a href=\"";
// line 269
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("companyStore", ["urlname" => twig_get_attribute($this->env, $this->source, 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.', 269, $this->source); })()), "company", [], "any", false, false, false, 269), "urlname", [], "any", false, false, false, 269), "id" => twig_get_attribute($this->env, $this->source, 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.', 269, $this->source); })()), "company", [], "any", false, false, false, 269), "id", [], "any", false, false, false, 269)]), "html", null, true);
echo "\">
";
// line 270
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 270, $this->source); })()), "company", [], "any", false, false, false, 270), "name", [], "any", false, false, false, 270), "html", null, true);
echo "
</a>
</p>
";
// line 273
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 273, $this->source); })()), "certifications", [], "any", false, false, false, 273)) > 0)) {
// line 274
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 274, $this->source); })()), "certifications", [], "any", false, false, false, 274));
foreach ($context['_seq'] as $context["_key"] => $context["certification"]) {
// line 275
echo " <p class=\"product-subtitle-certification\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["certification"], "name", [], "any", false, false, false, 275), "html", null, true);
echo "</p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['certification'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 277
echo " ";
}
// line 278
echo " <div class=\"product-price\">
";
// line 279
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", false, false, false, 279)) {
// line 280
echo " <strike>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 280, $this->source); })()), "displayPrice", [], "any", false, false, false, 280), "html", null, true);
echo "</strike> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 280, $this->source); })()), "displayPrice", [0 => true], "method", false, false, false, 280), "html", null, true);
echo "
";
} else {
// line 282
echo " ";
// line 283
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 283, $this->source); })()), "getPriceUnitStandard", [], "any", false, false, false, 283), "html", null, true);
echo "
<br>
<span style=\"font-size: 12px;color: gray;\">
";
// line 286
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", false, false, false, 286) && (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", false, false, false, 286) == 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", false, false, false, 286))) {
// line 287
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 287, $this->source); })()), "getPricePer100gramme", [], "any", false, false, false, 287), "html", null, true);
echo "
";
}
// line 289
echo " </span>
";
}
// line 291
echo "
";
// line 292
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", false, false, false, 292)) {
// line 293
echo " <br/>
<h5 class=\"font-weight-bold\" style=\"color:darkgray;\">
Autre(s) format(s)
</h5>
<ul style=\"color: darkgray; font-size: small;\">
";
// line 298
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 298, $this->source); })()), "frontpageVariations", [], "any", false, false, false, 298));
foreach ($context['_seq'] as $context["_key"] => $context["variation"]) {
// line 299
echo " <li><a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["variation"], "fullUrl", [], "any", false, false, false, 299), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["variation"], "nameWithDetails", [], "any", false, false, false, 299), "html", null, true);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['variation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 301
echo " </ul>
";
}
// line 303
echo " </div>
<p class=\"product-values\">";
// line 305
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", false, false, false, 305)) ? ("") : (""));
echo "</p>
";
// line 307
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", false, false, false, 307)) {
// line 308
echo " ";
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", false, false, false, 308) > 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", false, false, false, 308))) {
// line 309
echo " <p class=\"product-values\">";
echo " Disponible</p>
";
} else {
// line 311
echo " <p class=\"product-values\">Inventaire épuisé</p>
";
}
// line 313
echo " ";
} else {
// line 314
echo " ";
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", false, false, false, 314)) {
// line 315
echo " <p class=\"product-values\">*** Cueillette au marché ***</p>
";
} else {
// line 317
echo " ";
if ((isset($context["independentDelivery"]) || array_key_exists("independentDelivery", $context) ? $context["independentDelivery"] : (function () { throw new RuntimeError('Variable "independentDelivery" does not exist.', 317, $this->source); })())) {
echo "<p class=\"product-values\">***Livraison indépendante***</p>";
}
// line 318
echo " ";
}
// line 319
echo " ";
}
// line 320
echo "
";
// line 321
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", false, false, false, 321)) {
// line 322
echo " <img src=\"/images/maturinshipping.png\" alt=\"Livraison par Maturin\" title=\"Livraison par Maturin\">
Préparation par Maturin<br>
";
// line 325
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", false, false, false, 325) > 0)) {
// line 326
echo "
";
// line 327
$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", [0 => (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 327, $this->source); })())], "method", false, false, false, 327);
// line 328
echo "
";
// line 329
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", false, false, false, 329)) && !twig_get_attribute($this->env, $this->source, 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", false, false, false, 329), "isPuro", [], "any", false, false, false, 329))) {
// line 330
echo " <span class=\"product-values\">
Recevez-le ";
// line 331
echo twig_escape_filter($this->env, twig_localized_date_filter($this->env, 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.', 331, $this->source); })()), "date", [], "array", false, false, false, 331), "medium", "none", null, "-7", "EEEE d MMMM"), "html", null, true);
echo " entre 12h et 21h
</span>
";
} else {
// line 334
echo " <span class=\"product-values\">
Recevez-le entre ";
// line 335
echo twig_escape_filter($this->env, twig_localized_date_filter($this->env, 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.', 335, $this->source); })()), "date", [], "array", false, false, false, 335), "medium", "none", null, "-7", "EEEE d MMMM"), "html", null, true);
echo "
et ";
// line 336
echo twig_escape_filter($this->env, twig_localized_date_filter($this->env, 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.', 336, $this->source); })()), "add48hToDate", [0 => 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", false, false, false, 336)], "method", false, false, false, 336), "medium", "none", null, "-7", "EEEE d MMMM"), "html", null, true);
echo " entre 12h et 21h
</span>
";
}
// line 339
echo "
";
// line 340
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", false, false, false, 340)) {
// line 341
echo " <br>
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.
<br>
";
}
// line 345
echo " ";
}
// line 346
echo " <br>
<br>
";
} else {
// line 349
echo " <ul>
";
// line 350
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 350, $this->source); })()), "deliveryMethods", [], "any", false, false, false, 350));
foreach ($context['_seq'] as $context["_key"] => $context["delivery"]) {
// line 351
echo " <li style=\"list-style-type: none;\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["delivery"], "displayPrice", [], "any", false, false, false, 351), "html", null, true);
echo "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['delivery'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 353
echo " </ul>
";
}
// line 355
echo " </div>
<div class=\"product-quantity\">
";
// line 357
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", false, false, false, 357)) {
// line 358
echo " <p class=\"product-quantity-title\">Quantité</p>
<div class=\"product-quantity-value\">
";
// line 360
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", false, false, false, 360)) {
// line 361
echo " ";
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", false, false, false, 361))) {
// line 362
echo " <input class=\"form-control modal-product-btn-amount\" id=\"qty-for-product-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 362, $this->source); })()), "id", [], "any", false, false, false, 362), "html", null, true);
echo "\" type=\"number\" name=\"points\" step=\"1\" value=\"1\" min=\"1\">
<button class=\"button button-200 button-orange add-to-cart\" data-type=\"product\" data-id=\"";
// line 363
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 363, $this->source); })()), "id", [], "any", false, false, false, 363), "html", null, true);
echo "\" data-quantity=\"qty-for-product-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 363, $this->source); })()), "id", [], "any", false, false, false, 363), "html", null, true);
echo "\" data-subscribe=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 363, $this->source); })()), "isOnlySubscribable", [], "any", false, false, false, 363), "html", null, true);
echo "\">AJOUTER AU PANIER</button>
";
} else {
// line 365
echo " <input class=\"form-control modal-product-btn-amount\" id=\"qty-for-product-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 365, $this->source); })()), "id", [], "any", false, false, false, 365), "html", null, true);
echo "\" type=\"number\" name=\"points\" step=\"1\" value=\"1\" min=\"1\">
<button style=\"background-color: #f0632f;color: white;\" class=\"button dropdown-toggle\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">AJOUTER AU PANIER
</button>
<div class=\"dropdown-menu\" style=\"width: 300px;text-transform: uppercase;\">
";
// line 369
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", false, false, false, 369)) {
// line 370
echo " <a class=\"dropdown-item add-to-cart\" href=\"#\" data-type=\"product\" data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 370, $this->source); })()), "id", [], "any", false, false, false, 370), "html", null, true);
echo "\" data-quantity=\"qty-for-product-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 370, $this->source); })()), "id", [], "any", false, false, false, 370), "html", null, true);
echo "\">Sans abonnement</a>
";
}
// line 372
echo " ";
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", false, false, false, 372) || (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", false, false, false, 372) == 2))) {
// line 373
echo " <a class=\"dropdown-item add-to-cart\" href=\"#\" data-type=\"product\" data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 373, $this->source); })()), "id", [], "any", false, false, false, 373), "html", null, true);
echo "\" data-quantity=\"qty-for-product-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 373, $this->source); })()), "id", [], "any", false, false, false, 373), "html", null, true);
echo "\" data-subscribe=\"2\">Abonnement hebdomadaire</a>
";
}
// line 375
echo " ";
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", false, false, false, 375) || (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", false, false, false, 375) == 3))) {
// line 376
echo " <a class=\"dropdown-item add-to-cart\" href=\"#\" data-type=\"product\" data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 376, $this->source); })()), "id", [], "any", false, false, false, 376), "html", null, true);
echo "\" data-quantity=\"qty-for-product-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 376, $this->source); })()), "id", [], "any", false, false, false, 376), "html", null, true);
echo "\" data-subscribe=\"3\">Abonnement bi-mensuel</a>
";
}
// line 378
echo " ";
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", false, false, false, 378) || (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", false, false, false, 378) == 4))) {
// line 379
echo " <a class=\"dropdown-item add-to-cart\" href=\"#\" data-type=\"product\" data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 379, $this->source); })()), "id", [], "any", false, false, false, 379), "html", null, true);
echo "\" data-quantity=\"qty-for-product-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 379, $this->source); })()), "id", [], "any", false, false, false, 379), "html", null, true);
echo "\" data-subscribe=\"4\">Abonnement mensuel</a>
";
}
// line 381
echo " </div>
";
}
// line 383
echo " ";
} else {
// line 384
echo " <input class=\"form-control modal-product-btn-amount\" id=\"qty-for-product-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 384, $this->source); })()), "id", [], "any", false, false, false, 384), "html", null, true);
echo "\" type=\"number\" name=\"points\" step=\"1\" value=\"1\" min=\"1\">
<button class=\"button button-200 button-orange add-to-cart\" data-type=\"product\" data-id=\"";
// line 385
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 385, $this->source); })()), "id", [], "any", false, false, false, 385), "html", null, true);
echo "\" data-quantity=\"qty-for-product-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 385, $this->source); })()), "id", [], "any", false, false, false, 385), "html", null, true);
echo "\">AJOUTER AU PANIER</button>
";
}
// line 387
echo " </div>
";
}
// line 389
echo " <br>
</div>
<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=\"";
// line 391
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 391, $this->source); })()), "id", [], "any", false, false, false, 391), "html", null, true);
echo "\">AJOUTER AUX FAVORIS</button>
";
// line 392
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", [0 => (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 392, $this->source); })())], "method", false, false, false, 392)) {
// line 393
echo " <a href=\"";
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", false, false, false, 393)]), "html", null, true);
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>
";
}
// line 395
echo " ";
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", false, false, false, 395)) {
// line 396
echo " <p>
";
// line 397
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", false, false, false, 397);
echo "
";
// line 398
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", false, false, false, 398))) {
// line 399
echo " <br>
<a href=\"";
// line 400
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getImage", ["id" => twig_get_attribute($this->env, $this->source, 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.', 400, $this->source); })()), "nutritionFactImage", [], "any", false, false, false, 400), "id", [], "any", false, false, false, 400)]), "html", null, true);
echo "\" target=\"_blank\" >Voir la fiche nutritionnelle </a>
";
} else {
// line 402
echo " ";
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", false, false, false, 402))) {
// line 403
echo " <br>
<a href=\"";
// line 404
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", false, false, false, 404)]), "html", null, true);
echo "\" target=\"_blank\" >Voir la fiche nutritionnelle </a>
";
}
// line 406
echo " ";
}
// line 407
echo "
</p>
";
}
// line 410
echo " </div>
<hr>
";
// line 412
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", false, false, false, 412))) {
// line 413
echo " <h5 style=\"margin-bottom: 0px;\"><strong>Ingrédients</strong></h5>
";
// line 414
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", false, false, false, 414);
echo " ";
// line 415
echo " ";
}
// line 416
echo "
<h5 style=\"margin-bottom: 0px;\"><strong>Conservation</strong></h5>
<p>";
// line 418
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", false, false, false, 418)) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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", false, false, false, 418), "name", [], "any", false, false, false, 418), "html", null, true);
}
echo "</p>
";
// line 420
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", false, false, false, 420))) {
// line 421
echo " <h5 style=\"margin-bottom: 0px;\"><strong>Région</strong></h5><p>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 421, $this->source); })()), "region", [], "any", false, false, false, 421), "name", [], "any", false, false, false, 421), "html", null, true);
echo "</p>
";
} else {
// line 423
echo " <h5 style=\"margin-bottom: 0px;\"><strong>Région</strong></h5><p>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 423, $this->source); })()), "company", [], "any", false, false, false, 423), "origin", [], "any", false, false, false, 423), "html", null, true);
echo "</p>
";
}
// line 425
echo "
";
// line 426
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", false, false, false, 426)) {
// line 427
echo " <h5 style=\"margin-bottom: 0px;\"><strong>Recettes</strong></h5>
<p>";
// line 428
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", false, false, false, 428);
echo "</p>
";
}
// line 430
echo "
";
// line 431
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", false, false, false, 431)) {
// line 432
echo " <h5 style=\"margin-bottom: 0px;\"><strong>Conseils</strong></h5>
<p>";
// line 433
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", false, false, false, 433);
echo "</p>
";
}
// line 435
echo " <hr>
<div class=\"modal-product-complete-list\" style=\"padding-top: 0px;\">
<a href=\"";
// line 437
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("companyStore", ["urlname" => twig_get_attribute($this->env, $this->source, 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.', 437, $this->source); })()), "company", [], "any", false, false, false, 437), "UrlName", [], "any", false, false, false, 437), "id" => twig_get_attribute($this->env, $this->source, 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.', 437, $this->source); })()), "company", [], "any", false, false, false, 437), "id", [], "any", false, false, false, 437)]), "html", null, true);
echo "\">VOIR LES PRODUITS DU PRODUCTEUR</a>
<span class=\"modal-product-complete-list-arrow\"></span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
";
// line 447
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)) {
// line 448
echo "<section class=\"section-4 no-background\" style=\"margin-top: 0px;\">
<div class=\"row\" style=\"margin-left: 0px;margin-right: 0px;\">
<div class=\"col-sm-12 col-12\">
<div class=\"section-title section-title-line\">Produits suggérés</div>
<div class=\"products-wrap\" style=\"margin-right: auto; margin-left: auto;text-align: left;\">
";
// line 453
$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); })()), 0, 4);
// line 454
echo " ";
$this->loadTemplate("frontend/productMasonry.html.twig", "frontend/product.html.twig", 454)->displayBlock("masonryProducts", $context);
echo "
</div>
</div>
</div>
</section>
";
}
// line 460
echo "
<div class=\"section-title section-title-line m-t-10\">Continuer à magasiner dans ";
// line 461
echo twig_escape_filter($this->env, twig_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", false, false, false, 461), "html", null, true);
echo "</div>
";
// line 462
$context["forcedProductThumbnail"] = "300";
// line 463
$this->loadTemplate("frontend/category.html.twig", "frontend/product.html.twig", 463)->displayBlock("section_category_stats", $context);
echo "
";
// line 464
$this->loadTemplate("frontend/category.html.twig", "frontend/product.html.twig", 464)->displayBlock("section_masonry_products", $context);
echo "
<!--Main content-->
<div class=\"divider m-r-l-10\"></div>
<!--Sign in/ Registration modal-->
<div class=\"modal fade\" id=\"registrModal\" tabindex=\"-1\" role=\"dialog\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<ul class=\"nav nav-pills\" id=\"pills-tab\" role=\"tablist\">
<li class=\"nav-item\">
<a class=\"nav-link active\" id=\"pills-register-tab\" data-toggle=\"pill\"
href=\"#pills-register\"
role=\"tab\" aria-controls=\"pills-register\"
aria-selected=\"true\">S'inscrire</a>
</li>
<li class=\"nav-item\">
<a class=\"nav-link\" id=\"pills-login-tab\" data-toggle=\"pill\" href=\"#pills-login\"
role=\"tab\" aria-controls=\"pills-login\" aria-selected=\"false\">Se connecter</a>
</li>
</ul>
<div class=\"tab-content\" id=\"pills-tabContent\">
<div class=\"tab-pane fade show active\" id=\"pills-register\" role=\"tabpanel\"
aria-labelledby=\"pills-register-tab\">
<div class=\"container\">
<button type=\"button\" class=\"btn-registr-modal-colose\">
</button>
<div class=\"col-xl-10 col-lg-10 col-md-10 col-sm-12 col-12 m-0-auto\">
<div class=\"row\">
<p class=\"registr-top-text m--30\">Pour enregistrer des articles ou recevoir
des
bulletins d'information,
des
alertes ou
des recommandations - tout est gratuit.</p>
</div>
<div class=\"row\">
<button class=\"button button-300 button-fb\">
<span class=\"button-icon fb-icon\"><i class=\"fa fa-facebook\"
aria-hidden=\"true\"></i></span>
Se connecter avec Facebook
</button>
<button class=\"button button-300 button-g\">
<span class=\"button-icon g-icon\"><img
src=\"/assets/frontend/images/icons/google-icon.png\"
alt=\"\"></span>
Se connecter avec Google
</button>
</div>
<form id=\"registrForm\">
<div class=\"row\">
<h5 class=\"section-title-line\">OU</h5>
<input type=\"text\" placeholder=\"Prénom\"
class=\"form-control registr-form-control\">
<input type=\"email\" placeholder=\"Courriel\"
class=\"form-control registr-form-control\">
<span class=\"email-incorrect\">E-mail incorrect</span>
<input type=\"password\" placeholder=\"Mot de passe\"
class=\"form-control registr-form-control\">
<input type=\"password\" placeholder=\"Confirmer le mot de passe\"
class=\"form-control registr-form-control\">
</div>
<div class=\"row\">
<button class=\"button button-full-width button-orange\">S'INSCRIRE
</button>
</div>
</form>
<div class=\"row\">
<p class=\"registr-bottom-text\">
En cliquant sur S'inscrire, vous acceptez de respecter les <span><a
href=\"#\">Conditions
d'utilisation</a></span> et le <span><a
href=\"#\">Les Règlements</a></span>
concernant la confidentialité
de Maturin.
</p>
</div>
</div>
</div>
</div>
<div class=\"tab-pane fade\" id=\"pills-login\" role=\"tabpanel\"
aria-labelledby=\"pills-login-tab\">
<div class=\"container\">
<button type=\"button\" class=\"btn-registr-modal-close\">
</button>
<div class=\"col-xl-10 col-lg-10 col-md-10 col-sm-12 col-12 m-0-auto\">
<div class=\"row\">
<p class=\"registr-top-text m-0-auto\">Se connecter pour démarrer votre
boutique</p>
</div>
<div class=\"row\">
<button class=\"button button-300 button-fb\">
<span class=\"button-icon fb-icon\"><i class=\"fa fa-facebook\"
aria-hidden=\"true\"></i></span>
Se connecter avec Facebook
</button>
<button class=\"button button-300 button-g\">
<span class=\"button-icon g-icon\"><img
src=\"/assets/frontend/images/icons/google-icon.png\"
alt=\"\"></span>
Se connecter avec Google
</button>
</div>
<form id=\"loginForm\">
<div class=\"row\">
<h5 class=\"section-title-line\">OU</h5>
<input id=\"login-email\" type=\"email\" placeholder=\"Courriel\"
class=\"form-control registr-form-control\">
<span class=\"email-incorrect\">E-mail incorrect</span>
<input id=\"login-password\" type=\"password\" placeholder=\"Mot de passe\"
class=\"form-control registr-form-control\">
</div>
<div class=\"row rester-connecté\">
<div class=\"col-xl-6 col-lg-6 col-md-6 ol-sm-6 col-6\">
<div class=\"form-group form-check\">
<input type=\"checkbox\" class=\"form-check-input\"
id=\"exampleCheck1\">
<label class=\"form-check-label\" for=\"exampleCheck1\">Rester
connecté</label>
</div>
</div>
<div class=\"col-xl-6 col-lg-6 col-md-6 ol-sm-6 col-6 text-right no-padding-left\">
<a href=\"#\" class=\"orange-link\">Mot de passe oublié?</a>
</div>
</div>
<div class=\"row\">
<button class=\"button button-full-width button-orange\"
id=\"btn-se-connecter\">SE CONNECTER
</button>
</div>
</form>
<div class=\"row no-padding\">
<p class=\"registr-bottom-text\">
Vous n’avez pas de compte? <span><a
href=\"#\">Inscrivez-vous maintenant.</a></span>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Sign in/ Registration modal-->
<!-- Product Modal -->
<div class=\"modal fade\" id=\"previewModal\" tabindex=\"-1\" role=\"dialog\"
aria-labelledby=\"previewModalTitle\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<div class=\"row\">
<div class=\"col-6\">
<img class=\"modal-product-image\" src=\"images/product_8_preview.png\">
</div>
<div class=\"col-6\">
<div class=\"modal-product-title\">NOM DU PRODUIT</div>
<div class=\"modal-product-subtitle\">Nom de la compagnie</div>
<div class=\"modal-product-rating\">
<ul class=\"rating\" data-rating=\"4\">
<li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Super boring\"
class=\"rate starOn\"
id=\"1\"><i
class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
</li>
<li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Boring\"
class=\"rate starOn\"
id=\"2\"><i
class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
</li>
<li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Nice\"
class=\"rate starOn\"
id=\"3\"><i
class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
</li>
<li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Cool\"
class=\"rate starOn\"
id=\"4\"><i
class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
</li>
<li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Super cool!\"
class=\"rate star\"
id=\"5\"><i
class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
</li>
</ul>
<span>(12)</span>
</div>
<div class=\"modal-product-price\">9,95 CA\$</div>
<div class=\"modal-product-in-stock\">7 en inventaire</div>
<div class=\"modal-product-amount\">
<div class=\"modal-product-amount-title\">Quantité</div>
<div class=\"row\">
<div class=\"col-3 no-padding-right\">
<input class=\"form-control modal-product-btn-amount\" type=\"number\"
name=\"points\" step=\"1\" value=\"1\"
min=\"1\">
</div>
<div class=\"col-6 no-padding-left\">
<button class=\"modal-product-btn-add-to-cart button button-200 button-orange\">
AJOUTER AU PANIER
</button>
</div>
</div>
";
// line 676
echo " </div>
";
// line 688
echo " <div class=\"modal-product-complete-list\">
<a href=\"#\">VOIR LA FICHE DU PRODUIT
<span class=\"modal-product-complete-list-arrow\"> </span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Product Modal -->
<!--Modifiez vos paramètres-->
<div class=\"modal fade\" id=\"modifiezVosParamètres\" tabindex=\"-1\" role=\"dialog\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
<div class=\"modifiezVosParamètres\">
<div class=\"modifiezVosParamètres-title\">Modifiez vos paramètres</div>
<div class=\"modifiezVosParamètres-description\">Paramètrez votre région, la
devise et votre langue
que vous utilisez.
</div>
<div class=\"modifiezVosParamètres-select-wrapper\">
<form>
<div class=\"form-group\">
<label for=\"regionSelect\">Région</label>
<div class=\"select-wrapper\">
<select name=\"region\" class=\"form-control form-control-lg\"
id=\"regionSelect\">
<option value=\"Lidsa\">Lorem ipsum dolor sit amet
(Lidsa)
</option>
<option value=\"Ca\">Consectetur adipiscing elit (Ca)
</option>
<option value=\"Vsl\">Vivamus sagittis lacus (Vsl)
</option>
<option value=\"Qc\" selected>Québec (Qc)</option>
<option value=\"Pavm\">Placerat ac vitae metus (Pavm)
</option>
<option value=\"Pf\">Praesent faucibus magna sit amet
(Pf)
</option>
<option value=\"Sd\">Sollicitudin dignissim (Sd)</option>
<option value=\"Pd\">Pellentesque dictum leo non ex (Pd)
</option>
<option value=\"Fn\">Fringillaullamcorper nisi varius.
(Fn)
</option>
<option value=\"Ve\">Vestibulum euismod diam in (Ve)
</option>
<option value=\"Lf\">Lorem feugiat, (Lf)</option>
<option value=\"Sl\">Sed laoreet (Sl)</option>
<option value=\"Fv\">Felis volutpat. (Fv)</option>
<option value=\"Li\">Lorem ipsum dolor sit amet (li)
</option>
<option value=\"Cae\">Consectetur adipiscing elit (Cae)
</option>
</select>
</div>
</div>
<div class=\"form-group\">
<label for=\"currencySelect\">Devise</label>
<div class=\"select-wrapper\">
<select name=\"currency\" class=\"form-control form-control-lg\"
id=\"currencySelect\"
size=\"1\">
<option value=\"\$(CAD)\" selected>\$ Dollar canadien
(CAD)
</option>
<option value=\"\$(USD)\">\$ United States Dollar (USD)
</option>
<option value=\"€(EUR)\">€ Euro (EUR)</option>
</select>
</div>
</div>
<div class=\"form-group\">
<label for=\"langSelect\">Langue</label>
<div class=\"select-wrapper\">
<select name=\"lang\" class=\"form-control form-control-lg\"
id=\"langSelect\">
<option value=\"Français\" selected>Français</option>
<option value=\"English\">English</option>
</select>
</div>
</div>
<button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\"
class=\"btn button-black modifiezVosParamètres-btn-close\">
CANCEL
</button>
<button type=\"submit\"
class=\"btn button-orange modifiezVosParamètres-btn-save\">
SAVE
</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Modifiez vos paramètres-->
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "frontend/product.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend/base.html.twig' %}
{% block JS %}
<script src=\"https://use.fontawesome.com/874ad7ad81.js\"></script>
<!-- Menu principale(mobile)-->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src=\"https://code.jquery.com/jquery-3.1.1.min.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.photoswipe-global.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/photoswipe.min.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/photoswipe-ui-default.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.photoswipe-global.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js\"
integrity=\"sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ\"
crossorigin=\"anonymous\"></script>
<script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js\"
integrity=\"sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm\"
crossorigin=\"anonymous\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/owl.carousel.min.js\"></script>
<script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.min.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.mmenu.js\"></script>
<script src=\"https://unpkg.com/infinite-scroll@3/dist/infinite-scroll.pkgd.min.js\"></script>
<script type=\"text/javascript\">
\$(function() {
\$('#menu').mmenu();
\$('.endless_container').infiniteScroll({
path: '.page-next',
append: '.endless_page',
history: false,
});
\$('.endless_container').on( 'request.infiniteScroll', function( event, path, fetchPromise ) {
console.log(`Loading page: \${path}`);
\$('#product-loader').show();
});
\$('.endless_container').on( 'append.infiniteScroll', function( event, body, path, items, response ) {
console.log(`Appended \${items.length} items on \${path}`);
\$('#product-loader').hide();
});
});
</script>
{#
{% if global.displayStarterKits %}
<script src=\"/assets/shared/plugins/slick-modal-css3-powered-popups/src/demos/js/carousel_slider.js\"></script>
<script src=\"/assets/shared/plugins/slick-modal-css3-powered-popups/src/plugin/js/jquery.slickmodal.min.js\"></script>
<script type=\"text/javascript\">
\$(function() {
\$('.carouselSlider').SlickModals({
restrict_cookieDays: '1',
restrict_showAfterVisits: 1,
restrict_showAfterVisitsResetWhenShown: false,
popup_type: 'exit',
popup_animation: 'zoomIn',
popup_css: {
'width': '480px',
'height': {% if global.starterKits | length > 2 %}'480px'{% else %}'400px'{% endif %},
'background': '#fff',
'padding': '40px',
'margin': '0'
},
overlay_css: {
'background': 'rgba(0,0,0,0.3)'
},
mobile_breakpoint: '480px',
mobile_position: 'center',
mobile_css: {
'width': '100%',
'height': {% if global.starterKits | length > 2 %}'480px'{% else %}'400px'{% endif %},
'background': '#fff',
'padding': '30px',
'margin': '0'
},
callback_afterVisible: function () {
sm_carouselSlider('.carouselSlider');
}
});
});
</script>
{% endif %}
#}
<script type=\"text/javascript\" src=\"/assets/frontend/js/main.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/registration.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/region-currency-lang-select.js\"></script>
<script type=\"text/javascript\" src=\"/assets/frontend/js/custom-select.js\"></script>
<script src=\"{{ asset('build/frontend/category.js') }}\"></script>
{% endblock %}
{% block title %}{{product.name}}, {{product.brandName}} | {{product.company.name}}{% endblock %}
{% block metaDescription %}{{product.description | striptags | slice(0, 160) |raw }}{% endblock %}
{% block CSS %}
{{ block('CSS', 'frontend/category.html.twig') }}
<link href=\"/assets/frontend/css/jquery.mmenu.css\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
<!-- Bootstrap CSS -->
<link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css\"
integrity=\"sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4\" crossorigin=\"anonymous\">
<link rel=\"stylesheet\" href=\"/assets/frontend/css/owl.carousel.min.css\">
<link href=\"/assets/frontend/css/styles.css?ver={{global.cssVersion}}\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
<!-- Add the slick-theme.css if you want default styling -->
<link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.css\"/>
<!-- Add the slick-theme.css if you want default styling -->
<link rel=\"stylesheet\" type=\"text/css\"
href=\"https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css\"/>
<!-- Add photoswipe -->
<link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/frontend/css/photoswipe.css\"/>
<link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/frontend/css/default-skin.css\"/>
<style>
.product-btn-like {
right: 25px!important;
}
</style>
{% endblock %}
{% block content %}
<div class=\"product\" id=\"product\">
<div class=\"product-info\" style=\"padding-bottom: 20px;\">
<div class=\"row\">
<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\">
<div class=\"\">
<div class=\"row\">
<div id=\"product-thumbnail1\" class=\"col-sm-12\" style=\"padding-bottom: 10px;text-align: center;overflow:hidden;\">
<img src=\"{{path('getImageAsThumb', {'id': product.mainImage.Id, 'height': '600', 'width': '600'})}}\" alt=\"product name\">
</div>
</div>
<div class=\"row\">
{#
<ul class=\"gallery-thumb\">
{% for img in product.images %}
<li>
<a href=\"#product-thumbnail-{{img.id}}\">
<img src=\"{{path('getImageAsCroppedThumb', {'id': img.id, 'height': '100', 'width': '100'})}} \" alt=\"product name\">
</a>
</li>
{% endfor %}
</ul>
#}
<div class=\"col-md-12\" {% if product.images | length <= 1 %}style=\"display:none;\"{% endif %}>
<div class=\"slider-wrap\">
<div class=\"slider-naw-container\">
<!--<div class=\"slider-nav\">-->
<!--<div class=\"prev-slider-products-categories\"><i class=\"fa fa-angle-left\" aria-hidden=\"true\"></i></div>-->
<!--<div class=\"next-slider-products-categories\"><i class=\"fa fa-angle-right\" aria-hidden=\"true\"></i></div>-->
<!--</div>-->
</div>
<div class=\"photoswipe-gallery\" data-pswp-uid=\"1\">
<div id=\"categories-gallery\" class=\"categories-slider owl-carousel product-gallery\">
<!--<div id=\"categories-gallery\" class=\"categories-slider owl-carousel\">-->
{% for image in product.images %}
<a class=\"categories-slider__item item\"
href=\"{{path('getImage', {'id': image.Id})}}\" data-size=\"{{image.Width}}x{{image.Height}}\"
data-med=\"{{path('getImage', {'id': image.Id})}}\"
data-med-size=\"{{image.Width}}x{{image.Height}}\" data-author=\"\">
<img src=\"{{path('getImageAsCroppedThumb', {'id': image.Id, 'height': '100', 'width': '100' })}}\" alt=\"\">
<figure style=\"display:none;\">{{image.description}}</figure>
</a>
{% endfor %}
</div>
<div class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">
<!-- Background of PhotoSwipe.
It's a separate element, as animating opacity is faster than rgba(). -->
<div class=\"pswp__bg\"></div>
<!-- Slides wrapper with overflow:hidden. -->
<div class=\"pswp__scroll-wrap\">
<!-- Container that holds slides. PhotoSwipe keeps only 3 slides in DOM to save memory. -->
<!-- don't modify these 3 pswp__item elements, data is added later on. -->
<div class=\"pswp__container\">
<div class=\"pswp__item\"></div>
<div class=\"pswp__item\"></div>
<div class=\"pswp__item\"></div>
</div>
<!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
<div class=\"pswp__ui pswp__ui--hidden\">
<div class=\"pswp__top-bar\">
<!-- Controls are self-explanatory. Order can be changed. -->
<div class=\"pswp__counter\"></div>
<button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"></button>
<button class=\"pswp__button pswp__button--share\" title=\"Share\"></button>
<button class=\"pswp__button pswp__button--fs\" title=\"Toggle fullscreen\"></button>
<button class=\"pswp__button pswp__button--zoom\" title=\"Zoom in/out\"></button>
<!-- Preloader demo https://codepen.io/dimsemenov/pen/yyBWoR -->
<!-- element will get class pswp__preloader--active when preloader is running -->
<div class=\"pswp__preloader\">
<div class=\"pswp__preloader__icn\">
<div class=\"pswp__preloader__cut\">
<div class=\"pswp__preloader__donut\"></div>
</div>
</div>
</div>
</div>
<div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">
<div class=\"pswp__share-tooltip\"></div>
</div>
<button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous (arrow left)\">
</button>
<button class=\"pswp__button pswp__button--arrow--right\" title=\"Next (arrow right)\">
</button>
<div class=\"pswp__caption\">
<div class=\"pswp__caption__center\"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12\">
<div class=\"product-board\">
<p class=\"product-subtitle-brand\">
<ul class=\"breadcrumb breadcrump-product\">
{% for b in product.breadCrumpTrail | reverse %}
<li><a href=\"/categorie{{b.fullUrlPath}}\">{{b.name}}</a></li>
{% endfor %}
</ul>
</p>
<p class=\"section-title section-title-left product-big-title\" {% if product.isDisplayedInAssociationOnly and global.associationUserIsBrowsing == false %} style=\"color: red !important;\" {% endif %}>
{{product.name}}
{% if product.alimentsDuQuebec %}
{% if product.alimentsDuQuebecCertification == \"0\" %}
<img src=\"/assets/frontend/images/alimentsDuQuebec/basic.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
{% elseif product.alimentsDuQuebecCertification == \"1\" %}
<img src=\"/assets/frontend/images/alimentsDuQuebec/prepared.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
{% elseif product.alimentsDuQuebecCertification == \"2\" %}
<img src=\"/assets/frontend/images/alimentsDuQuebec/bio_basic.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
{% elseif product.alimentsDuQuebecCertification == \"3\" %}
<img src=\"/assets/frontend/images/alimentsDuQuebec/bio_prepared.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
{% else %}
<img src=\"/assets/frontend/images/alimentsDuQuebec/basic.png\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
{% endif %}
{% endif %}
{% if product.isPrixLaureat %}
<img src=\"/assets/frontend/images/LOGO-PI-2020-Laureat-FR.jpg\" style=\"margin-left: 20px;float: right; max-height: 100px;\">
{% endif %}
</p>
<div class=\"product-show-details\">
{% if product.brandName %}
<p class=\"product-subtitle-brand\">
{{product.brandName}}
</p>
{% endif %}
<p class=\"product-subtitle\">
<a href=\"{{path('companyStore', {'urlname': product.company.urlname, 'id':product.company.id })}}\">
{{product.company.name}}
</a>
</p>
{% if product.certifications | length > 0 %}
{% for certification in product.certifications %}
<p class=\"product-subtitle-certification\">{{certification.name}}</p>
{% endfor %}
{% endif %}
<div class=\"product-price\">
{% if product.hasDiscount %}
<strike>{{product.displayPrice}}</strike> {{product.displayPrice(true)}}
{% else %}
{# {{product.displayPrice}} #}
{{ product.getPriceUnitStandard }}
<br>
<span style=\"font-size: 12px;color: gray;\">
{% if product.getUnitAmount and product.isBoxOfProducts == false and product.getPricePer100gramme %}
{{product.getPricePer100gramme}}
{% endif %}
</span>
{% endif %}
{% if product.frontpageVariations %}
<br/>
<h5 class=\"font-weight-bold\" style=\"color:darkgray;\">
Autre(s) format(s)
</h5>
<ul style=\"color: darkgray; font-size: small;\">
{% for variation in product.frontpageVariations %}
<li><a href=\"{{variation.fullUrl}}\">{{variation.nameWithDetails}}</a></li>
{% endfor %}
</ul>
{% endif %}
</div>
<p class=\"product-values\">{{ product.isShippedByMaturin ? '' : '' }}</p>
{% if product.isShippedByMaturin %}
{% if product.qtyReadyToShip > 0 and product.isSalable %}
<p class=\"product-values\">{#{{product.qtyReadyToShip}}#} Disponible</p>
{% else %}
<p class=\"product-values\">Inventaire épuisé</p>
{% endif %}
{% else %}
{% if global.getAssociationUserIsBrowsing %}
<p class=\"product-values\">*** Cueillette au marché ***</p>
{% else %}
{% if independentDelivery %}<p class=\"product-values\">***Livraison indépendante***</p>{% endif %}
{% endif %}
{% endif %}
{% if product.isShippedByMaturin %}
<img src=\"/images/maturinshipping.png\" alt=\"Livraison par Maturin\" title=\"Livraison par Maturin\">
Préparation par Maturin<br>
{% if product.qtyReadyToShip > 0 %}
{% set route = global.estimationShippingRoute(product) %}
{% if route['route'] is not null and not route['route'].isPuro %}
<span class=\"product-values\">
Recevez-le {{route['date'] | localizeddate('medium', 'none', null, '-7', 'EEEE d MMMM')}} entre 12h et 21h
</span>
{% else %}
<span class=\"product-values\">
Recevez-le entre {{route['date'] | localizeddate('medium', 'none', null, '-7', 'EEEE d MMMM')}}
et {{global.add48hToDate(route['date']) | localizeddate('medium', 'none', null, '-7', 'EEEE d MMMM')}} entre 12h et 21h
</span>
{% endif %}
{% if product.isJustInTime %}
<br>
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.
<br>
{% endif %}
{% endif %}
<br>
<br>
{% else %}
<ul>
{% for delivery in product.deliveryMethods %}
<li style=\"list-style-type: none;\">{{delivery.displayPrice}}</li>
{% endfor %}
</ul>
{% endif %}
</div>
<div class=\"product-quantity\">
{% if product.isSalable %}
<p class=\"product-quantity-title\">Quantité</p>
<div class=\"product-quantity-value\">
{% if product.isSubscribable %}
{% if product.isOnlySubscribableToType is not empty %}
<input class=\"form-control modal-product-btn-amount\" id=\"qty-for-product-{{product.id}}\" type=\"number\" name=\"points\" step=\"1\" value=\"1\" min=\"1\">
<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>
{% else %}
<input class=\"form-control modal-product-btn-amount\" id=\"qty-for-product-{{product.id}}\" type=\"number\" name=\"points\" step=\"1\" value=\"1\" min=\"1\">
<button style=\"background-color: #f0632f;color: white;\" class=\"button dropdown-toggle\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">AJOUTER AU PANIER
</button>
<div class=\"dropdown-menu\" style=\"width: 300px;text-transform: uppercase;\">
{% if not product.isOnlySubscribable %}
<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>
{% endif %}
{% if not product.isOnlySubscribableToType or product.isOnlySubscribableToType == 2 %}
<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>
{% endif %}
{% if not product.isOnlySubscribableToType or product.isOnlySubscribableToType == 3 %}
<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>
{% endif %}
{% if not product.isOnlySubscribableToType or product.isOnlySubscribableToType == 4 %}
<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>
{% endif %}
</div>
{% endif %}
{% else %}
<input class=\"form-control modal-product-btn-amount\" id=\"qty-for-product-{{product.id}}\" type=\"number\" name=\"points\" step=\"1\" value=\"1\" min=\"1\">
<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>
{% endif %}
</div>
{% endif %}
<br>
</div>
<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>
{% if global.isAllowedToModify(product) %}
<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>
{% endif %}
{% if product.description %}
<p>
{{product.description | raw}}
{% if product.nutritionFactImage is not empty %}
<br>
<a href=\"{{path('getImage', {'id': product.nutritionFactImage.id})}}\" target=\"_blank\" >Voir la fiche nutritionnelle </a>
{% else %}
{% if product.nutritionFact is not empty %}
<br>
<a href=\"{{path('getNutritionFactImage', {'id': product.id})}}\" target=\"_blank\" >Voir la fiche nutritionnelle </a>
{% endif %}
{% endif %}
</p>
{% endif %}
</div>
<hr>
{% if product.listOfIngredients is not empty %}
<h5 style=\"margin-bottom: 0px;\"><strong>Ingrédients</strong></h5>
{{product.listOfIngredients |raw }} {#| striptags('<b><i><ul><li><a><ol><strong><em>') | raw }} #}
{% endif %}
<h5 style=\"margin-bottom: 0px;\"><strong>Conservation</strong></h5>
<p>{% if product.conservation %}{{product.conservation.name}}{% endif %}</p>
{% if product.region is not empty %}
<h5 style=\"margin-bottom: 0px;\"><strong>Région</strong></h5><p>{{product.region.name}}</p>
{% else %}
<h5 style=\"margin-bottom: 0px;\"><strong>Région</strong></h5><p>{{product.company.origin}}</p>
{% endif %}
{% if product.recipes %}
<h5 style=\"margin-bottom: 0px;\"><strong>Recettes</strong></h5>
<p>{{product.recipes | raw}}</p>
{% endif %}
{% if product.advices %}
<h5 style=\"margin-bottom: 0px;\"><strong>Conseils</strong></h5>
<p>{{product.advices | raw}}</p>
{% endif %}
<hr>
<div class=\"modal-product-complete-list\" style=\"padding-top: 0px;\">
<a href=\"{{path('companyStore', {'urlname': product.company.UrlName, 'id': product.company.id})}}\">VOIR LES PRODUITS DU PRODUCTEUR</a>
<span class=\"modal-product-complete-list-arrow\"></span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% if productsUserMayLike | length > 0 %}
<section class=\"section-4 no-background\" style=\"margin-top: 0px;\">
<div class=\"row\" style=\"margin-left: 0px;margin-right: 0px;\">
<div class=\"col-sm-12 col-12\">
<div class=\"section-title section-title-line\">Produits suggérés</div>
<div class=\"products-wrap\" style=\"margin-right: auto; margin-left: auto;text-align: left;\">
{% set masonryProducts = productsUserMayLike | slice(0, 4) %}
{{block('masonryProducts', 'frontend/productMasonry.html.twig')}}
</div>
</div>
</div>
</section>
{% endif %}
<div class=\"section-title section-title-line m-t-10\">Continuer à magasiner dans {{categoryToUse.name}}</div>
{% set forcedProductThumbnail = '300' %}
{{ block('section_category_stats', 'frontend/category.html.twig') }}
{{ block('section_masonry_products', 'frontend/category.html.twig') }}
<!--Main content-->
<div class=\"divider m-r-l-10\"></div>
<!--Sign in/ Registration modal-->
<div class=\"modal fade\" id=\"registrModal\" tabindex=\"-1\" role=\"dialog\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<ul class=\"nav nav-pills\" id=\"pills-tab\" role=\"tablist\">
<li class=\"nav-item\">
<a class=\"nav-link active\" id=\"pills-register-tab\" data-toggle=\"pill\"
href=\"#pills-register\"
role=\"tab\" aria-controls=\"pills-register\"
aria-selected=\"true\">S'inscrire</a>
</li>
<li class=\"nav-item\">
<a class=\"nav-link\" id=\"pills-login-tab\" data-toggle=\"pill\" href=\"#pills-login\"
role=\"tab\" aria-controls=\"pills-login\" aria-selected=\"false\">Se connecter</a>
</li>
</ul>
<div class=\"tab-content\" id=\"pills-tabContent\">
<div class=\"tab-pane fade show active\" id=\"pills-register\" role=\"tabpanel\"
aria-labelledby=\"pills-register-tab\">
<div class=\"container\">
<button type=\"button\" class=\"btn-registr-modal-colose\">
</button>
<div class=\"col-xl-10 col-lg-10 col-md-10 col-sm-12 col-12 m-0-auto\">
<div class=\"row\">
<p class=\"registr-top-text m--30\">Pour enregistrer des articles ou recevoir
des
bulletins d'information,
des
alertes ou
des recommandations - tout est gratuit.</p>
</div>
<div class=\"row\">
<button class=\"button button-300 button-fb\">
<span class=\"button-icon fb-icon\"><i class=\"fa fa-facebook\"
aria-hidden=\"true\"></i></span>
Se connecter avec Facebook
</button>
<button class=\"button button-300 button-g\">
<span class=\"button-icon g-icon\"><img
src=\"/assets/frontend/images/icons/google-icon.png\"
alt=\"\"></span>
Se connecter avec Google
</button>
</div>
<form id=\"registrForm\">
<div class=\"row\">
<h5 class=\"section-title-line\">OU</h5>
<input type=\"text\" placeholder=\"Prénom\"
class=\"form-control registr-form-control\">
<input type=\"email\" placeholder=\"Courriel\"
class=\"form-control registr-form-control\">
<span class=\"email-incorrect\">E-mail incorrect</span>
<input type=\"password\" placeholder=\"Mot de passe\"
class=\"form-control registr-form-control\">
<input type=\"password\" placeholder=\"Confirmer le mot de passe\"
class=\"form-control registr-form-control\">
</div>
<div class=\"row\">
<button class=\"button button-full-width button-orange\">S'INSCRIRE
</button>
</div>
</form>
<div class=\"row\">
<p class=\"registr-bottom-text\">
En cliquant sur S'inscrire, vous acceptez de respecter les <span><a
href=\"#\">Conditions
d'utilisation</a></span> et le <span><a
href=\"#\">Les Règlements</a></span>
concernant la confidentialité
de Maturin.
</p>
</div>
</div>
</div>
</div>
<div class=\"tab-pane fade\" id=\"pills-login\" role=\"tabpanel\"
aria-labelledby=\"pills-login-tab\">
<div class=\"container\">
<button type=\"button\" class=\"btn-registr-modal-close\">
</button>
<div class=\"col-xl-10 col-lg-10 col-md-10 col-sm-12 col-12 m-0-auto\">
<div class=\"row\">
<p class=\"registr-top-text m-0-auto\">Se connecter pour démarrer votre
boutique</p>
</div>
<div class=\"row\">
<button class=\"button button-300 button-fb\">
<span class=\"button-icon fb-icon\"><i class=\"fa fa-facebook\"
aria-hidden=\"true\"></i></span>
Se connecter avec Facebook
</button>
<button class=\"button button-300 button-g\">
<span class=\"button-icon g-icon\"><img
src=\"/assets/frontend/images/icons/google-icon.png\"
alt=\"\"></span>
Se connecter avec Google
</button>
</div>
<form id=\"loginForm\">
<div class=\"row\">
<h5 class=\"section-title-line\">OU</h5>
<input id=\"login-email\" type=\"email\" placeholder=\"Courriel\"
class=\"form-control registr-form-control\">
<span class=\"email-incorrect\">E-mail incorrect</span>
<input id=\"login-password\" type=\"password\" placeholder=\"Mot de passe\"
class=\"form-control registr-form-control\">
</div>
<div class=\"row rester-connecté\">
<div class=\"col-xl-6 col-lg-6 col-md-6 ol-sm-6 col-6\">
<div class=\"form-group form-check\">
<input type=\"checkbox\" class=\"form-check-input\"
id=\"exampleCheck1\">
<label class=\"form-check-label\" for=\"exampleCheck1\">Rester
connecté</label>
</div>
</div>
<div class=\"col-xl-6 col-lg-6 col-md-6 ol-sm-6 col-6 text-right no-padding-left\">
<a href=\"#\" class=\"orange-link\">Mot de passe oublié?</a>
</div>
</div>
<div class=\"row\">
<button class=\"button button-full-width button-orange\"
id=\"btn-se-connecter\">SE CONNECTER
</button>
</div>
</form>
<div class=\"row no-padding\">
<p class=\"registr-bottom-text\">
Vous n’avez pas de compte? <span><a
href=\"#\">Inscrivez-vous maintenant.</a></span>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Sign in/ Registration modal-->
<!-- Product Modal -->
<div class=\"modal fade\" id=\"previewModal\" tabindex=\"-1\" role=\"dialog\"
aria-labelledby=\"previewModalTitle\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<div class=\"row\">
<div class=\"col-6\">
<img class=\"modal-product-image\" src=\"images/product_8_preview.png\">
</div>
<div class=\"col-6\">
<div class=\"modal-product-title\">NOM DU PRODUIT</div>
<div class=\"modal-product-subtitle\">Nom de la compagnie</div>
<div class=\"modal-product-rating\">
<ul class=\"rating\" data-rating=\"4\">
<li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Super boring\"
class=\"rate starOn\"
id=\"1\"><i
class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
</li>
<li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Boring\"
class=\"rate starOn\"
id=\"2\"><i
class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
</li>
<li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Nice\"
class=\"rate starOn\"
id=\"3\"><i
class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
</li>
<li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Cool\"
class=\"rate starOn\"
id=\"4\"><i
class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
</li>
<li class=\"Arad5fQEnoZlv9E59d\"><a title=\"Super cool!\"
class=\"rate star\"
id=\"5\"><i
class=\"fa fa-star\" aria-hidden=\"true\"></i></a>
</li>
</ul>
<span>(12)</span>
</div>
<div class=\"modal-product-price\">9,95 CA\$</div>
<div class=\"modal-product-in-stock\">7 en inventaire</div>
<div class=\"modal-product-amount\">
<div class=\"modal-product-amount-title\">Quantité</div>
<div class=\"row\">
<div class=\"col-3 no-padding-right\">
<input class=\"form-control modal-product-btn-amount\" type=\"number\"
name=\"points\" step=\"1\" value=\"1\"
min=\"1\">
</div>
<div class=\"col-6 no-padding-left\">
<button class=\"modal-product-btn-add-to-cart button button-200 button-orange\">
AJOUTER AU PANIER
</button>
</div>
</div>
{#
<button class=\"modal-product-btn-product-list button button-200 button-black\">
LISTE DE SOUHAIT
</button>
#}
</div>
{#
<div class=\"modal-product-social-icons\">
<span class=\"modal-product-social-icons-title\">Partagez:</span>
<i class=\"fa fa-facebook\" aria-hidden=\"true\"></i>
<i class=\"fa fa-twitter\" aria-hidden=\"true\"></i>
<i class=\"fa fa-pinterest-p\" aria-hidden=\"true\"></i>
<i class=\"fa fa-google-plus\" aria-hidden=\"true\"></i>
<p class=\"modal-product-social-icon-email\"></p>
</div>
#}
<div class=\"modal-product-complete-list\">
<a href=\"#\">VOIR LA FICHE DU PRODUIT
<span class=\"modal-product-complete-list-arrow\"> </span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Product Modal -->
<!--Modifiez vos paramètres-->
<div class=\"modal fade\" id=\"modifiezVosParamètres\" tabindex=\"-1\" role=\"dialog\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
<div class=\"modifiezVosParamètres\">
<div class=\"modifiezVosParamètres-title\">Modifiez vos paramètres</div>
<div class=\"modifiezVosParamètres-description\">Paramètrez votre région, la
devise et votre langue
que vous utilisez.
</div>
<div class=\"modifiezVosParamètres-select-wrapper\">
<form>
<div class=\"form-group\">
<label for=\"regionSelect\">Région</label>
<div class=\"select-wrapper\">
<select name=\"region\" class=\"form-control form-control-lg\"
id=\"regionSelect\">
<option value=\"Lidsa\">Lorem ipsum dolor sit amet
(Lidsa)
</option>
<option value=\"Ca\">Consectetur adipiscing elit (Ca)
</option>
<option value=\"Vsl\">Vivamus sagittis lacus (Vsl)
</option>
<option value=\"Qc\" selected>Québec (Qc)</option>
<option value=\"Pavm\">Placerat ac vitae metus (Pavm)
</option>
<option value=\"Pf\">Praesent faucibus magna sit amet
(Pf)
</option>
<option value=\"Sd\">Sollicitudin dignissim (Sd)</option>
<option value=\"Pd\">Pellentesque dictum leo non ex (Pd)
</option>
<option value=\"Fn\">Fringillaullamcorper nisi varius.
(Fn)
</option>
<option value=\"Ve\">Vestibulum euismod diam in (Ve)
</option>
<option value=\"Lf\">Lorem feugiat, (Lf)</option>
<option value=\"Sl\">Sed laoreet (Sl)</option>
<option value=\"Fv\">Felis volutpat. (Fv)</option>
<option value=\"Li\">Lorem ipsum dolor sit amet (li)
</option>
<option value=\"Cae\">Consectetur adipiscing elit (Cae)
</option>
</select>
</div>
</div>
<div class=\"form-group\">
<label for=\"currencySelect\">Devise</label>
<div class=\"select-wrapper\">
<select name=\"currency\" class=\"form-control form-control-lg\"
id=\"currencySelect\"
size=\"1\">
<option value=\"\$(CAD)\" selected>\$ Dollar canadien
(CAD)
</option>
<option value=\"\$(USD)\">\$ United States Dollar (USD)
</option>
<option value=\"€(EUR)\">€ Euro (EUR)</option>
</select>
</div>
</div>
<div class=\"form-group\">
<label for=\"langSelect\">Langue</label>
<div class=\"select-wrapper\">
<select name=\"lang\" class=\"form-control form-control-lg\"
id=\"langSelect\">
<option value=\"Français\" selected>Français</option>
<option value=\"English\">English</option>
</select>
</div>
</div>
<button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\"
class=\"btn button-black modifiezVosParamètres-btn-close\">
CANCEL
</button>
<button type=\"submit\"
class=\"btn button-orange modifiezVosParamètres-btn-save\">
SAVE
</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Modifiez vos paramètres-->
</div>
</div>
</div>
{% endblock %}
", "frontend/product.html.twig", "/var/www/html/Markego/templates/frontend/product.html.twig");
}
}