<?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;
/* FrontBundle/Page/shop2.html.twig */
class __TwigTemplate_d2ee073e7fae0e742c6889393973953a603927d891bf71e59fb3bfc46fed8907 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'description' => [$this, 'block_description'],
'google' => [$this, 'block_google'],
'extra_class' => [$this, 'block_extra_class'],
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "FrontBundle/layout_shop.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", "FrontBundle/Page/shop2.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "FrontBundle/Page/shop2.html.twig"));
$this->parent = $this->loadTemplate("FrontBundle/layout_shop.html.twig", "FrontBundle/Page/shop2.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 3
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, (isset($context["app_sitename"]) || array_key_exists("app_sitename", $context) ? $context["app_sitename"] : (function () { throw new RuntimeError('Variable "app_sitename" does not exist.', 3, $this->source); })()), "html", null, true);
echo " - ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 3, $this->source); })()), "metaTitle", [], "any", false, false, false, 3), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 4
public function block_description($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", "description"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 4, $this->source); })()), "metaDescription", [], "any", false, false, false, 4), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
public function block_google($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", "google"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "google"));
// line 6
echo "<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=AW-11336737773\">
</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-11336737773');
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
public function block_extra_class($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", "extra_class"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extra_class"));
echo "stack";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 22
public function block_stylesheets($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", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 23
echo " <link href=\"/front/css/owl.carousel.min.css\" rel=\"stylesheet\">
<link href=\"/front/css/owl.theme.default.min.css\" rel=\"stylesheet\">
<link href=\"/front/css/nouislider.css\" rel=\"stylesheet\">
<style>
.bon-cadeau .options,
.bon-cadeau .options.small {
display: none;
}
/* ETOILES */
#bon-cadeau-results .item {
position: relative;
}
#bon-cadeau-12::before,
#bon-cadeau-28::before,
#bon-cadeau-17::before,
#bon-cadeau-31::before,
#bon-cadeau-25::before,
#bon-cadeau-22::before {
content: url(/front/img/stars3.svg);
position: absolute;
left: 42px;
top: 16px;
z-index: -1;
}
#bon-cadeau-12::after,
#bon-cadeau-28::after,
#bon-cadeau-17::after,
#bon-cadeau-31::after,
#bon-cadeau-25::after,
#bon-cadeau-22::after {
content: url(/front/img/stars4.svg);
position: absolute;
right: 22px;
bottom: 110px;
z-index: -1;
}
#bon-cadeau-14::before,
#bon-cadeau-30::before,
#bon-cadeau-16::before,
#bon-cadeau-27::before,
#bon-cadeau-33::before,
#bon-cadeau-19::before {
content: url(/front/img/stars5.svg);
position: absolute;
right: 55px;
top: 116px;
z-index: -1;
}
#bon-cadeau-20::before,
#bon-cadeau-34::before {
content: url(/front/img/stars1.svg);
position: absolute;
left: -46px;
bottom: 77px;
}
/* FIN ETOILES */
#bon-cadeau-10-plus {
margin-top: 1px;
}
/**
override footer cause bug
*/
footer .bottom{
height: 60px;
margin-top: -10px;
display: flex;
}
@media screen and (min-width: 1400px){
footer .bottom .col-md-8 ul {
height: 100%;
display: grid;
grid-auto-flow: column;
align-items: center;
}
}
@media screen and (min-width: 458px) {
footer .bottom .col-md-8 ul {
height: 100%;
display: block;
grid-auto-flow: revert;
}
}
.full-bar {
width: 100%;
}
.bon-cadeau{
cursor: pointer;
}
.bon-cadeau:last-child{
cursor: revert;
}
/* Ciblez .bon-cadeau dans .shop_bons_section1 et .shop_bons_section2 pour l'état par défaut */
.page_shop .shop_bons_section1 .bon-cadeau::before,
.page_shop .shop_bons_section2 .bon-cadeau::before {
border: 1px solid transparent;
transition: border 0.3s ease-in-out, transform 0.3s ease-in-out;
transform: scale(1);
height: 100%;
}
/* Ciblez .bon-cadeau dans .shop_bons_section1 et .shop_bons_section2 pour l'état de survol */
.page_shop .shop_bons_section1 .bon-cadeau:hover::before,
.page_shop .shop_bons_section2 .bon-cadeau:hover::before {
border: 1px solid var(--red);
transform: scale(1.05);
}
/* Annuler les transformations pour les éléments avec la classe .last-item-class */
.page_shop .shop_bons_section1 .last-item-class .bon-cadeau::before,
.page_shop .shop_bons_section2 .last-item-class .bon-cadeau::before,
.page_shop .shop_bons_section1 .last-item-class .bon-cadeau:hover::before,
.page_shop .shop_bons_section2 .last-item-class .bon-cadeau:hover::before {
border: 1px solid transparent !important;
transform: scale(1) !important;
transition: none !important;
}
.options {
/* position: absolute;
background-color: #faf5f5;*/
padding-left: 15px;
margin-left: -15px;
border-radius: 30px;
padding-bottom: 10px;
cursor: pointer;
}
.options li {
background-color: #FFFFFF;
border-radius: 15px;
padding: 5px 0px;
margin: 5px;
width: calc(25% - -59px);
float: left;
position: relative;
height: 74px;
border: 1px solid #FFFFFF;
}
.options label {
border-bottom: 2px solid var(--red);
display: table;
padding: 0px 0px 5px 0px;
width: auto;
margin-bottom: 10px;
}
.option-content {
border-radius: 14px;
background: #931517;
display: flex;
justify-content: center;
align-items: center;
width: 119px;
height: 19px;
flex-shrink: 0;
margin-top: 10px;
color: #fff;
padding: 0.5rem 1rem;
font-size: 13px;
font-weight: 600;
margin-bottom: 4px;
}
.options ul {
background-color: transparent;
border-radius: 30px;
padding: 0px !important;
margin: 0px !important;
float: left;
width: 100%;
list-style: none;
}
.options .title {
max-width: 92%;
transform: translateX(4.2%);
margin: 0;
font-size: 11px;
font-weight: normal;
text-align: center;
padding: 0;
line-height: 14px;
min-height: 33px;
}
.options ul li {
width: calc(31% - -59px);
}
.options ul li::before {
content: '';
}
.items-slider .item .options .price {
margin: 3px 0 0 0;
font-size: 14px;
font-weight: normal;
color: var(--red);
text-align: center;
width: 100%;
padding: 0;
}
.shop_bons_section1 .bon-cadeau .actions2 {
position: absolute;
height: 33px;
width: 33.3%;
background-color: var(--red);
border-radius: 16px;
margin: 0px;
top: calc(100% - 45px);
}
.shop_bons_section1 #bon-cadeau-25 .actions2,
.shop_bons_section1 #bon-cadeau-26 .actions2,
.shop_bons_section1 #bon-cadeau-27 .actions2,
.shop_bons_section1 #bon-cadeau-15 .actions2,
.shop_bons_section1 #bon-cadeau-16 .actions2,
.shop_bons_section1 #bon-cadeau-22 .actions2,
.shop_bons_section1 #bon-cadeau-20 .actions2,
.shop_bons_section1 #bon-cadeau-34 .actions2,
.shop_bons_section1 #bon-cadeau-4 .actions2,
.shop_bons_section1 #bon-cadeau-5 .actions2,
.shop_bons_section1 #bon-cadeau-11 .actions2,
.shop_bons_section1 #bon-cadeau-9 .actions2 {
position: relative;
height: 34px;
width: 74%;
background-color: var(--red);
border-radius: 16px;
margin: 0px;
margin-bottom: 15px;
top: 0px;
}
.col-md-7 .pt-5 .infos {
background-color: #FFFFFF;
width: 15px;
height: 15px;
margin-left: 15px;
-webkit-box-shadow: 0px 1px 5px 1px rgb(0 0 0 / 16%);
box-shadow: 0px 1px 5px 1px rgb(0 0 0 / 16%);
color: #000000;
display: inline-block;
border-radius: 8px;
text-align: center;
font-weight: 500;
line-height: 15px;
font-size: 13px;
cursor: pointer;
z-index: 800;
}
.shop_bons_section1 #bon-cadeau-25 .actions2 .price,
.shop_bons_section1 #bon-cadeau-26 .actions2 .price,
.shop_bons_section1 #bon-cadeau-37 .actions2 .price,
.shop_bons_section1 #bon-cadeau-15 .actions2 .price,
.shop_bons_section1 #bon-cadeau-16 .actions2 .price,
.shop_bons_section1 #bon-cadeau-22 .actions2 .price,
.shop_bons_section1 #bon-cadeau-20 .actions2 .price,
.shop_bons_section1 #bon-cadeau-4 .actions2 .price,
.shop_bons_section1 #bon-cadeau-5 .actions2 .price,
.shop_bons_section1 #bon-cadeau-11 .actions2 .price,
.shop_bons_section1 #bon-cadeau-9 .actions2 .price {
line-height: 33px;
margin-top: 0px;
}
.options .title .sub {
color: #656565;
font-size: 10px;
}
.shop_bons_section1 {
min-height: 630px;
}
.options.small {
position: relative;
padding-left: 0px;
margin-left: 0px;
background-color: transparent;
width: 100%;
margin-top: 1rem;
max-width: 255px;
}
.options.small ul li {
width: 100%;
}
.options.small ul li {
height: 60px !important;
}
#bon-cadeau-6 .option-1,
#bon-cadeau-6 .option-2,
#bon-cadeau-20 .option-1,
#bon-cadeau-20 .option-2,
#bon-cadeau-7 .option-1,
#bon-cadeau-7 .option-2,
#bon-cadeau-8 .option-1,
#bon-cadeau-8 .option-2,
#bon-cadeau-9 .option-1,
#bon-cadeau-9 .option-2 {
display: none;
}
.bon-cadeau .actions2 .add-cart {
top: 4px;
}
.options.small .title {
min-height: auto;
}
.items-slider .item .options.small .price {
margin: 0px !important;
}
.shop_bons_section1 #bon-cadeau-10 .bon-cadeau .actions2 {
top: calc(74% - 16px);
}
.items-slider .item .price {
font-size: 16px;
line-height: 32px;
}
.actions2{
position: relative;
}
.shop_bons_section2 .bon-cadeau .actions2 ,.add {
top: 48% !important;
height: 28px;
width: 207px;
}
.shop_bons_section2 .bon-cadeau .actions2 ,.one{
top: 44.8% !important;
height: 28px;
width: 207px;
}
.shop_bons_section2 .bon-cadeau .actions2 .add-cart {
top:4px !important;
}
#bon-cadeau-9 .options .col-12:first-child .option-content{
display: none;
}
.bon-cadeau ul {
margin-bottom: 15px;
}
.bon-cadeau .actions2 {
position: relative !important;
}
.shop_bons_section2 .bon-cadeau .actions2, .one {
top: inherit !important;
width: 100%;
height: 34px;
}
#bon-cadeau-10 .actions2 {
position: absolute !important;
}
/* #bon-cadeau-6 .option-6,
#bon-cadeau-7 .option-6,
#bon-cadeau-8 .option-6,
#bon-cadeau-9 .option-6 {
display: none;
}*/
.infos {
background-color: var(--red);
width: 15px;
height: 15px;
position: absolute;
display: block;
color: #FFFFFF;
border-radius: 8px;
text-align: center;
font-weight: 500;
line-height: 15px;
font-size: 13px;
right: -10px;
top: -10px;
cursor: pointer;
z-index: 800;
margin: 10px;
}
@media (max-width: 1440px)
{
.options ul li {
width: calc(50% - 18px);
}
.shop_bons_section1 {
min-height: 760px;
}
.shop_bons_section1 #bon-cadeau-10 .bon-cadeau .actions2 {
top: calc(100% - 45px);
}
.items-slider .item .price {
font-size: 15px;
line-height: 33px;
}
}
@media (max-width: 768px)
{
.options {
width: 58%;
}
.options ul li {
width: calc(100% - 24px);
height: 60px !important;
}
.options .title {
min-height: auto;
}
.items-slider .item .options .price {
margin: 0px !important;
}
.shop_bons_section1 {
min-height: 960px;
}
.bon-cadeau .actions2 {
width: calc(100% - 60px);
}
/* .shop_bons_section2 .bon-cadeau .actions2 ,.one{
top: 48% !important;
height: 28px;
width: 207px;
}*/
}
@media (max-width: 767px)
{
.options {
position: relative;
padding-left: 0px;
margin-left: 0px;
background-color: transparent;
width: 100%;
}
.options ul li {
width: 100%;
}
.shop_bons_section1 .bon-cadeau .actions2 {
width: calc(100% - 60px);
top: calc(100% - 17px);
}
.options.small {
max-width: 100%;
}
.shop_bons_section1 #bon-cadeau-4 .actions2,
.shop_bons_section1 #bon-cadeau-5 .actions2,
.shop_bons_section1 #bon-cadeau-11 .actions2,
.shop_bons_section1 #bon-cadeau-9 .actions2 {
width: 100%;
}
}
.additional .infos{
right: -25px;
transform: translateX(-5%);
background-color: #FFFFFF;
color: #000000;
}
ul, .additional{
display: table;
}
.date-article p{
padding: 0;
text-align: center;
font-size: .875rem;
font-weight: 500;
}
.btn-primary.active,
.btn-primary:hover {
color: #ffffff;
text-decoration: none;
border: 1px solid var(--red);
background-color: var(--red);
}
.bon-cadeau .per-person{
font-size: 12px;
}
.bon-cadeau .per-person{
height: 25px;
}
.bon-cadeau .per-person span{
line-height: 26px;
}
.bon-cadeau .per-person img{
margin: 9px 0 0 6px;
}
.items-slider .item .category{
font-size: 12px;
}
.bon-cadeau .actions2 .no-cart{
width: 145px;
font-size: 0.9rem;
position: absolute;
background-color: #FFFFFF;
right: 3px;
top: 4px;
height: 26px;
border-radius: 13px;
text-align: center;
}
.bon-cadeau .actions2 .price{
width: 50%;
}
.shop-bf .bon-cadeau .actions2 .price {
color: #000000;
}
.shop-bf .option-content,
.shop-bf .bon-cadeau .actions2,
.shop-bf.items-slider .item .category {
background-color: #FFF446;
color: #000000;
}
.shop-bf .bon-cadeau::before {
background-color: #fff4462e !important;
}
.shop-bf .bon-cadeau ul li::before {
color: #FFF446;
}
.shop-bf .options label {
border-bottom: #FFF446;
}
.shop-bf .bon-cadeau:hover::before {
border: 1px solid #000000 !important;
}
.shop-bf .barre {
text-decoration: line-through;
margin-left: -65px;
background-color: #FFF446;
border-radius: 16px;
padding: 8px 8px 7px 8px;
text-decoration-thickness: 2px;
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 633
public function block_body($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", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 634
echo "
";
// line 636
if ((null === (isset($context["category_slug"]) || array_key_exists("category_slug", $context) ? $context["category_slug"] : (function () { throw new RuntimeError('Variable "category_slug" does not exist.', 636, $this->source); })()))) {
// line 637
echo " <div class=\"content nav-content\" style=\"margin-top:60px\">
<div class=\"row fluid-menu\">
<div class=\"nav-menu\">
<div class=\"nav-list\">
<div class=\"overlay\"></div>
<ul>
";
// line 643
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 643, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 644
echo " <li class=\"";
echo (((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["category"], "slug", [], "any", false, false, false, 644), "bon-cadeau"))) ? ("active hover") : ("soon"));
echo "\"><a href=\"";
(((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["category"], "slug", [], "any", false, false, false, 644), "bon-cadeau"))) ? (print (twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("framework_front_shop_cat", ["category_slug" => twig_get_attribute($this->env, $this->source, $context["category"], "slug", [], "any", false, false, false, 644), "locale" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 644, $this->source); })()), "request", [], "any", false, false, false, 644), "locale", [], "any", false, false, false, 644)]), "html", null, true))) : (print ("#")));
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 644), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 644, $this->source); })()), "request", [], "any", false, false, false, 644), "locale", [], "any", false, false, false, 644), [], "array", false, false, false, 644), "html", null, true);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 646
echo " </ul>
</div>
</div>
</div>
</div>
";
} else {
// line 652
echo "
<div class=\"content nav-content\" style=\"margin-top:60px\">
<div class=\"row fluid-menu\">
<div class=\"nav-menu\">
<div class=\"nav-list\">
<div class=\"overlay\"></div>
<ul>
<li><a href=\"/";
// line 659
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 659, $this->source); })()), "request", [], "any", false, false, false, 659), "locale", [], "any", false, false, false, 659), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 659, $this->source); })()), "request", [], "any", false, false, false, 659), "locale", [], "any", false, false, false, 659)), "html", null, true);
echo "/articles\">";
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_all", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 659, $this->source); })()));
echo "</a></li>
<li class=\"";
// line 660
echo (((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 660, $this->source); })()), "slug", [], "any", false, false, false, 660), "bon-cadeau"))) ? ("active hover") : ("soon"));
echo "\"><a href=\"";
(((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 660, $this->source); })()), "slug", [], "any", false, false, false, 660), "bon-cadeau"))) ? (print (twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("framework_front_shop_cat", ["category_slug" => twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 660, $this->source); })()), "slug", [], "any", false, false, false, 660), "locale" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 660, $this->source); })()), "request", [], "any", false, false, false, 660), "locale", [], "any", false, false, false, 660)]), "html", null, true))) : (print ("#")));
echo "\">";
echo twig_escape_filter($this->env, twig_replace_filter((isset($context["categoryName"]) || array_key_exists("categoryName", $context) ? $context["categoryName"] : (function () { throw new RuntimeError('Variable "categoryName" does not exist.', 660, $this->source); })()), ["Bons cadeaux" => $this->extensions['App\Framework\Twig\AppExtension']->tr("menu_bons", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 660, $this->source); })()))]), "html", null, true);
echo "</a></li>
</ul>
</div>
</div>
</div>
</div>
";
}
// line 667
echo "
";
// line 670
if (((null === (isset($context["category_slug"]) || array_key_exists("category_slug", $context) ? $context["category_slug"] : (function () { throw new RuntimeError('Variable "category_slug" does not exist.', 670, $this->source); })())) || (0 === twig_compare((isset($context["category_slug"]) || array_key_exists("category_slug", $context) ? $context["category_slug"] : (function () { throw new RuntimeError('Variable "category_slug" does not exist.', 670, $this->source); })()), "bon-cadeau")))) {
// line 671
echo " <section class=\"espace-content full mt-0\" id=\"bon-cadeau\" >
<div class=\"content\">
<a href=\"/";
// line 673
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 673, $this->source); })()), "request", [], "any", false, false, false, 673), "locale", [], "any", false, false, false, 673), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 673, $this->source); })()), "request", [], "any", false, false, false, 673), "locale", [], "any", false, false, false, 673)), "html", null, true);
echo "\" class=\"link-back\"><img src=\"/front/img/button-arrow-r-l.svg\" alt=\"back\" width=\"25px\" class=\"me-2\" />";
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_back", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 673, $this->source); })()));
echo "</a>
<h1 class=\" mb-3 no-bar mt-4\">";
// line 674
echo twig_escape_filter($this->env, twig_replace_filter((isset($context["categoryName"]) || array_key_exists("categoryName", $context) ? $context["categoryName"] : (function () { throw new RuntimeError('Variable "categoryName" does not exist.', 674, $this->source); })()), ["Bons cadeaux" => $this->extensions['App\Framework\Twig\AppExtension']->tr("menu_bons", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 674, $this->source); })()))]), "html", null, true);
echo " / ";
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_season", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 674, $this->source); })()));
echo "<span class=\"full-bar\"></span></h1>
<span class=\"bon-badge\">";
// line 675
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_badge", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 675, $this->source); })()));
echo "</span>
<p class=\"pt-4 pb-0 text-black\">
";
// line 677
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_subtitle", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 677, $this->source); })()));
echo "
</p>
</div>
</section>
";
// line 803
echo "
<h3 class=\"shop_bons_section mt-5\">";
// line 825
echo twig_upper_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_section1", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 825, $this->source); })())));
echo "</h3>
<div class=\"items-slider pack-slider espace-content p-0 mt-3 mb-5\">
<div class=\"content pb-5 mt-3\">
<div class=\"row shop_bons_section2\" id=\"bon-cadeau-results\">
";
// line 931
echo "
";
// line 932
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["bons"]) || array_key_exists("bons", $context) ? $context["bons"] : (function () { throw new RuntimeError('Variable "bons" does not exist.', 932, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 933
echo "
";
// line 934
$context["saved"] = false;
// line 935
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["bookmarks"]) || array_key_exists("bookmarks", $context) ? $context["bookmarks"] : (function () { throw new RuntimeError('Variable "bookmarks" does not exist.', 935, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["bookmark"]) {
// line 936
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["bookmark"], "product", [], "any", false, false, false, 936), "id", [], "any", false, false, false, 936), twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 936)))) {
// line 937
echo " ";
$context["saved"] = true;
// line 938
echo " ";
}
// line 939
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bookmark'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 940
echo " ";
if (twig_in_filter(twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 940), [0 => "bon-cadeau-25", 1 => "bon-cadeau-26", 2 => "bon-cadeau-27"])) {
// line 941
echo " <div class=\"item col-md-6 col-lg-4 mb-5\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 941), "html", null, true);
echo "\">
<div class=\"bon-cadeau\">
<div class=\"col-md-12\">
<a href=\"#\" class=\"favoris trigger-modal ";
// line 944
echo (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) ? ("bookmark") : ("not-logged-in"));
echo " ";
echo (((isset($context["saved"]) || array_key_exists("saved", $context) ? $context["saved"] : (function () { throw new RuntimeError('Variable "saved" does not exist.', 944, $this->source); })())) ? ("saved") : (""));
echo "\" data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 944), "html", null, true);
echo "\"><i></i></a>
<a href=\"/";
// line 945
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 945, $this->source); })()), "request", [], "any", false, false, false, 945), "locale", [], "any", false, false, false, 945), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 945, $this->source); })()), "request", [], "any", false, false, false, 945), "locale", [], "any", false, false, false, 945)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 945), "html", null, true);
echo "\" class=\"cover-container\">
<div class=\"per-person\"><span>";
// line 946
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_person", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 946, $this->source); })()));
echo "</span> <img height=\"11px\" src=\"/front/img/user-icon.svg\" alt=\"person\"></div>
";
// line 948
echo " <img alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "nameLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 948, $this->source); })()), "request", [], "any", false, false, false, 948), "locale", [], "any", false, false, false, 948)], "method", false, false, false, 948), "html", null, true);
echo "\" class=\"cover\" src=\"/uploads/products/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 948), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "mainImage", [], "any", false, false, false, 948), "html", null, true);
echo "\" />
<div class=\"date-article\">
<p>";
// line 950
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_valable", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 950, $this->source); })()));
echo " </p>
</div>
</a>
</div>
<a href=\"/";
// line 954
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 954, $this->source); })()), "request", [], "any", false, false, false, 954), "locale", [], "any", false, false, false, 954), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 954, $this->source); })()), "request", [], "any", false, false, false, 954), "locale", [], "any", false, false, false, 954)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 954), "html", null, true);
echo "\" class=\"cover-container\">
<span class=\"name\">";
// line 955
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "nameLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 955, $this->source); })()), "request", [], "any", false, false, false, 955), "locale", [], "any", false, false, false, 955)], "method", false, false, false, 955), "html", null, true);
echo "</span>
<span class=\"subname\">";
// line 956
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "usecaseLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 956, $this->source); })()), "request", [], "any", false, false, false, 956), "locale", [], "any", false, false, false, 956)], "method", false, false, false, 956), "html", null, true);
echo "</span>
<span class=\"category\">";
// line 957
echo twig_upper_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->tr("menu_bons", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 957, $this->source); })())));
echo "</span>
</a>
<div class=\"additional\" >
";
// line 960
echo twig_get_attribute($this->env, $this->source, $context["item"], "additionalLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 960, $this->source); })()), "request", [], "any", false, false, false, 960), "locale", [], "any", false, false, false, 960)], "method", false, false, false, 960);
echo "
</div>
<div class=\"actions2 one\">
<a href=\"/";
// line 964
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 964, $this->source); })()), "request", [], "any", false, false, false, 964), "locale", [], "any", false, false, false, 964), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 964, $this->source); })()), "request", [], "any", false, false, false, 964), "locale", [], "any", false, false, false, 964)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 964), "html", null, true);
echo "\">
<span class=\"price\">";
// line 965
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "priceFr", [], "any", false, false, false, 965), "html", null, true);
echo " €</span>
<p class=\"no-cart fast-cart text-black p-0\">Je commande</p>
</a>
</div>
<div class=\"options small\" href=\"/";
// line 969
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 969, $this->source); })()), "request", [], "any", false, false, false, 969), "locale", [], "any", false, false, false, 969), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 969, $this->source); })()), "request", [], "any", false, false, false, 969), "locale", [], "any", false, false, false, 969)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 969), "html", null, true);
echo "\">
<label>";
// line 970
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_product_options_title2", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 970, $this->source); })()));
echo "</label>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
Restaurant
</span>
<ul class=\"mt-3\">
";
// line 977
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 977, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 978
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "restaurant", [], "any", false, false, false, 978), true))) {
// line 979
echo " <li class=\"option-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 979), "html", null, true);
echo "\" style=\"height: 85px\">
";
// line 980
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "desc", [], "any", false, false, false, 980), ""))) {
echo "<span class=\"infos\" data-desc=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "desc", [], "any", false, false, false, 980), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "desc", [], "any", false, false, false, 980), "html", null, true);
echo "\">i</span>";
}
// line 981
echo " <p class=\"title\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 981), "html", null, true);
echo "<br>";
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "sub", [], "any", false, false, false, 981), ""))) {
echo " <span class=\"sub\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "sub", [], "any", false, false, false, 981), "html", null, true);
echo "</span> ";
}
echo "</p>
<p class=\"price\">(+ ";
// line 982
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "price", [], "any", false, false, false, 982), "html", null, true);
echo " €)</p>
</li>
";
}
// line 985
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 986
echo " </ul>
</div>
<div class=\"col-12\">
<span class=\"option-content\">
Lounge Club
</span>
<ul class=\"mt-3\">
";
// line 993
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 993, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 994
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 994), true))) {
// line 995
echo " <li class=\"option-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 995), "html", null, true);
echo "\">
<p class=\"title\">";
// line 996
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 996), "html", null, true);
echo "<br>";
if (twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 996)) {
echo "<span>Lounge Club</span>";
}
echo "</p>
<p class=\"price\" ";
// line 997
if (( !twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 997) && (-1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 997), 3)))) {
echo "style=\"margin-top: 10px;\"";
}
echo ">(+ ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "price", [], "any", false, false, false, 997), "html", null, true);
echo " €)</p>
</li>
";
}
// line 1000
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1001
echo " </ul>
</div>
</div>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
";
// line 1007
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("cadeau_title", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1007, $this->source); })()));
echo "
</span>
<ul class=\"mt-3\">
";
// line 1010
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 1010, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 1011
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "boutique", [], "any", false, false, false, 1011), true))) {
// line 1012
echo " <li class=\"option-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1012), "html", null, true);
echo "\">
";
// line 1013
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "desc", [], "any", false, false, false, 1013), ""))) {
echo "<span class=\"infos\" data-desc=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "desc", [], "any", false, false, false, 1013), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "desc", [], "any", false, false, false, 1013), "html", null, true);
echo "\">i</span>";
}
// line 1014
echo " <p class=\"title\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 1014), "html", null, true);
echo "<br>";
if (twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1014)) {
echo "<span>Lounge Club</span>";
}
echo "</p>
<p class=\"price\" ";
// line 1015
if (( !twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1015) && (-1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1015), 3)))) {
echo "style=\"margin-top: 10px;\"";
}
echo ">(+ ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "price", [], "any", false, false, false, 1015), "html", null, true);
echo " €)</p>
</li>
";
}
// line 1018
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1019
echo " </ul>
</div>
</div>
</div>
</div>
</div>
";
}
// line 1026
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1027
echo "
</div>
</div>
</div>
<h3 class=\"shop_bons_section mt-5\">";
// line 1035
echo twig_upper_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_section2", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1035, $this->source); })())));
echo "</h3>
<div class=\"items-slider pack-slider espace-content p-0 mt-3 mb-5\">
<div class=\"content pb-5 mt-3\">
<div class=\"row shop_bons_section2\" id=\"bon-cadeau-results\">
";
// line 1041
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["bons"]) || array_key_exists("bons", $context) ? $context["bons"] : (function () { throw new RuntimeError('Variable "bons" does not exist.', 1041, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 1042
echo "
";
// line 1043
$context["saved"] = false;
// line 1044
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["bookmarks"]) || array_key_exists("bookmarks", $context) ? $context["bookmarks"] : (function () { throw new RuntimeError('Variable "bookmarks" does not exist.', 1044, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["bookmark"]) {
// line 1045
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["bookmark"], "product", [], "any", false, false, false, 1045), "id", [], "any", false, false, false, 1045), twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 1045)))) {
// line 1046
echo " ";
$context["saved"] = true;
// line 1047
echo " ";
}
// line 1048
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bookmark'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1049
echo " ";
if (twig_in_filter(twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1049), [0 => "bon-cadeau-28", 1 => "bon-cadeau-29", 2 => "bon-cadeau-30"])) {
// line 1050
echo " <div class=\"item col-md-6 col-lg-4 mb-5\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1050), "html", null, true);
echo "\">
<div class=\"bon-cadeau\">
<div class=\"col-md-12\">
<a href=\"#\" class=\"favoris trigger-modal ";
// line 1053
echo (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) ? ("bookmark") : ("not-logged-in"));
echo " ";
echo (((isset($context["saved"]) || array_key_exists("saved", $context) ? $context["saved"] : (function () { throw new RuntimeError('Variable "saved" does not exist.', 1053, $this->source); })())) ? ("saved") : (""));
echo "\" data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 1053), "html", null, true);
echo "\"><i></i></a>
<a href=\"/";
// line 1054
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1054, $this->source); })()), "request", [], "any", false, false, false, 1054), "locale", [], "any", false, false, false, 1054), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1054, $this->source); })()), "request", [], "any", false, false, false, 1054), "locale", [], "any", false, false, false, 1054)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1054), "html", null, true);
echo "\" class=\"cover-container\">
<div class=\"per-person\"><span>";
// line 1055
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_person", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1055, $this->source); })()));
echo "</span> <img height=\"11px\" src=\"/front/img/user-icon.svg\" alt=\"person\"></div>
";
// line 1057
echo " <img alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "nameLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1057, $this->source); })()), "request", [], "any", false, false, false, 1057), "locale", [], "any", false, false, false, 1057)], "method", false, false, false, 1057), "html", null, true);
echo "\" class=\"cover\" src=\"/uploads/products/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 1057), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "mainImage", [], "any", false, false, false, 1057), "html", null, true);
echo "\" />
<div class=\"date-article\">
<p>";
// line 1059
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_valable", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1059, $this->source); })()));
echo " </p>
</div>
</a>
</div>
<a href=\"/";
// line 1063
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1063, $this->source); })()), "request", [], "any", false, false, false, 1063), "locale", [], "any", false, false, false, 1063), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1063, $this->source); })()), "request", [], "any", false, false, false, 1063), "locale", [], "any", false, false, false, 1063)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1063), "html", null, true);
echo "\" class=\"cover-container\">
<span class=\"name\">";
// line 1064
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "nameLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1064, $this->source); })()), "request", [], "any", false, false, false, 1064), "locale", [], "any", false, false, false, 1064)], "method", false, false, false, 1064), "html", null, true);
echo "</span>
<span class=\"subname\">";
// line 1065
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "usecaseLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1065, $this->source); })()), "request", [], "any", false, false, false, 1065), "locale", [], "any", false, false, false, 1065)], "method", false, false, false, 1065), "html", null, true);
echo "</span>
<span class=\"category\">";
// line 1066
echo twig_upper_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->tr("menu_bons", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1066, $this->source); })())));
echo "</span>
</a>
<div class=\"additional\" >
";
// line 1069
echo twig_get_attribute($this->env, $this->source, $context["item"], "additionalLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1069, $this->source); })()), "request", [], "any", false, false, false, 1069), "locale", [], "any", false, false, false, 1069)], "method", false, false, false, 1069);
echo "
</div>
<div class=\"actions2 one\">
<a href=\"/";
// line 1073
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1073, $this->source); })()), "request", [], "any", false, false, false, 1073), "locale", [], "any", false, false, false, 1073), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1073, $this->source); })()), "request", [], "any", false, false, false, 1073), "locale", [], "any", false, false, false, 1073)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1073), "html", null, true);
echo "\">
<span class=\"price\">";
// line 1074
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "priceFr", [], "any", false, false, false, 1074), "html", null, true);
echo " €</span>
<p class=\"no-cart fast-cart text-black p-0\">Je commande</p>
</a>
</div>
<div class=\"options small\" href=\"/";
// line 1078
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1078, $this->source); })()), "request", [], "any", false, false, false, 1078), "locale", [], "any", false, false, false, 1078), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1078, $this->source); })()), "request", [], "any", false, false, false, 1078), "locale", [], "any", false, false, false, 1078)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1078), "html", null, true);
echo "\">
<label>";
// line 1079
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_product_options_title2", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1079, $this->source); })()));
echo "</label>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
Restaurant
</span>
<ul class=\"mt-3\">
";
// line 1086
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 1086, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 1087
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "restaurant", [], "any", false, false, false, 1087), true))) {
// line 1088
echo " <li class=\"option-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1088), "html", null, true);
echo "\" style=\"height: 85px\">
";
// line 1089
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "desc", [], "any", false, false, false, 1089), ""))) {
echo "<span class=\"infos\" data-desc=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "desc", [], "any", false, false, false, 1089), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "desc", [], "any", false, false, false, 1089), "html", null, true);
echo "\">i</span>";
}
// line 1090
echo " <p class=\"title\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 1090), "html", null, true);
echo "<br>";
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "sub", [], "any", false, false, false, 1090), ""))) {
echo " <span class=\"sub\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "sub", [], "any", false, false, false, 1090), "html", null, true);
echo "</span> ";
}
echo "</p>
<p class=\"price\">(+ ";
// line 1091
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "price", [], "any", false, false, false, 1091), "html", null, true);
echo " €)</p>
</li>
";
}
// line 1094
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1095
echo " </ul>
</div>
<div class=\"col-12\">
<span class=\"option-content\">
Lounge Club
</span>
<ul class=\"mt-3\">
";
// line 1102
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 1102, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 1103
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1103), true))) {
// line 1104
echo " <li class=\"option-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1104), "html", null, true);
echo "\">
<p class=\"title\">";
// line 1105
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 1105), "html", null, true);
echo "<br>";
if (twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1105)) {
echo "<span>Lounge Club</span>";
}
echo "</p>
<p class=\"price\" ";
// line 1106
if (( !twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1106) && (-1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1106), 3)))) {
echo "style=\"margin-top: 10px;\"";
}
echo ">(+ ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "price", [], "any", false, false, false, 1106), "html", null, true);
echo " €)</p>
</li>
";
}
// line 1109
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1110
echo " </ul>
</div>
</div>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
";
// line 1116
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("cadeau_title", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1116, $this->source); })()));
echo "
</span>
<ul class=\"mt-3\">
";
// line 1119
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 1119, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 1120
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "boutique", [], "any", false, false, false, 1120), true))) {
// line 1121
echo " <li class=\"option-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1121), "html", null, true);
echo "\">
";
// line 1122
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "desc", [], "any", false, false, false, 1122), ""))) {
echo "<span class=\"infos\" data-desc=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "desc", [], "any", false, false, false, 1122), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "desc", [], "any", false, false, false, 1122), "html", null, true);
echo "\">i</span>";
}
// line 1123
echo " <p class=\"title\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 1123), "html", null, true);
echo "<br>";
if (twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1123)) {
echo "<span>Lounge Club</span>";
}
echo "</p>
<p class=\"price\" ";
// line 1124
if (( !twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1124) && (-1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1124), 3)))) {
echo "style=\"margin-top: 10px;\"";
}
echo ">(+ ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "price", [], "any", false, false, false, 1124), "html", null, true);
echo " €)</p>
</li>
";
}
// line 1127
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1128
echo " </ul>
</div>
</div>
</div>
</div>
</div>
";
}
// line 1135
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1136
echo "
</div>
</div>
</div>
<h3 class=\"shop_bons_section mt-5\">";
// line 1143
echo twig_upper_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_section3", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1143, $this->source); })())));
echo "</h3>
<div class=\"items-slider pack-slider espace-content p-0 mt-3 mb-5\">
<div class=\"content pb-5 mt-3\">
<div class=\"row shop_bons_section2\" id=\"bon-cadeau-results\">
";
// line 1149
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["bons"]) || array_key_exists("bons", $context) ? $context["bons"] : (function () { throw new RuntimeError('Variable "bons" does not exist.', 1149, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 1150
echo " ";
$context["saved"] = false;
// line 1151
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["bookmarks"]) || array_key_exists("bookmarks", $context) ? $context["bookmarks"] : (function () { throw new RuntimeError('Variable "bookmarks" does not exist.', 1151, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["bookmark"]) {
// line 1152
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["bookmark"], "product", [], "any", false, false, false, 1152), "id", [], "any", false, false, false, 1152), twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 1152)))) {
// line 1153
echo " ";
$context["saved"] = true;
// line 1154
echo " ";
}
// line 1155
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bookmark'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1156
echo " ";
if (twig_in_filter(twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1156), [0 => "bon-cadeau-31", 1 => "bon-cadeau-32", 2 => "bon-cadeau-33"])) {
// line 1157
echo " <div class=\"item col-md-6 col-lg-4 mb-5\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1157), "html", null, true);
echo "\">
<div class=\"bon-cadeau\">
<div class=\"col-md-12\">
<a href=\"#\" class=\"favoris trigger-modal ";
// line 1160
echo (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) ? ("bookmark") : ("not-logged-in"));
echo " ";
echo (((isset($context["saved"]) || array_key_exists("saved", $context) ? $context["saved"] : (function () { throw new RuntimeError('Variable "saved" does not exist.', 1160, $this->source); })())) ? ("saved") : (""));
echo "\" data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 1160), "html", null, true);
echo "\"><i></i></a>
<a href=\"/";
// line 1161
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1161, $this->source); })()), "request", [], "any", false, false, false, 1161), "locale", [], "any", false, false, false, 1161), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1161, $this->source); })()), "request", [], "any", false, false, false, 1161), "locale", [], "any", false, false, false, 1161)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1161), "html", null, true);
echo "\" class=\"cover-container\">
<div class=\"per-person\"><span>";
// line 1162
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_person", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1162, $this->source); })()));
echo "</span> <img height=\"11px\" src=\"/front/img/user-icon.svg\" alt=\"person\"></div>
";
// line 1164
echo " <img alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "nameLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1164, $this->source); })()), "request", [], "any", false, false, false, 1164), "locale", [], "any", false, false, false, 1164)], "method", false, false, false, 1164), "html", null, true);
echo "\" class=\"cover\" src=\"/uploads/products/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 1164), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "mainImage", [], "any", false, false, false, 1164), "html", null, true);
echo "\" />
<div class=\"date-article\">
<p>";
// line 1166
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_valable", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1166, $this->source); })()));
echo " </p>
</div>
</a>
</div>
<a href=\"/";
// line 1170
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1170, $this->source); })()), "request", [], "any", false, false, false, 1170), "locale", [], "any", false, false, false, 1170), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1170, $this->source); })()), "request", [], "any", false, false, false, 1170), "locale", [], "any", false, false, false, 1170)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1170), "html", null, true);
echo "\" class=\"cover-container\">
<span class=\"name\">";
// line 1171
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "nameLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1171, $this->source); })()), "request", [], "any", false, false, false, 1171), "locale", [], "any", false, false, false, 1171)], "method", false, false, false, 1171), "html", null, true);
echo "</span>
<span class=\"subname\">";
// line 1172
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "usecaseLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1172, $this->source); })()), "request", [], "any", false, false, false, 1172), "locale", [], "any", false, false, false, 1172)], "method", false, false, false, 1172), "html", null, true);
echo "</span>
<span class=\"category\">";
// line 1173
echo twig_upper_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->tr("menu_bons", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1173, $this->source); })())));
echo "</span>
</a>
<div class=\"additional\">
";
// line 1176
echo twig_get_attribute($this->env, $this->source, $context["item"], "additionalLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1176, $this->source); })()), "request", [], "any", false, false, false, 1176), "locale", [], "any", false, false, false, 1176)], "method", false, false, false, 1176);
echo "
</div>
<div class=\"actions2 add\">
<a href=\"/";
// line 1179
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1179, $this->source); })()), "request", [], "any", false, false, false, 1179), "locale", [], "any", false, false, false, 1179), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1179, $this->source); })()), "request", [], "any", false, false, false, 1179), "locale", [], "any", false, false, false, 1179)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1179), "html", null, true);
echo "\">
<span class=\"price\">";
// line 1180
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "priceFr", [], "any", false, false, false, 1180), "html", null, true);
echo " €</span>
<p class=\"no-cart fast-cart text-black p-0\">Je commande</p>
</a>
</div>
<div class=\"options small\" href=\"/";
// line 1184
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1184, $this->source); })()), "request", [], "any", false, false, false, 1184), "locale", [], "any", false, false, false, 1184), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1184, $this->source); })()), "request", [], "any", false, false, false, 1184), "locale", [], "any", false, false, false, 1184)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1184), "html", null, true);
echo "\">
<label>";
// line 1185
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_product_options_title2", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1185, $this->source); })()));
echo "</label>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content d-none\">
Restaurant
</span>
<ul class=\"mt-3 d-none\">
";
// line 1192
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 1192, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 1193
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "restaurant", [], "any", false, false, false, 1193), true))) {
// line 1194
echo " <li class=\"option-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1194), "html", null, true);
echo "\" style=\"height: 85px\">
<p class=\"title\">";
// line 1195
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 1195), "html", null, true);
echo "<br>";
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "sub", [], "any", false, false, false, 1195), ""))) {
echo " <span class=\"sub\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "sub", [], "any", false, false, false, 1195), "html", null, true);
echo "</span> ";
}
echo "</p>
<p class=\"price\">(+ ";
// line 1196
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "price", [], "any", false, false, false, 1196), "html", null, true);
echo " €)</p>
</li>
";
}
// line 1199
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1200
echo " </ul>
</div>
<div class=\"col-12\">
<span class=\"option-content\">
Lounge Club
</span>
<ul class=\"mt-3\">
";
// line 1207
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 1207, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 1208
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1208), true))) {
// line 1209
echo " <li class=\"option-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1209), "html", null, true);
echo "\">
<p class=\"title\">";
// line 1210
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 1210), "html", null, true);
echo "<br>";
if (twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1210)) {
echo "<span>Lounge Club</span>";
}
echo "</p>
<p class=\"price\" ";
// line 1211
if (( !twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1211) && (-1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1211), 3)))) {
echo "style=\"margin-top: 10px;\"";
}
echo ">(+ ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "price", [], "any", false, false, false, 1211), "html", null, true);
echo " €)</p>
</li>
";
}
// line 1214
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1215
echo " </ul>
</div>
</div>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
";
// line 1221
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("cadeau_title", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1221, $this->source); })()));
echo "
</span>
<ul class=\"mt-3\">
";
// line 1224
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 1224, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 1225
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "boutique", [], "any", false, false, false, 1225), true))) {
// line 1226
echo " <li class=\"option-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1226), "html", null, true);
echo "\">
<p class=\"title\">";
// line 1227
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 1227), "html", null, true);
echo "<br>";
if (twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1227)) {
echo "<span>Lounge Club</span>";
}
echo "</p>
<p class=\"price\" ";
// line 1228
if (( !twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1228) && (-1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1228), 3)))) {
echo "style=\"margin-top: 10px;\"";
}
echo ">(+ ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "price", [], "any", false, false, false, 1228), "html", null, true);
echo " €)</p>
</li>
";
}
// line 1231
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1232
echo " </ul>
</div>
</div>
</div>
</div>
</div>
";
}
// line 1239
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1240
echo "
</div>
</div>
</div>
<h3 class=\"shop_bons_section mt-5\">";
// line 1247
echo twig_upper_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_section4", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1247, $this->source); })())));
echo "</h3>
<div class=\"items-slider pack-slider espace-content p-0 mt-3 mb-5\">
<div class=\"content pb-5 mt-3\">
<div class=\"row shop_bons_section1\" id=\"bon-cadeau-results\">
";
// line 1253
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["bons"]) || array_key_exists("bons", $context) ? $context["bons"] : (function () { throw new RuntimeError('Variable "bons" does not exist.', 1253, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 1254
echo "
";
// line 1255
$context["saved"] = false;
// line 1256
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["bookmarks"]) || array_key_exists("bookmarks", $context) ? $context["bookmarks"] : (function () { throw new RuntimeError('Variable "bookmarks" does not exist.', 1256, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["bookmark"]) {
// line 1257
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["bookmark"], "product", [], "any", false, false, false, 1257), "id", [], "any", false, false, false, 1257), twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 1257)))) {
// line 1258
echo " ";
$context["saved"] = true;
// line 1259
echo " ";
}
// line 1260
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bookmark'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1261
echo " ";
if (twig_in_filter(twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1261), [0 => "bon-cadeau-34"])) {
// line 1262
echo " <div class=\"item col-md-12 col-lg-6 mb-5\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1262), "html", null, true);
echo "\">
<div class=\"bon-cadeau row\">
<div class=\"col-md-5\">
<a href=\"#\" class=\"favoris trigger-modal ";
// line 1267
echo (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) ? ("bookmark") : ("not-logged-in"));
echo " ";
echo (((isset($context["saved"]) || array_key_exists("saved", $context) ? $context["saved"] : (function () { throw new RuntimeError('Variable "saved" does not exist.', 1267, $this->source); })())) ? ("saved") : (""));
echo "\" data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 1267), "html", null, true);
echo "\"><i></i></a>
<a href=\"/";
// line 1268
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1268, $this->source); })()), "request", [], "any", false, false, false, 1268), "locale", [], "any", false, false, false, 1268), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1268, $this->source); })()), "request", [], "any", false, false, false, 1268), "locale", [], "any", false, false, false, 1268)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1268), "html", null, true);
echo "\">
<div class=\"per-person\"><span>";
// line 1269
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_person", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1269, $this->source); })()));
echo "</span> <img height=\"11px\" src=\"/front/img/user-icon.svg\" alt=\"person\"></div>
";
// line 1271
echo " <img alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "nameLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1271, $this->source); })()), "request", [], "any", false, false, false, 1271), "locale", [], "any", false, false, false, 1271)], "method", false, false, false, 1271), "html", null, true);
echo "\" class=\"cover\" src=\"/uploads/products/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 1271), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "mainImage", [], "any", false, false, false, 1271), "html", null, true);
echo "\" />
<div class=\"date-article\">
<p>";
// line 1273
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_valable", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1273, $this->source); })()));
echo " </p>
</div>
</a>
</div>
<div class=\"col-md-7 pt-5\">
<a href=\"/";
// line 1283
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1283, $this->source); })()), "request", [], "any", false, false, false, 1283), "locale", [], "any", false, false, false, 1283), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1283, $this->source); })()), "request", [], "any", false, false, false, 1283), "locale", [], "any", false, false, false, 1283)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1283), "html", null, true);
echo "\">
<span class=\"name\">";
// line 1284
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "nameLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1284, $this->source); })()), "request", [], "any", false, false, false, 1284), "locale", [], "any", false, false, false, 1284)], "method", false, false, false, 1284), "html", null, true);
echo "</span>
<span class=\"subname\">";
// line 1285
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "usecaseLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1285, $this->source); })()), "request", [], "any", false, false, false, 1285), "locale", [], "any", false, false, false, 1285)], "method", false, false, false, 1285), "html", null, true);
echo "</span>
<span class=\"category\">";
// line 1286
echo twig_upper_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->tr("menu_bons", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1286, $this->source); })())));
echo "</span>
</a>
<div class=\"additional\">
";
// line 1289
echo twig_get_attribute($this->env, $this->source, $context["item"], "additionalLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1289, $this->source); })()), "request", [], "any", false, false, false, 1289), "locale", [], "any", false, false, false, 1289)], "method", false, false, false, 1289);
echo "
</div>
<div class=\"actions2\">
<a href=\"/";
// line 1292
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1292, $this->source); })()), "request", [], "any", false, false, false, 1292), "locale", [], "any", false, false, false, 1292), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1292, $this->source); })()), "request", [], "any", false, false, false, 1292), "locale", [], "any", false, false, false, 1292)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1292), "html", null, true);
echo "\">
<span class=\"price\">";
// line 1293
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "priceFr", [], "any", false, false, false, 1293), "html", null, true);
echo " €</span>
<p class=\"no-cart fast-cart text-black p-0\">Je commande</p>
</a>
</div>
<div class=\"options\" href=\"/";
// line 1301
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1301, $this->source); })()), "request", [], "any", false, false, false, 1301), "locale", [], "any", false, false, false, 1301), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->getUrl("boutique", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1301, $this->source); })()), "request", [], "any", false, false, false, 1301), "locale", [], "any", false, false, false, 1301)), "html", null, true);
echo "/produit/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1301), "html", null, true);
echo "\">
<label>";
// line 1303
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_product_options_title2", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1303, $this->source); })()));
echo "</label>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content d-none\">
Restaurant
</span>
<ul class=\"mt-3 d-none\">
";
// line 1310
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 1310, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 1311
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "restaurant", [], "any", false, false, false, 1311), true))) {
// line 1312
echo " <li class=\"option-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1312), "html", null, true);
echo "\" style=\"height: 85px\">
<p class=\"title\">";
// line 1313
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 1313), "html", null, true);
echo "<br>";
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "sub", [], "any", false, false, false, 1313), ""))) {
echo " <span class=\"sub\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "sub", [], "any", false, false, false, 1313), "html", null, true);
echo "</span> ";
}
echo "</p>
<p class=\"price\">(+ ";
// line 1314
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "price", [], "any", false, false, false, 1314), "html", null, true);
echo " €)</p>
</li>
";
}
// line 1317
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1318
echo " </ul>
</div>
<div class=\"col-12\">
<span class=\"option-content\">
Lounge Club
</span>
<ul class=\"mt-3\">
";
// line 1325
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 1325, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 1326
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1326), true))) {
// line 1327
echo " <li class=\"option-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1327), "html", null, true);
echo "\">
<p class=\"title\">";
// line 1328
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 1328), "html", null, true);
echo "<br>";
if (twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1328)) {
echo "<span>Lounge Club</span>";
}
echo "</p>
<p class=\"price\" ";
// line 1329
if (( !twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1329) && (-1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1329), 3)))) {
echo "style=\"margin-top: 10px;\"";
}
echo ">(+ ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "price", [], "any", false, false, false, 1329), "html", null, true);
echo " €)</p>
</li>
";
}
// line 1332
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1333
echo " </ul>
</div>
</div>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
";
// line 1339
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("cadeau_title", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1339, $this->source); })()));
echo "
</span>
<ul class=\"mt-3\">
";
// line 1342
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 1342, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 1343
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "boutique", [], "any", false, false, false, 1343), true))) {
// line 1344
echo " <li class=\"option-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1344), "html", null, true);
echo "\">
<p class=\"title\">";
// line 1345
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 1345), "html", null, true);
echo "<br>";
if (twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1345)) {
echo "<span>Lounge Club</span>";
}
echo "</p>
<p class=\"price\" ";
// line 1346
if (( !twig_get_attribute($this->env, $this->source, $context["option"], "lounge", [], "any", false, false, false, 1346) && (-1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, false, 1346), 3)))) {
echo "style=\"margin-top: 10px;\"";
}
echo ">(+ ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "price", [], "any", false, false, false, 1346), "html", null, true);
echo " €)</p>
</li>
";
}
// line 1349
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1350
echo " </ul>
</div>
</div>
</div>
</div>
</div>
</div>
";
}
// line 1358
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1359
echo "
";
// line 1360
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["bons"]) || array_key_exists("bons", $context) ? $context["bons"] : (function () { throw new RuntimeError('Variable "bons" does not exist.', 1360, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 1361
echo "
";
// line 1362
$context["saved"] = false;
// line 1363
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["bookmarks"]) || array_key_exists("bookmarks", $context) ? $context["bookmarks"] : (function () { throw new RuntimeError('Variable "bookmarks" does not exist.', 1363, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["bookmark"]) {
// line 1364
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["bookmark"], "product", [], "any", false, false, false, 1364), "id", [], "any", false, false, false, 1364), twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 1364)))) {
// line 1365
echo " ";
$context["saved"] = true;
// line 1366
echo " ";
}
// line 1367
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bookmark'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1368
echo " ";
if (twig_in_filter(twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 1368), [0 => "bon-cadeau-35"])) {
// line 1369
echo " <div class=\"item col-md-12 col-lg-6 mb-5 ";
echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 1369)) ? ("last-item-class") : (""));
echo "\" id=\"bon-cadeau-10\">
<div class=\"bon-cadeau row\" style=\"margin-top: 10px;\">
<div class=\"col-md-5\">
<div style=\"position: relative;\">
<img alt=\"";
// line 1375
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "nameLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1375, $this->source); })()), "request", [], "any", false, false, false, 1375), "locale", [], "any", false, false, false, 1375)], "method", false, false, false, 1375), "html", null, true);
echo "\" class=\"cover\" src=\"/uploads/products/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 1375), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "mainImage", [], "any", false, false, false, 1375), "html", null, true);
echo "\" />
<div class=\"date-article\">
<p>";
// line 1377
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_valable", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1377, $this->source); })()));
echo " </p>
</div>
</div>
</div>
<div class=\"col-md-7 pt-5\">
<div style=\"position: relative;\">
<span class=\"name\">";
// line 1386
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "nameLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1386, $this->source); })()), "request", [], "any", false, false, false, 1386), "locale", [], "any", false, false, false, 1386)], "method", false, false, false, 1386), "html", null, true);
echo "</span>
<span class=\"subname\">";
// line 1387
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "usecaseLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1387, $this->source); })()), "request", [], "any", false, false, false, 1387), "locale", [], "any", false, false, false, 1387)], "method", false, false, false, 1387), "html", null, true);
echo "</span>
<span class=\"category\">";
// line 1388
echo twig_upper_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->tr("menu_bons", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1388, $this->source); })())));
echo "</span>
";
// line 1389
echo twig_get_attribute($this->env, $this->source, $context["item"], "additionalLocale", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1389, $this->source); })()), "request", [], "any", false, false, false, 1389), "locale", [], "any", false, false, false, 1389)], "method", false, false, false, 1389);
echo "
</div>
<div class=\"actions2\">
<input type=\"hidden\" id=\"bon-cadeau-10-value\" value=\"";
// line 1393
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "price", [], "any", false, false, false, 1393), "html", null, true);
echo "\" />
<a href=\"#\" id=\"bon-cadeau-10-minus\">-</a><span class=\"price\">";
// line 1394
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "priceFr", [], "any", false, false, false, 1394), "html", null, true);
echo " €</span><a href=\"#\" id=\"bon-cadeau-10-plus\">+</a>
<a href=\"#\" class=\"add-cart fast-cart2\" data-id=\"";
// line 1395
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 1395), "html", null, true);
echo "\" style=\"width: 50px\"><img alt=\"to cart\" class=\"\" src=\"/front/img/shop-cart.svg\" /></a>
</div>
</div>
</div>
</div>
";
}
// line 1402
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1403
echo "
</div>
</div>
</div>
<div class=\"floating-cart\"><img src=\"/front/img/cart.svg\" alt=\"cart\" /></div>
";
// line 1448
echo " </div>
";
}
// line 1450
echo "
<section class=\"actu-content newsletter\" style=\"margin-bottom: 180px;\">
<div class=\"content mt-5 pt-5\">
<h2 class=\"mb-5 no-bar\">";
// line 1455
echo twig_upper_filter($this->env, $this->extensions['App\Framework\Twig\AppExtension']->tr("newsletter_title", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1455, $this->source); })())));
echo "<span class=\"full-bar\"></span></h2>
<div class=\"pt-5\">
<form>
<p class=\"title\">";
// line 1458
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("newsletter_subtitle", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1458, $this->source); })()));
echo "</p>
<p class=\"desc\">";
// line 1459
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("newsletter_desc", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1459, $this->source); })()));
echo "</p>
<div class=\"email-input\">
<input type=\"text\" value=\"\" placeholder=\"";
// line 1461
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("newsletter_email", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1461, $this->source); })()));
echo "\" class=\"email mt-3\" />
<a href=\"#\" class=\"register\"> </a>
</div>
<div class=\"row\">
<div class=\"col-12 mt-4\">
<input type=\"checkbox\" id=\"confirm\" class=\"apple-switch\" checked=\"checked\" />
<label for=\"confirm\">";
// line 1467
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("newsletter_agree", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1467, $this->source); })()));
echo "</label>
<p class=\"text-center mt-4\" id=\"message_newsletter\"></p>
</div>
</div>
</form>
</div>
</div>
</section>
";
// line 1475
$this->loadTemplate("FrontBundle/Partial/modal.html.twig", "FrontBundle/Page/shop2.html.twig", 1475)->display($context);
// line 1476
echo " ";
$this->loadTemplate("FrontBundle/Partial/footer.html.twig", "FrontBundle/Page/shop2.html.twig", 1476)->display($context);
// line 1477
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 1480
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 1481
echo "
<script src=\"/front/js/owl.carousel.min.js\"></script>
<script src=\"/front/js/wNumb.min.js\"></script>
<script src=\"/front/js/nouislider.min.js\"></script>
<script type=\"text/javascript\">
\$( document ).ready(function() {
if( window.innerWidth <= 768 ){
\$('#bon-cadeau-results .col-md-3').addClass('col-md-6');
\$('#bon-cadeau-results .col-md-3').removeClass('col-md-3');
}
if( window.innerWidth <= 1024 ){
\$('#bon-cadeau-results .col-md-3').addClass('col-md-4');
\$('#bon-cadeau-results .col-md-3').removeClass('col-md-3');
}
\$('.additional li').each(function(index, value) {
if(\$(this).data('info')){
var add_desc = '';
if( \$(this).data('info') == 'sp-ga' ){
/*add_desc = \"";
// line 1507
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_desc1", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1507, $this->source); })()));
echo "\".replace(/'/g, \"\\\\'\");*/
add_desc = \"";
// line 1508
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_desc1", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1508, $this->source); })()));
echo "\";
} else if( \$(this).data('info') == 'mj-m1' ){
/*add_desc = \"";
// line 1510
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_desc2", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1510, $this->source); })()));
echo "\".replace(/'/g, \"\\\\'\");*/
add_desc = \"";
// line 1511
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_desc2", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1511, $this->source); })()));
echo "\";
} else if( \$(this).data('info') == 'mj-m2' ){
/*add_desc = \"";
// line 1513
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_desc3", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1513, $this->source); })()));
echo "\".replace(/'/g, \"\\\\'\");*/
add_desc = \"";
// line 1514
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_desc3", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1514, $this->source); })()));
echo "\";
} else if( \$(this).data('info') == 've-m1' ){
/*add_desc = \"";
// line 1516
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_desc4", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1516, $this->source); })()));
echo "\".replace(/'/g, \"\\\\'\");*/
add_desc = \"";
// line 1517
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_desc4", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1517, $this->source); })()));
echo "\";
} else if( \$(this).data('info') == 've-m2' ){
/*add_desc = \"";
// line 1519
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_desc5", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1519, $this->source); })()));
echo "\".replace(/'/g, \"\\\\'\");*/
add_desc = \"";
// line 1520
echo $this->extensions['App\Framework\Twig\AppExtension']->tr("shop_bons_desc5", (isset($context["tr"]) || array_key_exists("tr", $context) ? $context["tr"] : (function () { throw new RuntimeError('Variable "tr" does not exist.', 1520, $this->source); })()));
echo "\";
}
\$(this).append('<span class=\"infos\" data-desc=\"'+add_desc+'\">i</span>')
}
});
\$('.infos').each(function(index, value) {
\$(this).tooltipster({
content: \$(this).data('desc'),
delay: 200,
contentAsHTML: true,
trigger: 'click'
});
});
\$('.options p').click(function(e){
e.preventDefault();
window.location.href = \$(this).parents('.options').attr('href');
});
\$('.bookmark').click(function(e){
e.preventDefault();
var product_id = \$(this).data('id');
var element = \$(this);
if( \$(this).hasClass('saved') ){
var action = 'unsave';
} else {
var action = 'save';
}
\$.ajax({
type: \"POST\",
url: \"/shop/product/\"+action+\"/\"+product_id,
data: null,
dataType: \"json\",
success: function(response) {
if( action == 'save' ){
element.addClass('saved');
} else {
element.removeClass('saved');
}
}
});
});
});
</script>
<!-- script pour gérer la connexion lors de la demande d'ajout de favoris --->
<script>
\$(document).ready(function() {
\$('.trigger-modal').on('click', function(e) {
e.preventDefault(); // Empêche le comportement par défaut du lien
const baseUrl = \"/\" + \$(\"html\").attr(\"lang\"); // Construit la base de l'URL avec la locale
const loginUrl = baseUrl + \"/security_login\"; // Adaptez cette ligne si nécessaire
\$.ajax({
url: baseUrl + \"/user/connected\",
success: function(data) {
if (!data.isLoggedIn) {
let modalTitle, modalContent, modalButtonText;
// Définit le contenu de la modale selon la locale
switch(data.locale) {
case \"fr\":
modalTitle = \"Connexion nécessaire\";
modalContent = \"Pour réaliser cette action vous devez être connecté. Si vous n'avez pas encore de compte, vous pouvez en créer un.\";
modalButtonText = \"Se connecter\";
break;
case \"en\":
modalTitle = \"Connection required\";
modalContent = \"You must be logged in to perform this action. If you don't have an account yet, you can create one.\";
modalButtonText = \"Sign in\";
break;
case \"de\":
modalTitle = \"Verbindung erforderlich\";
modalContent = \"Um diese Aktion durchzuführen, müssen Sie angemeldet sein. Wenn Sie noch kein Konto haben, können Sie eines erstellen.\";
modalButtonText = \"Sich anmelden\";
break;
}
\$(\"#modalLoginReminderLabel\").text(modalTitle);
\$(\"#modalLoginReminder .modal-body\").text(modalContent);
\$(\".modalbutton\").text(modalButtonText).attr(\"onclick\", \"window.location.href='\" + loginUrl + \"'\");
\$(\"#modalLoginReminder\").modal('show');
}
}
});
});
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "FrontBundle/Page/shop2.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 2456 => 1520, 2452 => 1519, 2447 => 1517, 2443 => 1516, 2438 => 1514, 2434 => 1513, 2429 => 1511, 2425 => 1510, 2420 => 1508, 2416 => 1507, 2388 => 1481, 2378 => 1480, 2367 => 1477, 2364 => 1476, 2362 => 1475, 2351 => 1467, 2342 => 1461, 2337 => 1459, 2333 => 1458, 2327 => 1455, 2320 => 1450, 2316 => 1448, 2304 => 1403, 2290 => 1402, 2280 => 1395, 2276 => 1394, 2272 => 1393, 2265 => 1389, 2261 => 1388, 2257 => 1387, 2253 => 1386, 2241 => 1377, 2232 => 1375, 2222 => 1369, 2219 => 1368, 2213 => 1367, 2210 => 1366, 2207 => 1365, 2204 => 1364, 2199 => 1363, 2197 => 1362, 2194 => 1361, 2177 => 1360, 2174 => 1359, 2168 => 1358, 2158 => 1350, 2152 => 1349, 2142 => 1346, 2134 => 1345, 2129 => 1344, 2126 => 1343, 2122 => 1342, 2116 => 1339, 2108 => 1333, 2102 => 1332, 2092 => 1329, 2084 => 1328, 2079 => 1327, 2076 => 1326, 2072 => 1325, 2063 => 1318, 2057 => 1317, 2051 => 1314, 2041 => 1313, 2036 => 1312, 2033 => 1311, 2029 => 1310, 2019 => 1303, 2010 => 1301, 1999 => 1293, 1991 => 1292, 1985 => 1289, 1979 => 1286, 1975 => 1285, 1971 => 1284, 1963 => 1283, 1950 => 1273, 1940 => 1271, 1936 => 1269, 1928 => 1268, 1920 => 1267, 1911 => 1262, 1908 => 1261, 1902 => 1260, 1899 => 1259, 1896 => 1258, 1893 => 1257, 1888 => 1256, 1886 => 1255, 1883 => 1254, 1879 => 1253, 1870 => 1247, 1861 => 1240, 1855 => 1239, 1846 => 1232, 1840 => 1231, 1830 => 1228, 1822 => 1227, 1817 => 1226, 1814 => 1225, 1810 => 1224, 1804 => 1221, 1796 => 1215, 1790 => 1214, 1780 => 1211, 1772 => 1210, 1767 => 1209, 1764 => 1208, 1760 => 1207, 1751 => 1200, 1745 => 1199, 1739 => 1196, 1729 => 1195, 1724 => 1194, 1721 => 1193, 1717 => 1192, 1707 => 1185, 1699 => 1184, 1692 => 1180, 1684 => 1179, 1678 => 1176, 1672 => 1173, 1668 => 1172, 1664 => 1171, 1656 => 1170, 1649 => 1166, 1639 => 1164, 1635 => 1162, 1627 => 1161, 1619 => 1160, 1612 => 1157, 1609 => 1156, 1603 => 1155, 1600 => 1154, 1597 => 1153, 1594 => 1152, 1589 => 1151, 1586 => 1150, 1582 => 1149, 1573 => 1143, 1564 => 1136, 1558 => 1135, 1549 => 1128, 1543 => 1127, 1533 => 1124, 1524 => 1123, 1516 => 1122, 1511 => 1121, 1508 => 1120, 1504 => 1119, 1498 => 1116, 1490 => 1110, 1484 => 1109, 1474 => 1106, 1466 => 1105, 1461 => 1104, 1458 => 1103, 1454 => 1102, 1445 => 1095, 1439 => 1094, 1433 => 1091, 1422 => 1090, 1414 => 1089, 1409 => 1088, 1406 => 1087, 1402 => 1086, 1392 => 1079, 1384 => 1078, 1377 => 1074, 1369 => 1073, 1362 => 1069, 1356 => 1066, 1352 => 1065, 1348 => 1064, 1340 => 1063, 1333 => 1059, 1323 => 1057, 1319 => 1055, 1311 => 1054, 1303 => 1053, 1296 => 1050, 1293 => 1049, 1287 => 1048, 1284 => 1047, 1281 => 1046, 1278 => 1045, 1273 => 1044, 1271 => 1043, 1268 => 1042, 1264 => 1041, 1255 => 1035, 1245 => 1027, 1239 => 1026, 1230 => 1019, 1224 => 1018, 1214 => 1015, 1205 => 1014, 1197 => 1013, 1192 => 1012, 1189 => 1011, 1185 => 1010, 1179 => 1007, 1171 => 1001, 1165 => 1000, 1155 => 997, 1147 => 996, 1142 => 995, 1139 => 994, 1135 => 993, 1126 => 986, 1120 => 985, 1114 => 982, 1103 => 981, 1095 => 980, 1090 => 979, 1087 => 978, 1083 => 977, 1073 => 970, 1065 => 969, 1058 => 965, 1050 => 964, 1043 => 960, 1037 => 957, 1033 => 956, 1029 => 955, 1021 => 954, 1014 => 950, 1004 => 948, 1000 => 946, 992 => 945, 984 => 944, 977 => 941, 974 => 940, 968 => 939, 965 => 938, 962 => 937, 959 => 936, 954 => 935, 952 => 934, 949 => 933, 945 => 932, 942 => 931, 933 => 825, 909 => 803, 890 => 677, 885 => 675, 879 => 674, 871 => 673, 867 => 671, 865 => 670, 860 => 667, 846 => 660, 838 => 659, 829 => 652, 821 => 646, 808 => 644, 804 => 643, 796 => 637, 794 => 636, 790 => 634, 780 => 633, 163 => 23, 153 => 22, 134 => 18, 114 => 6, 104 => 5, 85 => 4, 64 => 3, 41 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'FrontBundle/layout_shop.html.twig' %}
{% block title %}{{ app_sitename }} - {{ page.metaTitle }}{% endblock %}
{% block description %}{{ page.metaDescription }}{% endblock %}
{% block google %}
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=AW-11336737773\">
</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-11336737773');
</script>
{% endblock %}
{% block extra_class %}stack{% endblock %}
{# {% block menu_min %}200{% endblock %} #}
{# {% block menu_max %}2636{% endblock %} #}
{% block stylesheets %}
<link href=\"/front/css/owl.carousel.min.css\" rel=\"stylesheet\">
<link href=\"/front/css/owl.theme.default.min.css\" rel=\"stylesheet\">
<link href=\"/front/css/nouislider.css\" rel=\"stylesheet\">
<style>
.bon-cadeau .options,
.bon-cadeau .options.small {
display: none;
}
/* ETOILES */
#bon-cadeau-results .item {
position: relative;
}
#bon-cadeau-12::before,
#bon-cadeau-28::before,
#bon-cadeau-17::before,
#bon-cadeau-31::before,
#bon-cadeau-25::before,
#bon-cadeau-22::before {
content: url(/front/img/stars3.svg);
position: absolute;
left: 42px;
top: 16px;
z-index: -1;
}
#bon-cadeau-12::after,
#bon-cadeau-28::after,
#bon-cadeau-17::after,
#bon-cadeau-31::after,
#bon-cadeau-25::after,
#bon-cadeau-22::after {
content: url(/front/img/stars4.svg);
position: absolute;
right: 22px;
bottom: 110px;
z-index: -1;
}
#bon-cadeau-14::before,
#bon-cadeau-30::before,
#bon-cadeau-16::before,
#bon-cadeau-27::before,
#bon-cadeau-33::before,
#bon-cadeau-19::before {
content: url(/front/img/stars5.svg);
position: absolute;
right: 55px;
top: 116px;
z-index: -1;
}
#bon-cadeau-20::before,
#bon-cadeau-34::before {
content: url(/front/img/stars1.svg);
position: absolute;
left: -46px;
bottom: 77px;
}
/* FIN ETOILES */
#bon-cadeau-10-plus {
margin-top: 1px;
}
/**
override footer cause bug
*/
footer .bottom{
height: 60px;
margin-top: -10px;
display: flex;
}
@media screen and (min-width: 1400px){
footer .bottom .col-md-8 ul {
height: 100%;
display: grid;
grid-auto-flow: column;
align-items: center;
}
}
@media screen and (min-width: 458px) {
footer .bottom .col-md-8 ul {
height: 100%;
display: block;
grid-auto-flow: revert;
}
}
.full-bar {
width: 100%;
}
.bon-cadeau{
cursor: pointer;
}
.bon-cadeau:last-child{
cursor: revert;
}
/* Ciblez .bon-cadeau dans .shop_bons_section1 et .shop_bons_section2 pour l'état par défaut */
.page_shop .shop_bons_section1 .bon-cadeau::before,
.page_shop .shop_bons_section2 .bon-cadeau::before {
border: 1px solid transparent;
transition: border 0.3s ease-in-out, transform 0.3s ease-in-out;
transform: scale(1);
height: 100%;
}
/* Ciblez .bon-cadeau dans .shop_bons_section1 et .shop_bons_section2 pour l'état de survol */
.page_shop .shop_bons_section1 .bon-cadeau:hover::before,
.page_shop .shop_bons_section2 .bon-cadeau:hover::before {
border: 1px solid var(--red);
transform: scale(1.05);
}
/* Annuler les transformations pour les éléments avec la classe .last-item-class */
.page_shop .shop_bons_section1 .last-item-class .bon-cadeau::before,
.page_shop .shop_bons_section2 .last-item-class .bon-cadeau::before,
.page_shop .shop_bons_section1 .last-item-class .bon-cadeau:hover::before,
.page_shop .shop_bons_section2 .last-item-class .bon-cadeau:hover::before {
border: 1px solid transparent !important;
transform: scale(1) !important;
transition: none !important;
}
.options {
/* position: absolute;
background-color: #faf5f5;*/
padding-left: 15px;
margin-left: -15px;
border-radius: 30px;
padding-bottom: 10px;
cursor: pointer;
}
.options li {
background-color: #FFFFFF;
border-radius: 15px;
padding: 5px 0px;
margin: 5px;
width: calc(25% - -59px);
float: left;
position: relative;
height: 74px;
border: 1px solid #FFFFFF;
}
.options label {
border-bottom: 2px solid var(--red);
display: table;
padding: 0px 0px 5px 0px;
width: auto;
margin-bottom: 10px;
}
.option-content {
border-radius: 14px;
background: #931517;
display: flex;
justify-content: center;
align-items: center;
width: 119px;
height: 19px;
flex-shrink: 0;
margin-top: 10px;
color: #fff;
padding: 0.5rem 1rem;
font-size: 13px;
font-weight: 600;
margin-bottom: 4px;
}
.options ul {
background-color: transparent;
border-radius: 30px;
padding: 0px !important;
margin: 0px !important;
float: left;
width: 100%;
list-style: none;
}
.options .title {
max-width: 92%;
transform: translateX(4.2%);
margin: 0;
font-size: 11px;
font-weight: normal;
text-align: center;
padding: 0;
line-height: 14px;
min-height: 33px;
}
.options ul li {
width: calc(31% - -59px);
}
.options ul li::before {
content: '';
}
.items-slider .item .options .price {
margin: 3px 0 0 0;
font-size: 14px;
font-weight: normal;
color: var(--red);
text-align: center;
width: 100%;
padding: 0;
}
.shop_bons_section1 .bon-cadeau .actions2 {
position: absolute;
height: 33px;
width: 33.3%;
background-color: var(--red);
border-radius: 16px;
margin: 0px;
top: calc(100% - 45px);
}
.shop_bons_section1 #bon-cadeau-25 .actions2,
.shop_bons_section1 #bon-cadeau-26 .actions2,
.shop_bons_section1 #bon-cadeau-27 .actions2,
.shop_bons_section1 #bon-cadeau-15 .actions2,
.shop_bons_section1 #bon-cadeau-16 .actions2,
.shop_bons_section1 #bon-cadeau-22 .actions2,
.shop_bons_section1 #bon-cadeau-20 .actions2,
.shop_bons_section1 #bon-cadeau-34 .actions2,
.shop_bons_section1 #bon-cadeau-4 .actions2,
.shop_bons_section1 #bon-cadeau-5 .actions2,
.shop_bons_section1 #bon-cadeau-11 .actions2,
.shop_bons_section1 #bon-cadeau-9 .actions2 {
position: relative;
height: 34px;
width: 74%;
background-color: var(--red);
border-radius: 16px;
margin: 0px;
margin-bottom: 15px;
top: 0px;
}
.col-md-7 .pt-5 .infos {
background-color: #FFFFFF;
width: 15px;
height: 15px;
margin-left: 15px;
-webkit-box-shadow: 0px 1px 5px 1px rgb(0 0 0 / 16%);
box-shadow: 0px 1px 5px 1px rgb(0 0 0 / 16%);
color: #000000;
display: inline-block;
border-radius: 8px;
text-align: center;
font-weight: 500;
line-height: 15px;
font-size: 13px;
cursor: pointer;
z-index: 800;
}
.shop_bons_section1 #bon-cadeau-25 .actions2 .price,
.shop_bons_section1 #bon-cadeau-26 .actions2 .price,
.shop_bons_section1 #bon-cadeau-37 .actions2 .price,
.shop_bons_section1 #bon-cadeau-15 .actions2 .price,
.shop_bons_section1 #bon-cadeau-16 .actions2 .price,
.shop_bons_section1 #bon-cadeau-22 .actions2 .price,
.shop_bons_section1 #bon-cadeau-20 .actions2 .price,
.shop_bons_section1 #bon-cadeau-4 .actions2 .price,
.shop_bons_section1 #bon-cadeau-5 .actions2 .price,
.shop_bons_section1 #bon-cadeau-11 .actions2 .price,
.shop_bons_section1 #bon-cadeau-9 .actions2 .price {
line-height: 33px;
margin-top: 0px;
}
.options .title .sub {
color: #656565;
font-size: 10px;
}
.shop_bons_section1 {
min-height: 630px;
}
.options.small {
position: relative;
padding-left: 0px;
margin-left: 0px;
background-color: transparent;
width: 100%;
margin-top: 1rem;
max-width: 255px;
}
.options.small ul li {
width: 100%;
}
.options.small ul li {
height: 60px !important;
}
#bon-cadeau-6 .option-1,
#bon-cadeau-6 .option-2,
#bon-cadeau-20 .option-1,
#bon-cadeau-20 .option-2,
#bon-cadeau-7 .option-1,
#bon-cadeau-7 .option-2,
#bon-cadeau-8 .option-1,
#bon-cadeau-8 .option-2,
#bon-cadeau-9 .option-1,
#bon-cadeau-9 .option-2 {
display: none;
}
.bon-cadeau .actions2 .add-cart {
top: 4px;
}
.options.small .title {
min-height: auto;
}
.items-slider .item .options.small .price {
margin: 0px !important;
}
.shop_bons_section1 #bon-cadeau-10 .bon-cadeau .actions2 {
top: calc(74% - 16px);
}
.items-slider .item .price {
font-size: 16px;
line-height: 32px;
}
.actions2{
position: relative;
}
.shop_bons_section2 .bon-cadeau .actions2 ,.add {
top: 48% !important;
height: 28px;
width: 207px;
}
.shop_bons_section2 .bon-cadeau .actions2 ,.one{
top: 44.8% !important;
height: 28px;
width: 207px;
}
.shop_bons_section2 .bon-cadeau .actions2 .add-cart {
top:4px !important;
}
#bon-cadeau-9 .options .col-12:first-child .option-content{
display: none;
}
.bon-cadeau ul {
margin-bottom: 15px;
}
.bon-cadeau .actions2 {
position: relative !important;
}
.shop_bons_section2 .bon-cadeau .actions2, .one {
top: inherit !important;
width: 100%;
height: 34px;
}
#bon-cadeau-10 .actions2 {
position: absolute !important;
}
/* #bon-cadeau-6 .option-6,
#bon-cadeau-7 .option-6,
#bon-cadeau-8 .option-6,
#bon-cadeau-9 .option-6 {
display: none;
}*/
.infos {
background-color: var(--red);
width: 15px;
height: 15px;
position: absolute;
display: block;
color: #FFFFFF;
border-radius: 8px;
text-align: center;
font-weight: 500;
line-height: 15px;
font-size: 13px;
right: -10px;
top: -10px;
cursor: pointer;
z-index: 800;
margin: 10px;
}
@media (max-width: 1440px)
{
.options ul li {
width: calc(50% - 18px);
}
.shop_bons_section1 {
min-height: 760px;
}
.shop_bons_section1 #bon-cadeau-10 .bon-cadeau .actions2 {
top: calc(100% - 45px);
}
.items-slider .item .price {
font-size: 15px;
line-height: 33px;
}
}
@media (max-width: 768px)
{
.options {
width: 58%;
}
.options ul li {
width: calc(100% - 24px);
height: 60px !important;
}
.options .title {
min-height: auto;
}
.items-slider .item .options .price {
margin: 0px !important;
}
.shop_bons_section1 {
min-height: 960px;
}
.bon-cadeau .actions2 {
width: calc(100% - 60px);
}
/* .shop_bons_section2 .bon-cadeau .actions2 ,.one{
top: 48% !important;
height: 28px;
width: 207px;
}*/
}
@media (max-width: 767px)
{
.options {
position: relative;
padding-left: 0px;
margin-left: 0px;
background-color: transparent;
width: 100%;
}
.options ul li {
width: 100%;
}
.shop_bons_section1 .bon-cadeau .actions2 {
width: calc(100% - 60px);
top: calc(100% - 17px);
}
.options.small {
max-width: 100%;
}
.shop_bons_section1 #bon-cadeau-4 .actions2,
.shop_bons_section1 #bon-cadeau-5 .actions2,
.shop_bons_section1 #bon-cadeau-11 .actions2,
.shop_bons_section1 #bon-cadeau-9 .actions2 {
width: 100%;
}
}
.additional .infos{
right: -25px;
transform: translateX(-5%);
background-color: #FFFFFF;
color: #000000;
}
ul, .additional{
display: table;
}
.date-article p{
padding: 0;
text-align: center;
font-size: .875rem;
font-weight: 500;
}
.btn-primary.active,
.btn-primary:hover {
color: #ffffff;
text-decoration: none;
border: 1px solid var(--red);
background-color: var(--red);
}
.bon-cadeau .per-person{
font-size: 12px;
}
.bon-cadeau .per-person{
height: 25px;
}
.bon-cadeau .per-person span{
line-height: 26px;
}
.bon-cadeau .per-person img{
margin: 9px 0 0 6px;
}
.items-slider .item .category{
font-size: 12px;
}
.bon-cadeau .actions2 .no-cart{
width: 145px;
font-size: 0.9rem;
position: absolute;
background-color: #FFFFFF;
right: 3px;
top: 4px;
height: 26px;
border-radius: 13px;
text-align: center;
}
.bon-cadeau .actions2 .price{
width: 50%;
}
.shop-bf .bon-cadeau .actions2 .price {
color: #000000;
}
.shop-bf .option-content,
.shop-bf .bon-cadeau .actions2,
.shop-bf.items-slider .item .category {
background-color: #FFF446;
color: #000000;
}
.shop-bf .bon-cadeau::before {
background-color: #fff4462e !important;
}
.shop-bf .bon-cadeau ul li::before {
color: #FFF446;
}
.shop-bf .options label {
border-bottom: #FFF446;
}
.shop-bf .bon-cadeau:hover::before {
border: 1px solid #000000 !important;
}
.shop-bf .barre {
text-decoration: line-through;
margin-left: -65px;
background-color: #FFF446;
border-radius: 16px;
padding: 8px 8px 7px 8px;
text-decoration-thickness: 2px;
}
</style>
{% endblock %}
{% block body %}
{% if category_slug is null %}
<div class=\"content nav-content\" style=\"margin-top:60px\">
<div class=\"row fluid-menu\">
<div class=\"nav-menu\">
<div class=\"nav-list\">
<div class=\"overlay\"></div>
<ul>
{% for category in categories %}
<li class=\"{{ (category.slug == 'bon-cadeau') ? 'active hover' : 'soon' }}\"><a href=\"{{ (category.slug == 'bon-cadeau') ? path('framework_front_shop_cat', {'category_slug': category.slug, 'locale': app.request.locale}) : '#' }}\">{{ category.name[app.request.locale] }}</a></li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
{% else %}
<div class=\"content nav-content\" style=\"margin-top:60px\">
<div class=\"row fluid-menu\">
<div class=\"nav-menu\">
<div class=\"nav-list\">
<div class=\"overlay\"></div>
<ul>
<li><a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/articles\">{{ 'shop_all'|tr(tr)|raw }}</a></li>
<li class=\"{{ (category.slug == 'bon-cadeau') ? 'active hover' : 'soon' }}\"><a href=\"{{ (category.slug == 'bon-cadeau') ? path('framework_front_shop_cat', {'category_slug': category.slug, 'locale': app.request.locale}) : '#' }}\">{{ categoryName|replace({'Bons cadeaux': 'menu_bons'|tr(tr) }) }}</a></li>
</ul>
</div>
</div>
</div>
</div>
{% endif %}
{% if category_slug is null or category_slug == 'bon-cadeau' %}
<section class=\"espace-content full mt-0\" id=\"bon-cadeau\" >
<div class=\"content\">
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}\" class=\"link-back\"><img src=\"/front/img/button-arrow-r-l.svg\" alt=\"back\" width=\"25px\" class=\"me-2\" />{{ 'shop_back'|tr(tr)|raw }}</a>
<h1 class=\" mb-3 no-bar mt-4\">{{ categoryName|replace({'Bons cadeaux': 'menu_bons'|tr(tr) }) }} / {{ 'shop_bons_season'|tr(tr)|raw }}<span class=\"full-bar\"></span></h1>
<span class=\"bon-badge\">{{ 'shop_bons_badge'|tr(tr)|raw }}</span>
<p class=\"pt-4 pb-0 text-black\">
{{ 'shop_bons_subtitle'|tr(tr)|raw }}
</p>
</div>
</section>
{#
<h3 id=\"bf\" class=\"shop_bons_section mt-5\">{{ 'shop_bons_section_bf'|tr(tr)|upper|raw }}</h3>
<div class=\"items-slider pack-slider espace-content p-0 mt-3 mb-5 shop-bf\">
<div class=\"content pb-5 mt-3\">
<div class=\"row shop_bons_section2 justify-content-center\" id=\"bon-cadeau-results\">
{% for item in bons %}
{% set saved = false %}
{% for bookmark in bookmarks %}
{% if bookmark.product.id == item.id %}
{% set saved = true %}
{% endif %}
{% endfor %}
{% if item.slug in ['bon-cadeau-23', 'bon-cadeau-24'] %}
<div class=\"item col-md-4 mb-5\" id=\"{{ item.slug }}\">
<div class=\"bon-cadeau\">
<div class=\"col-md-12\">
<a href=\"#\" class=\"favoris trigger-modal {{ (is_granted('IS_AUTHENTICATED_REMEMBERED')) ? 'bookmark' : 'not-logged-in' }} {{ (saved) ? 'saved' : '' }}\" data-id=\"{{ item.id }}\"><i></i></a>
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\" class=\"cover-container\">
<div class=\"per-person\"><span>{{ 'shop_bons_person'|tr(tr)|raw }}</span> <img height=\"11px\" src=\"/front/img/user-icon.svg\" alt=\"person\"></div>
#}
{# <div class=\"name-hover\"><p>{{ item.nameLocale(app.request.locale)|replace({'Formule ': ''})|upper }}</p> <span>Valable saison 2022-2023</span></div> #}{#
<img alt=\"{{ item.nameLocale(app.request.locale) }}\" class=\"cover\" src=\"/uploads/products/{{item.id}}/{{item.mainImage}}\" />
<div class=\"date-article\">
<p>{{ 'shop_bons_valable'|tr(tr)|raw }} </p>
</div>
</a>
</div>
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\" class=\"cover-container\">
<span class=\"name\">{{ item.nameLocale(app.request.locale) }}</span>
<span class=\"subname\">{{ item.usecaseLocale(app.request.locale) }}</span>
<span class=\"category\">{{ 'menu_bons'|tr(tr)|upper|raw }}</span>
</a>
<div class=\"additional\" >
{{ item.additionalLocale(app.request.locale)|raw }}
</div>
<div class=\"actions2 one\">
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<span class=\"price\"><span class=\"barre\">{{ item.priceFr|replace({'83,20': '104', '77,60': \"97\"}) }} €</span> {{ item.priceFr }} €</span>
<p class=\"no-cart fast-cart text-black p-0\">Je commande</p>
</a>
</div>
<div class=\"options small\" href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<label>{{ 'shop_product_options_title2'|tr(tr)|raw }}</label>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
Restaurant
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.restaurant == true %}
<li class=\"option-{{option.id}}\" style=\"height: 85px\">
{% if option.desc != '' %}<span class=\"infos\" data-desc=\"{{ option.desc }}\" title=\"{{ option.desc }}\">i</span>{% endif %}
<p class=\"title\">{{ option.name }}<br>{% if option.sub != '' %} <span class=\"sub\">{{ option.sub }}</span> {% endif %}</p>
<p class=\"price\">(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
<div class=\"col-12\">
<span class=\"option-content\">
Lounge Club
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.lounge == true %}
<li class=\"option-{{option.id}}\">
<p class=\"title\">{{ option.name }}<br>{% if option.lounge %}<span>Lounge Club</span>{% endif %}</p>
<p class=\"price\" {% if not option.lounge and option.id < 3 %}style=\"margin-top: 10px;\"{% endif %}>(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
{{ 'cadeau_title'|tr(tr)|raw }}
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.boutique == true %}
<li class=\"option-{{option.id}}\">
{% if option.desc != '' %}<span class=\"infos\" data-desc=\"{{ option.desc }}\" title=\"{{ option.desc }}\">i</span>{% endif %}
<p class=\"title\">{{ option.name }}<br>{% if option.lounge %}<span>Lounge Club</span>{% endif %}</p>
<p class=\"price\" {% if not option.lounge and option.id < 3 %}style=\"margin-top: 10px;\"{% endif %}>(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
#}
<h3 class=\"shop_bons_section mt-5\">{{ 'shop_bons_section1'|tr(tr)|upper|raw }}</h3>
<div class=\"items-slider pack-slider espace-content p-0 mt-3 mb-5\">
<div class=\"content pb-5 mt-3\">
<div class=\"row shop_bons_section2\" id=\"bon-cadeau-results\">
{# {% for item in bons %}
{% set saved = false %}
{% for bookmark in bookmarks %}
{% if bookmark.product.id == item.id %}
{% set saved = true %}
{% endif %}
{% endfor %}
{% if item.slug in ['bon-cadeau-4', 'bon-cadeau-11'] %}
<div class=\"item col-md-6 mb-5\" id=\"{{ item.slug }}\">
<div class=\"bon-cadeau row\">
<div class=\"col-md-5\">
<a href=\"#\" class=\"favoris trigger-modal {{ (is_granted('IS_AUTHENTICATED_REMEMBERED')) ? 'bookmark' : 'not-logged-in' }} {{ (saved) ? 'saved' : '' }}\" data-id=\"{{ item.id }}\"><i></i></a>
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<div class=\"per-person\"><span>{{ 'shop_bons_person'|tr(tr)|raw }}</span> <img height=\"11px\" src=\"/front/img/user-icon.svg\" alt=\"person\"></div>
#}{# <div class=\"name-hover\"><p>{{ item.nameLocale(app.request.locale)|replace({'Formule ': ''})|upper }}</p> <span>Valable saison 2022-2023</span></div> #}{#
<img alt=\"{{ item.nameLocale(app.request.locale) }}\" class=\"cover\" src=\"/uploads/products/{{item.id}}/{{item.mainImage}}\" />
<div class=\"date-article\">
<p>{{ 'shop_bons_valable'|tr(tr)|raw }} </p>
</div>
</a>
</div>
<div class=\"col-md-7 pt-5\">
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<span class=\"name\">{{ item.nameLocale(app.request.locale) }}</span>
<span class=\"subname\">{{ item.usecaseLocale(app.request.locale) }}</span>
<span class=\"category\">{{ 'menu_bons'|tr(tr)|upper|raw }}</span>
</a>
<div class=\"additional\">
{{ item.additionalLocale(app.request.locale)|raw }}
</div>
<div class=\"actions2 \">
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<span class=\"price\">{{ item.priceFr }} €</span>
<p class=\"no-cart fast-cart text-black p-0\">Je commande</p>
</a>
</div>
<div class=\"options\" href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<label>{{ 'shop_product_options_title2'|tr(tr)|raw }}</label>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
Restaurant
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.restaurant == true %}
<li class=\"option-{{option.id}}\" style=\"height: 85px\">
{% if option.desc != '' %}<span class=\"infos\" data-desc=\"{{ option.desc }}\" title=\"{{ option.desc }}\">i</span>{% endif %}
<p class=\"title\">{{ option.name }}<br>{% if option.sub != '' %} <span class=\"sub\">{{ option.sub }}</span> {% endif %}</p>
<p class=\"price\">(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
<div class=\"col-12\">
<span class=\"option-content\">
Lounge Club
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.lounge == true %}
<li class=\"option-{{option.id}}\">
{% if option.desc != '' %}<span class=\"infos\" data-desc=\"{{ option.desc }}\" title=\"{{ option.desc }}\">i</span>{% endif %}
<p class=\"title\">{{ option.name }}<br>{% if option.lounge %}<span>Lounge Club</span>{% endif %}</p>
<p class=\"price\" {% if not option.lounge and option.id < 3 %}style=\"margin-top: 10px;\"{% endif %}>(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
{{ 'cadeau_title'|tr(tr)|raw }}
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.boutique == true %}
<li class=\"option-{{option.id}}\">
{% if option.desc != '' %}<span class=\"infos\" data-desc=\"{{ option.desc }}\" title=\"{{ option.desc }}\">i</span>{% endif %}
<p class=\"title\">{{ option.name }}<br>{% if option.lounge %}<span>Lounge Club</span>{% endif %}</p>
<p class=\"price\" {% if not option.lounge and option.id < 3 %}style=\"margin-top: 10px;\"{% endif %}>(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}#}
{% for item in bons %}
{% set saved = false %}
{% for bookmark in bookmarks %}
{% if bookmark.product.id == item.id %}
{% set saved = true %}
{% endif %}
{% endfor %}
{% if item.slug in ['bon-cadeau-25', 'bon-cadeau-26', 'bon-cadeau-27'] %}
<div class=\"item col-md-6 col-lg-4 mb-5\" id=\"{{ item.slug }}\">
<div class=\"bon-cadeau\">
<div class=\"col-md-12\">
<a href=\"#\" class=\"favoris trigger-modal {{ (is_granted('IS_AUTHENTICATED_REMEMBERED')) ? 'bookmark' : 'not-logged-in' }} {{ (saved) ? 'saved' : '' }}\" data-id=\"{{ item.id }}\"><i></i></a>
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\" class=\"cover-container\">
<div class=\"per-person\"><span>{{ 'shop_bons_person'|tr(tr)|raw }}</span> <img height=\"11px\" src=\"/front/img/user-icon.svg\" alt=\"person\"></div>
{# <div class=\"name-hover\"><p>{{ item.nameLocale(app.request.locale)|replace({'Formule ': ''})|upper }}</p> <span>Valable saison 2022-2023</span></div> #}
<img alt=\"{{ item.nameLocale(app.request.locale) }}\" class=\"cover\" src=\"/uploads/products/{{item.id}}/{{item.mainImage}}\" />
<div class=\"date-article\">
<p>{{ 'shop_bons_valable'|tr(tr)|raw }} </p>
</div>
</a>
</div>
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\" class=\"cover-container\">
<span class=\"name\">{{ item.nameLocale(app.request.locale) }}</span>
<span class=\"subname\">{{ item.usecaseLocale(app.request.locale) }}</span>
<span class=\"category\">{{ 'menu_bons'|tr(tr)|upper|raw }}</span>
</a>
<div class=\"additional\" >
{{ item.additionalLocale(app.request.locale)|raw }}
</div>
<div class=\"actions2 one\">
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<span class=\"price\">{{ item.priceFr }} €</span>
<p class=\"no-cart fast-cart text-black p-0\">Je commande</p>
</a>
</div>
<div class=\"options small\" href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<label>{{ 'shop_product_options_title2'|tr(tr)|raw }}</label>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
Restaurant
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.restaurant == true %}
<li class=\"option-{{option.id}}\" style=\"height: 85px\">
{% if option.desc != '' %}<span class=\"infos\" data-desc=\"{{ option.desc }}\" title=\"{{ option.desc }}\">i</span>{% endif %}
<p class=\"title\">{{ option.name }}<br>{% if option.sub != '' %} <span class=\"sub\">{{ option.sub }}</span> {% endif %}</p>
<p class=\"price\">(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
<div class=\"col-12\">
<span class=\"option-content\">
Lounge Club
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.lounge == true %}
<li class=\"option-{{option.id}}\">
<p class=\"title\">{{ option.name }}<br>{% if option.lounge %}<span>Lounge Club</span>{% endif %}</p>
<p class=\"price\" {% if not option.lounge and option.id < 3 %}style=\"margin-top: 10px;\"{% endif %}>(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
{{ 'cadeau_title'|tr(tr)|raw }}
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.boutique == true %}
<li class=\"option-{{option.id}}\">
{% if option.desc != '' %}<span class=\"infos\" data-desc=\"{{ option.desc }}\" title=\"{{ option.desc }}\">i</span>{% endif %}
<p class=\"title\">{{ option.name }}<br>{% if option.lounge %}<span>Lounge Club</span>{% endif %}</p>
<p class=\"price\" {% if not option.lounge and option.id < 3 %}style=\"margin-top: 10px;\"{% endif %}>(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
<h3 class=\"shop_bons_section mt-5\">{{ 'shop_bons_section2'|tr(tr)|upper|raw }}</h3>
<div class=\"items-slider pack-slider espace-content p-0 mt-3 mb-5\">
<div class=\"content pb-5 mt-3\">
<div class=\"row shop_bons_section2\" id=\"bon-cadeau-results\">
{% for item in bons %}
{% set saved = false %}
{% for bookmark in bookmarks %}
{% if bookmark.product.id == item.id %}
{% set saved = true %}
{% endif %}
{% endfor %}
{% if item.slug in ['bon-cadeau-28', 'bon-cadeau-29', 'bon-cadeau-30'] %}
<div class=\"item col-md-6 col-lg-4 mb-5\" id=\"{{ item.slug }}\">
<div class=\"bon-cadeau\">
<div class=\"col-md-12\">
<a href=\"#\" class=\"favoris trigger-modal {{ (is_granted('IS_AUTHENTICATED_REMEMBERED')) ? 'bookmark' : 'not-logged-in' }} {{ (saved) ? 'saved' : '' }}\" data-id=\"{{ item.id }}\"><i></i></a>
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\" class=\"cover-container\">
<div class=\"per-person\"><span>{{ 'shop_bons_person'|tr(tr)|raw }}</span> <img height=\"11px\" src=\"/front/img/user-icon.svg\" alt=\"person\"></div>
{# <div class=\"name-hover\"><p>{{ item.nameLocale(app.request.locale)|replace({'Formule ': ''})|upper }}</p> <span>Valable saison 2022-2023</span></div> #}
<img alt=\"{{ item.nameLocale(app.request.locale) }}\" class=\"cover\" src=\"/uploads/products/{{item.id}}/{{item.mainImage}}\" />
<div class=\"date-article\">
<p>{{ 'shop_bons_valable'|tr(tr)|raw }} </p>
</div>
</a>
</div>
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\" class=\"cover-container\">
<span class=\"name\">{{ item.nameLocale(app.request.locale) }}</span>
<span class=\"subname\">{{ item.usecaseLocale(app.request.locale) }}</span>
<span class=\"category\">{{ 'menu_bons'|tr(tr)|upper|raw }}</span>
</a>
<div class=\"additional\" >
{{ item.additionalLocale(app.request.locale)|raw }}
</div>
<div class=\"actions2 one\">
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<span class=\"price\">{{ item.priceFr }} €</span>
<p class=\"no-cart fast-cart text-black p-0\">Je commande</p>
</a>
</div>
<div class=\"options small\" href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<label>{{ 'shop_product_options_title2'|tr(tr)|raw }}</label>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
Restaurant
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.restaurant == true %}
<li class=\"option-{{option.id}}\" style=\"height: 85px\">
{% if option.desc != '' %}<span class=\"infos\" data-desc=\"{{ option.desc }}\" title=\"{{ option.desc }}\">i</span>{% endif %}
<p class=\"title\">{{ option.name }}<br>{% if option.sub != '' %} <span class=\"sub\">{{ option.sub }}</span> {% endif %}</p>
<p class=\"price\">(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
<div class=\"col-12\">
<span class=\"option-content\">
Lounge Club
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.lounge == true %}
<li class=\"option-{{option.id}}\">
<p class=\"title\">{{ option.name }}<br>{% if option.lounge %}<span>Lounge Club</span>{% endif %}</p>
<p class=\"price\" {% if not option.lounge and option.id < 3 %}style=\"margin-top: 10px;\"{% endif %}>(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
{{ 'cadeau_title'|tr(tr)|raw }}
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.boutique == true %}
<li class=\"option-{{option.id}}\">
{% if option.desc != '' %}<span class=\"infos\" data-desc=\"{{ option.desc }}\" title=\"{{ option.desc }}\">i</span>{% endif %}
<p class=\"title\">{{ option.name }}<br>{% if option.lounge %}<span>Lounge Club</span>{% endif %}</p>
<p class=\"price\" {% if not option.lounge and option.id < 3 %}style=\"margin-top: 10px;\"{% endif %}>(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
<h3 class=\"shop_bons_section mt-5\">{{ 'shop_bons_section3'|tr(tr)|upper|raw }}</h3>
<div class=\"items-slider pack-slider espace-content p-0 mt-3 mb-5\">
<div class=\"content pb-5 mt-3\">
<div class=\"row shop_bons_section2\" id=\"bon-cadeau-results\">
{% for item in bons %}
{% set saved = false %}
{% for bookmark in bookmarks %}
{% if bookmark.product.id == item.id %}
{% set saved = true %}
{% endif %}
{% endfor %}
{% if item.slug in ['bon-cadeau-31', 'bon-cadeau-32', 'bon-cadeau-33'] %}
<div class=\"item col-md-6 col-lg-4 mb-5\" id=\"{{ item.slug }}\">
<div class=\"bon-cadeau\">
<div class=\"col-md-12\">
<a href=\"#\" class=\"favoris trigger-modal {{ (is_granted('IS_AUTHENTICATED_REMEMBERED')) ? 'bookmark' : 'not-logged-in' }} {{ (saved) ? 'saved' : '' }}\" data-id=\"{{ item.id }}\"><i></i></a>
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\" class=\"cover-container\">
<div class=\"per-person\"><span>{{ 'shop_bons_person'|tr(tr)|raw }}</span> <img height=\"11px\" src=\"/front/img/user-icon.svg\" alt=\"person\"></div>
{# <div class=\"name-hover\"><p>{{ item.nameLocale(app.request.locale)|replace({'Formule ': ''})|upper }}</p> <span>Valable saison 2022-2023</span></div> #}
<img alt=\"{{ item.nameLocale(app.request.locale) }}\" class=\"cover\" src=\"/uploads/products/{{item.id}}/{{item.mainImage}}\" />
<div class=\"date-article\">
<p>{{ 'shop_bons_valable'|tr(tr)|raw }} </p>
</div>
</a>
</div>
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\" class=\"cover-container\">
<span class=\"name\">{{ item.nameLocale(app.request.locale) }}</span>
<span class=\"subname\">{{ item.usecaseLocale(app.request.locale) }}</span>
<span class=\"category\">{{ 'menu_bons'|tr(tr)|upper|raw }}</span>
</a>
<div class=\"additional\">
{{ item.additionalLocale(app.request.locale)|raw }}
</div>
<div class=\"actions2 add\">
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<span class=\"price\">{{ item.priceFr }} €</span>
<p class=\"no-cart fast-cart text-black p-0\">Je commande</p>
</a>
</div>
<div class=\"options small\" href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<label>{{ 'shop_product_options_title2'|tr(tr)|raw }}</label>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content d-none\">
Restaurant
</span>
<ul class=\"mt-3 d-none\">
{% for option in options %}
{% if option.restaurant == true %}
<li class=\"option-{{option.id}}\" style=\"height: 85px\">
<p class=\"title\">{{ option.name }}<br>{% if option.sub != '' %} <span class=\"sub\">{{ option.sub }}</span> {% endif %}</p>
<p class=\"price\">(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
<div class=\"col-12\">
<span class=\"option-content\">
Lounge Club
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.lounge == true %}
<li class=\"option-{{option.id}}\">
<p class=\"title\">{{ option.name }}<br>{% if option.lounge %}<span>Lounge Club</span>{% endif %}</p>
<p class=\"price\" {% if not option.lounge and option.id < 3 %}style=\"margin-top: 10px;\"{% endif %}>(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
{{ 'cadeau_title'|tr(tr)|raw }}
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.boutique == true %}
<li class=\"option-{{option.id}}\">
<p class=\"title\">{{ option.name }}<br>{% if option.lounge %}<span>Lounge Club</span>{% endif %}</p>
<p class=\"price\" {% if not option.lounge and option.id < 3 %}style=\"margin-top: 10px;\"{% endif %}>(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
<h3 class=\"shop_bons_section mt-5\">{{ 'shop_bons_section4'|tr(tr)|upper|raw }}</h3>
<div class=\"items-slider pack-slider espace-content p-0 mt-3 mb-5\">
<div class=\"content pb-5 mt-3\">
<div class=\"row shop_bons_section1\" id=\"bon-cadeau-results\">
{% for item in bons %}
{% set saved = false %}
{% for bookmark in bookmarks %}
{% if bookmark.product.id == item.id %}
{% set saved = true %}
{% endif %}
{% endfor %}
{% if item.slug in ['bon-cadeau-34'] %}
<div class=\"item col-md-12 col-lg-6 mb-5\" id=\"{{ item.slug }}\">
<div class=\"bon-cadeau row\">
<div class=\"col-md-5\">
<a href=\"#\" class=\"favoris trigger-modal {{ (is_granted('IS_AUTHENTICATED_REMEMBERED')) ? 'bookmark' : 'not-logged-in' }} {{ (saved) ? 'saved' : '' }}\" data-id=\"{{ item.id }}\"><i></i></a>
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<div class=\"per-person\"><span>{{ 'shop_bons_person'|tr(tr)|raw }}</span> <img height=\"11px\" src=\"/front/img/user-icon.svg\" alt=\"person\"></div>
{# <div class=\"name-hover\"><p>{{ item.nameLocale(app.request.locale)|replace({'Formule ': ''})|upper }}</p> <span>Valable saison 2022-2023</span></div> #}
<img alt=\"{{ item.nameLocale(app.request.locale) }}\" class=\"cover\" src=\"/uploads/products/{{item.id}}/{{item.mainImage}}\" />
<div class=\"date-article\">
<p>{{ 'shop_bons_valable'|tr(tr)|raw }} </p>
</div>
</a>
</div>
<div class=\"col-md-7 pt-5\">
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<span class=\"name\">{{ item.nameLocale(app.request.locale) }}</span>
<span class=\"subname\">{{ item.usecaseLocale(app.request.locale) }}</span>
<span class=\"category\">{{ 'menu_bons'|tr(tr)|upper|raw }}</span>
</a>
<div class=\"additional\">
{{ item.additionalLocale(app.request.locale)|raw }}
</div>
<div class=\"actions2\">
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<span class=\"price\">{{ item.priceFr }} €</span>
<p class=\"no-cart fast-cart text-black p-0\">Je commande</p>
</a>
</div>
<div class=\"options\" href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<label>{{ 'shop_product_options_title2'|tr(tr)|raw }}</label>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content d-none\">
Restaurant
</span>
<ul class=\"mt-3 d-none\">
{% for option in options %}
{% if option.restaurant == true %}
<li class=\"option-{{option.id}}\" style=\"height: 85px\">
<p class=\"title\">{{ option.name }}<br>{% if option.sub != '' %} <span class=\"sub\">{{ option.sub }}</span> {% endif %}</p>
<p class=\"price\">(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
<div class=\"col-12\">
<span class=\"option-content\">
Lounge Club
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.lounge == true %}
<li class=\"option-{{option.id}}\">
<p class=\"title\">{{ option.name }}<br>{% if option.lounge %}<span>Lounge Club</span>{% endif %}</p>
<p class=\"price\" {% if not option.lounge and option.id < 3 %}style=\"margin-top: 10px;\"{% endif %}>(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
<div class=\"row\">
<div class=\"col-12\">
<span class=\"option-content\">
{{ 'cadeau_title'|tr(tr)|raw }}
</span>
<ul class=\"mt-3\">
{% for option in options %}
{% if option.boutique == true %}
<li class=\"option-{{option.id}}\">
<p class=\"title\">{{ option.name }}<br>{% if option.lounge %}<span>Lounge Club</span>{% endif %}</p>
<p class=\"price\" {% if not option.lounge and option.id < 3 %}style=\"margin-top: 10px;\"{% endif %}>(+ {{ option.price }} €)</p>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
{% for item in bons %}
{% set saved = false %}
{% for bookmark in bookmarks %}
{% if bookmark.product.id == item.id %}
{% set saved = true %}
{% endif %}
{% endfor %}
{% if item.slug in ['bon-cadeau-35'] %}
<div class=\"item col-md-12 col-lg-6 mb-5 {{ loop.last ? 'last-item-class' : '' }}\" id=\"bon-cadeau-10\">
<div class=\"bon-cadeau row\" style=\"margin-top: 10px;\">
<div class=\"col-md-5\">
<div style=\"position: relative;\">
<img alt=\"{{ item.nameLocale(app.request.locale) }}\" class=\"cover\" src=\"/uploads/products/{{item.id}}/{{item.mainImage}}\" />
<div class=\"date-article\">
<p>{{ 'shop_bons_valable'|tr(tr)|raw }} </p>
</div>
</div>
</div>
<div class=\"col-md-7 pt-5\">
<div style=\"position: relative;\">
<span class=\"name\">{{ item.nameLocale(app.request.locale) }}</span>
<span class=\"subname\">{{ item.usecaseLocale(app.request.locale) }}</span>
<span class=\"category\">{{ 'menu_bons'|tr(tr)|upper|raw }}</span>
{{ item.additionalLocale(app.request.locale)|raw }}
</div>
<div class=\"actions2\">
<input type=\"hidden\" id=\"bon-cadeau-10-value\" value=\"{{ item.price }}\" />
<a href=\"#\" id=\"bon-cadeau-10-minus\">-</a><span class=\"price\">{{ item.priceFr }} €</span><a href=\"#\" id=\"bon-cadeau-10-plus\">+</a>
<a href=\"#\" class=\"add-cart fast-cart2\" data-id=\"{{item.id}}\" style=\"width: 50px\"><img alt=\"to cart\" class=\"\" src=\"/front/img/shop-cart.svg\" /></a>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
<div class=\"floating-cart\"><img src=\"/front/img/cart.svg\" alt=\"cart\" /></div>
{# <div class=\"content pb-5 mt-5\">
<div class=\"row\" id=\"bon-cadeau-results\">
{% for item in bons %}
{% set saved = false %}
{% for bookmark in bookmarks %}
{% if bookmark.product.id == item.id %}
{% set saved = true %}
{% endif %}
{% endfor %}
<div class=\"item col-md-3 mb-5\">
<div class=\"bon-cadeau\">
<a href=\"{{ (not is_granted('IS_AUTHENTICATED_REMEMBERED')) ? path('security_login') : '' }}\" data-id=\"{{ item.id }}\" class=\"favoris {{ (is_granted('IS_AUTHENTICATED_REMEMBERED')) ? 'bookmark' : '' }} {{ (saved) ? 'saved' : '' }}\"><i></i></a>
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<div class=\"per-person\"><span>{{ 'shop_bons_person'|tr(tr)|raw }}</span> <img height=\"11px\" src=\"/front/img/user-icon.svg\" alt=\"person\"></div>
<img alt=\"{{ item.nameLocale(app.request.locale) }}\" class=\"cover\" src=\"/uploads/products/{{item.id}}/{{item.mainImage}}\" />
</a>
<a href=\"/{{app.request.locale }}/{{ 'boutique'|getUrl(app.request.locale) }}/produit/{{item.slug}}\">
<span class=\"name\">{{ item.nameLocale(app.request.locale) }}</span>
<span class=\"subname\">{{ item.usecaseLocale(app.request.locale) }}</span>
<span class=\"category\">{{ 'menu_bons'|tr(tr)|upper|raw }}</span>
{{ item.additionalLocale(app.request.locale)|raw }}
</a>
<div class=\"actions\">
<span class=\"price\">{{ item.priceFr }} €</span>
<a href=\"#\" class=\"add-cart fast-cart\" data-id=\"{{item.id}}\"><img alt=\"to cart\" class=\"\" src=\"/front/img/shop-cart.svg\" /></a>
</div>
</div>
</div>
{% endfor %}
<div class=\"floating-cart\"><img src=\"/front/img/cart.svg\" alt=\"cart\" /></div>
</div>
</div> #}
</div>
{% endif %}
<section class=\"actu-content newsletter\" style=\"margin-bottom: 180px;\">
<div class=\"content mt-5 pt-5\">
<h2 class=\"mb-5 no-bar\">{{ 'newsletter_title'|tr(tr)|upper|raw }}<span class=\"full-bar\"></span></h2>
<div class=\"pt-5\">
<form>
<p class=\"title\">{{ 'newsletter_subtitle'|tr(tr)|raw }}</p>
<p class=\"desc\">{{ 'newsletter_desc'|tr(tr)|raw }}</p>
<div class=\"email-input\">
<input type=\"text\" value=\"\" placeholder=\"{{ 'newsletter_email'|tr(tr)|raw }}\" class=\"email mt-3\" />
<a href=\"#\" class=\"register\"> </a>
</div>
<div class=\"row\">
<div class=\"col-12 mt-4\">
<input type=\"checkbox\" id=\"confirm\" class=\"apple-switch\" checked=\"checked\" />
<label for=\"confirm\">{{ 'newsletter_agree'|tr(tr)|raw }}</label>
<p class=\"text-center mt-4\" id=\"message_newsletter\"></p>
</div>
</div>
</form>
</div>
</div>
</section>
{% include ('FrontBundle/Partial/modal.html.twig') %}
{% include 'FrontBundle/Partial/footer.html.twig' %}
{% endblock %}
{% block javascripts %}
<script src=\"/front/js/owl.carousel.min.js\"></script>
<script src=\"/front/js/wNumb.min.js\"></script>
<script src=\"/front/js/nouislider.min.js\"></script>
<script type=\"text/javascript\">
\$( document ).ready(function() {
if( window.innerWidth <= 768 ){
\$('#bon-cadeau-results .col-md-3').addClass('col-md-6');
\$('#bon-cadeau-results .col-md-3').removeClass('col-md-3');
}
if( window.innerWidth <= 1024 ){
\$('#bon-cadeau-results .col-md-3').addClass('col-md-4');
\$('#bon-cadeau-results .col-md-3').removeClass('col-md-3');
}
\$('.additional li').each(function(index, value) {
if(\$(this).data('info')){
var add_desc = '';
if( \$(this).data('info') == 'sp-ga' ){
/*add_desc = \"{{ 'shop_bons_desc1'|tr(tr)|raw }}\".replace(/'/g, \"\\\\'\");*/
add_desc = \"{{ 'shop_bons_desc1'|tr(tr)|raw }}\";
} else if( \$(this).data('info') == 'mj-m1' ){
/*add_desc = \"{{ 'shop_bons_desc2'|tr(tr)|raw }}\".replace(/'/g, \"\\\\'\");*/
add_desc = \"{{ 'shop_bons_desc2'|tr(tr)|raw }}\";
} else if( \$(this).data('info') == 'mj-m2' ){
/*add_desc = \"{{ 'shop_bons_desc3'|tr(tr)|raw }}\".replace(/'/g, \"\\\\'\");*/
add_desc = \"{{ 'shop_bons_desc3'|tr(tr)|raw }}\";
} else if( \$(this).data('info') == 've-m1' ){
/*add_desc = \"{{ 'shop_bons_desc4'|tr(tr)|raw }}\".replace(/'/g, \"\\\\'\");*/
add_desc = \"{{ 'shop_bons_desc4'|tr(tr)|raw }}\";
} else if( \$(this).data('info') == 've-m2' ){
/*add_desc = \"{{ 'shop_bons_desc5'|tr(tr)|raw }}\".replace(/'/g, \"\\\\'\");*/
add_desc = \"{{ 'shop_bons_desc5'|tr(tr)|raw }}\";
}
\$(this).append('<span class=\"infos\" data-desc=\"'+add_desc+'\">i</span>')
}
});
\$('.infos').each(function(index, value) {
\$(this).tooltipster({
content: \$(this).data('desc'),
delay: 200,
contentAsHTML: true,
trigger: 'click'
});
});
\$('.options p').click(function(e){
e.preventDefault();
window.location.href = \$(this).parents('.options').attr('href');
});
\$('.bookmark').click(function(e){
e.preventDefault();
var product_id = \$(this).data('id');
var element = \$(this);
if( \$(this).hasClass('saved') ){
var action = 'unsave';
} else {
var action = 'save';
}
\$.ajax({
type: \"POST\",
url: \"/shop/product/\"+action+\"/\"+product_id,
data: null,
dataType: \"json\",
success: function(response) {
if( action == 'save' ){
element.addClass('saved');
} else {
element.removeClass('saved');
}
}
});
});
});
</script>
<!-- script pour gérer la connexion lors de la demande d'ajout de favoris --->
<script>
\$(document).ready(function() {
\$('.trigger-modal').on('click', function(e) {
e.preventDefault(); // Empêche le comportement par défaut du lien
const baseUrl = \"/\" + \$(\"html\").attr(\"lang\"); // Construit la base de l'URL avec la locale
const loginUrl = baseUrl + \"/security_login\"; // Adaptez cette ligne si nécessaire
\$.ajax({
url: baseUrl + \"/user/connected\",
success: function(data) {
if (!data.isLoggedIn) {
let modalTitle, modalContent, modalButtonText;
// Définit le contenu de la modale selon la locale
switch(data.locale) {
case \"fr\":
modalTitle = \"Connexion nécessaire\";
modalContent = \"Pour réaliser cette action vous devez être connecté. Si vous n'avez pas encore de compte, vous pouvez en créer un.\";
modalButtonText = \"Se connecter\";
break;
case \"en\":
modalTitle = \"Connection required\";
modalContent = \"You must be logged in to perform this action. If you don't have an account yet, you can create one.\";
modalButtonText = \"Sign in\";
break;
case \"de\":
modalTitle = \"Verbindung erforderlich\";
modalContent = \"Um diese Aktion durchzuführen, müssen Sie angemeldet sein. Wenn Sie noch kein Konto haben, können Sie eines erstellen.\";
modalButtonText = \"Sich anmelden\";
break;
}
\$(\"#modalLoginReminderLabel\").text(modalTitle);
\$(\"#modalLoginReminder .modal-body\").text(modalContent);
\$(\".modalbutton\").text(modalButtonText).attr(\"onclick\", \"window.location.href='\" + loginUrl + \"'\");
\$(\"#modalLoginReminder\").modal('show');
}
}
});
});
});
</script>
{% endblock %}
", "FrontBundle/Page/shop2.html.twig", "/home/clients/3cdd021c67ffcc8186b679e7845b2138/sites/api-royal-palace.dix-demo.fr/13_06_24/templates/FrontBundle/Page/shop2.html.twig");
}
}