var/cache/dev/twig/d2/d245500e9edbf95720e624122a1f4290.php line 48

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* front/product/index.html.twig */
  16. class __TwigTemplate_f69e348c7e5866d4619d8eda527b7e52 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'title' => [$this'block_title'],
  29.             'meta_description' => [$this'block_meta_description'],
  30.             'meta' => [$this'block_meta'],
  31.             'stylesheets' => [$this'block_stylesheets'],
  32.             'body' => [$this'block_body'],
  33.             'javascripts' => [$this'block_javascripts'],
  34.         ];
  35.     }
  36.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  37.     {
  38.         // line 1
  39.         return "front/base.html.twig";
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = []): iterable
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/product/index.html.twig"));
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/product/index.html.twig"));
  48.         $this->parent $this->loadTemplate("front/base.html.twig""front/product/index.html.twig"1);
  49.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52.         
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54.     }
  55.     // line 2
  56.     /**
  57.      * @return iterable<null|scalar|\Stringable>
  58.      */
  59.     public function block_title(array $context, array $blocks = []): iterable
  60.     {
  61.         $macros $this->macros;
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  66.         yield "Sunshine Elegance | ";
  67.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["productName"]) || array_key_exists("productName"$context) ? $context["productName"] : (function () { throw new RuntimeError('Variable "productName" does not exist.'2$this->source); })()), "html"nulltrue);
  68.         yield " ";
  69.         
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71.         
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73.         yield from [];
  74.     }
  75.     // line 3
  76.     /**
  77.      * @return iterable<null|scalar|\Stringable>
  78.      */
  79.     public function block_meta_description(array $context, array $blocks = []): iterable
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  86.         // line 4
  87.         yield "    ";
  88.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'4$this->source); })()), "metaDescription", [], "any"falsefalsefalse4)) {
  89.             // line 5
  90.             yield "        ";
  91.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$this->extensions['Twig\Extra\String\StringExtension']->createUnicodeString(Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'5$this->source); })()), "metaDescription", [], "any"falsefalsefalse5))), "truncate", [155"…"], "method"falsefalsefalse5), "html"nulltrue);
  92.             yield "
  93.     ";
  94.         } else {
  95.             // line 7
  96.             yield "        ";
  97.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$this->extensions['Twig\Extra\String\StringExtension']->createUnicodeString(Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'7$this->source); })()), "description", [], "any"falsefalsefalse7))), "truncate", [155"…"], "method"falsefalsefalse7), "html"nulltrue);
  98.             yield "
  99.     ";
  100.         }
  101.         
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  103.         
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  105.         yield from [];
  106.     }
  107.     // line 10
  108.     /**
  109.      * @return iterable<null|scalar|\Stringable>
  110.      */
  111.     public function block_meta(array $context, array $blocks = []): iterable
  112.     {
  113.         $macros $this->macros;
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  118.         // line 11
  119.         yield "    <meta name=\"keywords\" content=\"\">
  120.     <meta name=\"description\" content=\"";
  121.         // line 12
  122.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'12$this->source); })()), "description", [], "any"falsefalsefalse12)), "html"nulltrue);
  123.         yield "\">
  124.     <meta name=\"author\" content=\"Sunshine-Elegance\">
  125.     <!-- Facebook OG -->
  126. ";
  127.         // line 16
  128.         yield "
  129.     <meta property=\"og:image\" content=\"";
  130.         // line 17
  131.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("images/300-400/" . (isset($context["productImg"]) || array_key_exists("productImg"$context) ? $context["productImg"] : (function () { throw new RuntimeError('Variable "productImg" does not exist.'17$this->source); })())))), "html"nulltrue);
  132.         yield "\">
  133.     <meta property=\"og:url\" content=\"https://www.sunshineelegance.tn/\">
  134.     <meta property=\"og:type\" content=\"article\">
  135.     <meta property=\"og:title\" content=\"Sunshine Elegance | ";
  136.         // line 20
  137.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["productName"]) || array_key_exists("productName"$context) ? $context["productName"] : (function () { throw new RuntimeError('Variable "productName" does not exist.'20$this->source); })()), "html"nulltrue);
  138.         yield " \">
  139.     <meta property=\"og:description\" content=\"";
  140.         // line 21
  141.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'21$this->source); })()), "description", [], "any"falsefalsefalse21)), "html"nulltrue);
  142.         yield "\">
  143.     <!-- Twitter OG -->
  144.     <meta name=\"twitter:title\" content=\"Sunshine Elegance | ";
  145.         // line 23
  146.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["productName"]) || array_key_exists("productName"$context) ? $context["productName"] : (function () { throw new RuntimeError('Variable "productName" does not exist.'23$this->source); })()), "html"nulltrue);
  147.         yield " \">
  148.     <meta name=\"twitter:description\" content=\"";
  149.         // line 24
  150.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'24$this->source); })()), "description", [], "any"falsefalsefalse24)), "html"nulltrue);
  151.         yield " \">
  152.     <meta name=\"twitter:image\" content=\"";
  153.         // line 25
  154.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("images/300-400/" . (isset($context["productImg"]) || array_key_exists("productImg"$context) ? $context["productImg"] : (function () { throw new RuntimeError('Variable "productImg" does not exist.'25$this->source); })())))), "html"nulltrue);
  155.         yield "\">
  156.     <meta name=\"twitter:card\" content=\"summary_large_image\">
  157. ";
  158.         
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  160.         
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  162.         yield from [];
  163.     }
  164.     // line 28
  165.     /**
  166.      * @return iterable<null|scalar|\Stringable>
  167.      */
  168.     public function block_stylesheets(array $context, array $blocks = []): iterable
  169.     {
  170.         $macros $this->macros;
  171.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  172.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  173.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  174.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  175.         // line 29
  176.         yield "    ";
  177.         yield from $this->yieldParentBlock("stylesheets"$context$blocks);
  178.         yield "
  179.     <script>
  180.         var ID = '";
  181.         // line 31
  182.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["id"]) || array_key_exists("id"$context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.'31$this->source); })()), "html"nulltrue);
  183.         yield "';
  184.     </script>
  185. ";
  186.         
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  188.         
  189.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  190.         yield from [];
  191.     }
  192.     // line 34
  193.     /**
  194.      * @return iterable<null|scalar|\Stringable>
  195.      */
  196.     public function block_body(array $context, array $blocks = []): iterable
  197.     {
  198.         $macros $this->macros;
  199.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  200.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  201.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  202.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  203.         // line 35
  204.         yield "    ";
  205.         // line 36
  206.         yield "    <main class=\"main\" id=\"app\" v-cloak>
  207.         <div class=\"page-header breadcrumb-wrap\">
  208.             <div class=\"container\">
  209.                 <div class=\"breadcrumb\">
  210.                     <a href=\"";
  211.         // line 40
  212.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
  213.         yield "\" rel=\"nofollow\">Acceuil</a>
  214.                     ";
  215.         // line 41
  216.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["categorie"] ?? null), "parent", [], "any"falsetruefalse41), "parent", [], "any"truetruefalse41) &&  !(null === CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'41$this->source); })()), "parent", [], "any"falsefalsefalse41), "parent", [], "any"falsefalsefalse41)))) {
  217.             // line 42
  218.             yield "                        <span></span> <a href=\"";
  219.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category_new", ["id" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'42$this->source); })()), "parent", [], "any"falsefalsefalse42), "parent", [], "any"falsefalsefalse42), "id", [], "any"falsefalsefalse42), "name" => $this->extensions['Twig\Extra\String\StringExtension']->createSlug(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'42$this->source); })()), "parent", [], "any"falsefalsefalse42), "parent", [], "any"falsefalsefalse42), "name", [], "any"falsefalsefalse42))]), "html"nulltrue);
  220.             yield "\"
  221.                                          rel=\"nofollow\">";
  222.             // line 43
  223.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'43$this->source); })()), "parent", [], "any"falsefalsefalse43), "parent", [], "any"falsefalsefalse43), "name", [], "any"falsefalsefalse43), "html"nulltrue);
  224.             yield "</a>
  225.                     ";
  226.         }
  227.         // line 45
  228.         yield "                    ";
  229.         if (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'45$this->source); })()), "parent", [], "any"falsefalsefalse45)) &&  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'45$this->source); })()), "parent", [], "any"falsefalsefalse45)))) {
  230.             // line 46
  231.             yield "                        <span></span> <a href=\"";
  232.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category_new", ["id" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'46$this->source); })()), "parent", [], "any"falsefalsefalse46), "id", [], "any"falsefalsefalse46), "name" => $this->extensions['Twig\Extra\String\StringExtension']->createSlug(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'46$this->source); })()), "parent", [], "any"falsefalsefalse46), "name", [], "any"falsefalsefalse46))]), "html"nulltrue);
  233.             yield "\"
  234.                                          rel=\"nofollow\">";
  235.             // line 47
  236.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'47$this->source); })()), "parent", [], "any"falsefalsefalse47), "name", [], "any"falsefalsefalse47), "html"nulltrue);
  237.             yield "</a>
  238.                     ";
  239.         }
  240.         // line 49
  241.         yield "                    <span></span> <a
  242.                             href=\"";
  243.         // line 50
  244.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category_new", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'50$this->source); })()), "getId", [], "method"falsefalsefalse50), "name" => $this->extensions['Twig\Extra\String\StringExtension']->createSlug(CoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'50$this->source); })()), "name", [], "any"falsefalsefalse50))]), "html"nulltrue);
  245.         yield "\" rel=\"nofollow\">";
  246.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'50$this->source); })()), "getName", [], "method"falsefalsefalse50), "html"nulltrue);
  247.         yield "</a>
  248.                     <span></span> ";
  249.         // line 51
  250.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["productName"]) || array_key_exists("productName"$context) ? $context["productName"] : (function () { throw new RuntimeError('Variable "productName" does not exist.'51$this->source); })()), "html"nulltrue);
  251.         yield "
  252.                 </div>
  253.             </div>
  254.         </div>
  255.         <section class=\"mt-50 mb-50\">
  256.             <div class=\"container\">
  257.                 <div class=\"row flex-row-reverse\">
  258.                     <div class=\"col-lg-12\">
  259.                         <div class=\"product-detail accordion-detail\">
  260.                             <div class=\"row mb-50\">
  261.                                 <div class=\"col-md-5 col-sm-12 col-xs-12\">
  262.                                     <div class=\"detail-gallery\">
  263.                                         <span class=\"zoom-icon\"><i class=\"fi-rs-search\"></i></span>
  264.                                         <!-- MAIN SLIDES -->
  265.                                         <div class=\"product-image-slider\">
  266.                                             <figure class=\"border-radius-10\" v-for=\"entry in produit.picture\">
  267.                                                 <img :src=\"'";
  268.         // line 67
  269.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["APP_URL"]) || array_key_exists("APP_URL"$context) ? $context["APP_URL"] : (function () { throw new RuntimeError('Variable "APP_URL" does not exist.'67$this->source); })()), "html"nulltrue);
  270.         yield "/images/'+produit.fichePicture\"
  271.                                                      :alt=\"produit.name\">
  272.                                             </figure>
  273.                                             <!--<figure class=\"border-radius-10\">
  274.                                                 <img src=\"../front/assets/imgs/shop/product-16-1.jpg\" alt=\"product image\">
  275.                                             </figure>
  276.                                             <figure class=\"border-radius-10\">
  277.                                                 <img src=\"../front/assets/imgs/shop/product-16-3.jpg\" alt=\"product image\">
  278.                                             </figure>
  279.                                             <figure class=\"border-radius-10\">
  280.                                                 <img src=\"../front/assets/imgs/shop/product-16-4.jpg\" alt=\"product image\">
  281.                                             </figure>
  282.                                             <figure class=\"border-radius-10\">
  283.                                                 <img src=\"../front/assets/imgs/shop/product-16-5.jpg\" alt=\"product image\">
  284.                                             </figure>
  285.                                             <figure class=\"border-radius-10\">
  286.                                                 <img src=\"../front/assets/imgs/shop/product-16-6.jpg\" alt=\"product image\">
  287.                                             </figure>
  288.                                             <figure class=\"border-radius-10\">
  289.                                                 <img src=\"../front/assets/imgs/shop/product-16-7.jpg') }}\" alt=\"product image\">
  290.                                             </figure>-->
  291.                                         </div>
  292.                                         <!-- THUMBNAILS -->
  293.                                         <div class=\"slider-nav-thumbnails pl-15 pr-15\">
  294. ";
  295.         // line 95
  296.         yield "                                            <div :class=\"entry==produit.fichePicture ? 'slick-slide slick-current slick-active' : 'slick-slide slick-active'\" v-for=\"(entry,index) in produit.picture\" @click=\"getThumbs(entry)\">
  297.                                                 <img :src=\"'";
  298.         // line 96
  299.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["APP_URL"]) || array_key_exists("APP_URL"$context) ? $context["APP_URL"] : (function () { throw new RuntimeError('Variable "APP_URL" does not exist.'96$this->source); })()), "html"nulltrue);
  300.         yield "/images/300-400/'+entry\" :alt=\"produit.name\">
  301.                                             </div>
  302.                                         </div>
  303.                                     </div>
  304.                                     <!-- End Gallery -->
  305.                                     <div class=\"social-icons single-share\">
  306.                                         <ul class=\"text-grey-5 d-inline-block\">
  307.                                             <li><strong class=\"mr-10\">Partage ça:</strong></li>
  308.                                             <li class=\"social-facebook\"><a href=\"#\"><img src=\"";
  309.         // line 104
  310.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["APP_URL"]) || array_key_exists("APP_URL"$context) ? $context["APP_URL"] : (function () { throw new RuntimeError('Variable "APP_URL" does not exist.'104$this->source); })()), "html"nulltrue);
  311.         yield "/front/assets/imgs/theme/icons/icon-facebook.svg\" alt=\"Sunshine Elegance\"></a></li>
  312.                                             ";
  313.         // line 106
  314.         yield "                                            <li class=\"social-instagram\"><a href=\"#\"><img src=\"";
  315.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["APP_URL"]) || array_key_exists("APP_URL"$context) ? $context["APP_URL"] : (function () { throw new RuntimeError('Variable "APP_URL" does not exist.'106$this->source); })()), "html"nulltrue);
  316.         yield "/front/assets/imgs/theme/icons/icon-instagram.svg\" alt=\"Sunshine Elegance\"></a></li>
  317.                                             ";
  318.         // line 108
  319.         yield "                                        </ul>
  320.                                     </div>
  321.                                 </div>
  322.                                 <div class=\"col-md-7 col-sm-12 col-xs-12\">
  323.                                     <div class=\"detail-info p-15\">
  324.                                         <h2 class=\"title-detail\">\${ produit.name }</h2>
  325.                                         <!--<div class=\"product-detail-rating\">
  326.                                             <div class=\"pro-details-brand\">
  327.                                                 <span> Brands: <a href=\"shop-grid-right.html\">Bootstrap</a></span>
  328.                                             </div>
  329.                                             <div class=\"product-rate-cover text-end\">
  330.                                                 <div class=\"product-rate d-inline-block\">
  331.                                                     <div class=\"product-rating\" style=\"width:90%\">
  332.                                                     </div>
  333.                                                 </div>
  334.                                                 <span class=\"font-small ml-5 text-muted\"> (25 reviews)</span>
  335.                                             </div>
  336.                                         </div>-->
  337.                                         <div class=\"clearfix product-price-cover\" >
  338.                                             <div class=\"product-price primary-color float-left\">
  339.                                                 ";
  340.         // line 129
  341.         yield "                                                ";
  342.         // line 131
  343.         yield "                                                <ins><span class=\"text-brand\">\${ selectedDeclinaison.price_ttc } <sup
  344.                                                                 class=\"currency-style\">TND</sup></span></ins>
  345.                                                 ";
  346.         // line 136
  347.         yield "                                                <ins><span class=\"old-price font-md ml-15\"
  348.                                                            v-if=\"selectedDeclinaison.in_promo\">\${ selectedDeclinaison.price_ht } <sup
  349.                                                                 class=\"currency-style\">TND</sup></span></ins>
  350.                                                 <span class=\"save-price font-md color3 ml-15\"
  351.                                                       v-if=\"selectedDeclinaison.in_promo && produit.promo.discountType=='amount'\">-\${ produit.promo.discountValue.toFixed(3) } <sup
  352.                                                             class=\"currency-style\">TND</sup> Remise</span>
  353.                                                 <span class=\"save-price font-md color3 ml-15\"
  354.                                                       v-if=\"selectedDeclinaison.in_promo && produit.promo.discountType=='percent'\">-\${ produit.promo.discountValue } % Remise</span>
  355.                                             </div>
  356.                                         </div>
  357.                                         <div class=\"bt-1 border-color-1 mt-15 mb-15\"></div>
  358.                                         <div class=\"short-desc mb-15\" id=\"article\">
  359.                                             <p>\${ produit.description }</p>
  360.                                         </div>
  361.                                         <div class=\"short-desc mb-30\">
  362.                                             <p v-html=\"produit.specification\"></p>
  363.                                         </div>
  364.                                         <!-- Liste des couleurs -->
  365.                                         ";
  366.         // line 163
  367.         yield "                                        <div class=\"attr-detail attr-size mb-15\">
  368.                                             <strong class=\"mr-10\">Couleurs</strong>
  369.                                             <ul class=\"list-filter color-filter multi\">
  370.                                                 <li :class=\"entry.name==selectedDeclinaison.couleur.name ? 'active' : ''\"
  371.                                                     v-for=\"entry in produit.couleurs\"
  372.                                                     @click=\"getTailles(entry.name,produit.declinaisons_produit)\">
  373.                                                     <a href=\"#&\" :title=\"entry.name\">
  374.                                                         <span :style=\"{ 'background-color': entry.code ? entry.code :'#fff','border': '1px solid #ddd' }\"></span>
  375.                                                     </a>
  376.                                                 </li>
  377.                                             </ul>
  378.                                         </div>
  379.                                         <!-- Liste des tailles -->
  380.                                         <div class=\"attr-detail attr-size\">
  381.                                             <strong class=\"mr-10\">Tailles</strong>
  382.                                             <ul class=\"list-filter size-filter font-small\">
  383.                                                 <li v-for=\"(entry,key) in produit.tailles\"
  384.                                                     :class=\"[(entry.taille==selectedDeclinaison.taille ? 'active' : ''), (entry.qty<=0 ? 'disabled-123' : '')]\"
  385.                                                     style=\"margin-right:3px;margin-bottom:3px\"
  386.                                                     @click=\"selectTaille(entry)\"><a href=\"#&\">\${ entry.taille }</a></li>
  387.                                             </ul>
  388.                                         </div>
  389.                                         <div class=\"bt-1 border-color-1 mt-30 mb-30\"></div>
  390.                                         <div class=\"detail-extralink\">
  391.                                             <div class=\"detail-qty border radius\">
  392.                                                 <a href=\"#&\" class=\"qty-down-123\" @click=\"incrementQty('-',selectedDeclinaison.id)\"><i class=\"fi-rs-angle-small-down\"></i></a>
  393.                                                 <span>\${ qty }</span>
  394.                                                 <a href=\"#&\" class=\"qty-up-123\"
  395.                                                    @click=\"incrementQty('+',selectedDeclinaison.id)\"><i
  396.                                                             class=\"fi-rs-angle-small-up\"></i></a>
  397.                                                 <!--<input type=\"number\" :max=\"selectedDeclinaison.qty\" min=\"0\">-->
  398.                                             </div>
  399.                                             <div class=\"product-extra-link2\">
  400.                                                 <button :class=\"['button button-add-to-cart', (selectedDeclinaison.qty<=0 ? 'disabled' : '')]\"
  401.                                                         @click=\"addProduct(qty)\">Ajouter au panier
  402.                                                 </button>
  403.                                                 <!--<a aria-label=\"Add To Wishlist\" class=\"action-btn hover-up\" href=\"shop-wishlist.html\"><i class=\"fi-rs-heart\"></i></a>
  404.                                                 <a aria-label=\"Compare\" class=\"action-btn hover-up\" href=\"shop-compare.html\"><i class=\"fi-rs-shuffle\"></i></a>-->
  405.                                             </div>
  406.                                         </div>
  407.                                         <ul class=\"product-meta font-xs color-grey mt-50\">
  408.                                             <li class=\"mb-5\">Référence: <a href=\"#\">\${ selectedDeclinaison.ref }</a>
  409.                                             </li>
  410.                                             <!--<li class=\"mb-5\">Tags: <a href=\"#\" rel=\"tag\">Cloth</a>, <a href=\"#\" rel=\"tag\">Women</a>, <a href=\"#\" rel=\"tag\">Dress</a> </li>-->
  411.                                             <li>
  412.                                                 Disponibilité:
  413.                                                 <!--<span class=\"in-stock text-success ml-5\" v-if=\"selectedDeclinaison.qty>0\">\${ selectedDeclinaison.qty } articles restants</span>-->
  414.                                                 <span class=\"in-stock text-danger ml-5\"
  415.                                                       v-if=\"selectedDeclinaison.qty<=0\">Produit en rupture de stock</span>
  416.                                                 <span class=\"in-stock text-danger ml-5\"
  417.                                                       v-if=\"selectedDeclinaison.qty<=5 && selectedDeclinaison.qty>0\">Risque de rupture de stock</span>
  418.                                                 <span class=\"in-stock text-success ml-5\"
  419.                                                       v-if=\"selectedDeclinaison.qty>5\">Produit en stock</span>
  420.                                             </li>
  421.                                         </ul>
  422.                                         <div class=\"product_sort_info font-xs mb-30  mt-10\">
  423.                                             <ul>
  424.                                                 <!--<li class=\"mb-10\"><i class=\"fi-rs-crown mr-5\"></i> 1 Year AL Jazeera Brand Warranty</li>-->
  425.                                                 <li class=\"mb-10\"><i class=\"fi-rs-refresh mr-5\"></i> Politique de retour de 3 jours</li>
  426.                                                 <li><i class=\"fi-rs-credit-card mr-5\"></i> Paiement à la livraison</li>
  427.                                             </ul>
  428.                                         </div>
  429.                                     </div>
  430.                                     <!-- Detail Info -->
  431.                                 </div>
  432.                             </div>
  433.                             <div class=\"tab-style3\">
  434.                                 <ul class=\"nav nav-tabs text-uppercase\">
  435.                                     <li class=\"nav-item\">
  436.                                         <a class=\"nav-link active\" id=\"Additional-info-tab\" data-bs-toggle=\"tab\"
  437.                                            href=\"#Additional-info\"><span style=\"color: #f7971e\">Informations additionnelles</span></a>
  438.                                     </li>
  439.                                 </ul>
  440.                                 <div class=\"tab-content shop_info_tab entry-main-content\">
  441.                                     <div class=\"tab-pane fade show active\" id=\"Additional-info\">
  442.                                         <table class=\"font-md\">
  443.                                             <tbody>
  444.                                             <tr class=\"pa_color\">
  445.                                                 <th>Couleurs</th>
  446.                                                 <td>
  447.                                                     <ul class=\"list-filter color-filter multi\">
  448.                                                         <li v-for=\"entry in produit.couleurs\">
  449.                                                             <a href=\"#&\" :title=\"entry.name\">
  450.                                                                 <span :style=\"{ 'background-color': entry.code ? entry.code :'#fff','border': '1px solid #ddd' }\"></span>
  451.                                                             </a>
  452.                                                         </li>
  453.                                                     </ul>
  454.                                                 </td>
  455.                                             </tr>
  456.                                             <tr class=\"pa_size\">
  457.                                                 <th>Tailles</th>
  458.                                                 <td>
  459.                                                     <p v-for=\"entry in produit.tailles\">\${ entry.taille }</p>
  460.                                                 </td>
  461.                                             </tr>
  462.                                             </tbody>
  463.                                         </table>
  464.                                     </div>
  465.                                 </div>
  466.                             </div>
  467. ";
  468.         // line 299
  469.         yield "
  470. ";
  471.         // line 313
  472.         yield "
  473. ";
  474.         // line 317
  475.         yield "                        </div>
  476.                     </div>
  477.                     ";
  478.         // line 328
  479.         yield "                    </div>
  480.                 <div class=\"row mt-60\">
  481.                     <div class=\"col-12\">
  482.                         <h3 class=\"section-title style-1 mb-30\">Produits dans la même catégorie</h3>
  483.                     </div>
  484.                     <div class=\"col-12\">
  485.                         <div class=\"row related-products\">
  486.                             ";
  487.         // line 335
  488.         $context['_parent'] = $context;
  489.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["relatedProduct"]) || array_key_exists("relatedProduct"$context) ? $context["relatedProduct"] : (function () { throw new RuntimeError('Variable "relatedProduct" does not exist.'335$this->source); })()));
  490.         foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  491.             // line 336
  492.             yield "                                <div class=\"col-lg-3 col-md-4 col-12 col-sm-6\">
  493.                                     <div class=\"product-cart-wrap small hover-up\">
  494.                                         <div class=\"product-img-action-wrap\">
  495.                                             <div class=\"product-img product-img-zoom\">
  496.                                                 <a href=\"";
  497.             // line 340
  498.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product_new", ["id" => CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse340), "name" => $this->extensions['Twig\Extra\String\StringExtension']->createSlug(CoreExtension::getAttribute($this->env$this->source$context["product"], "name", [], "any"falsefalsefalse340))]), "html"nulltrue);
  499.             yield "\" style=\"height: 100%\">
  500.                                                     <img class=\"default-img\" src=\"";
  501.             // line 341
  502.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/images/300-400/" CoreExtension::getAttribute($this->env$this->source$context["product"], "image", [], "any"falsefalsefalse341)))), "html"nulltrue);
  503.             yield "\" alt=\"";
  504.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "name", [], "any"falsefalsefalse341), "html"nulltrue);
  505.             yield "\"
  506.                                                          style=\"width: 100%\">
  507.                                                     ";
  508.             // line 344
  509.             yield "                                                </a>
  510.                                             </div>
  511.                                             ";
  512.             // line 352
  513.             yield "                                            ";
  514.             if ((((CoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse352) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse352), "isValid", [], "any"falsefalsefalse352)) || (CoreExtension::getAttribute($this->env$this->source$context["product"], "stock", [], "any"falsefalsefalse352) == 0)) || CoreExtension::getAttribute($this->env$this->source$context["product"], "isNew", [], "any"falsefalsefalse352))) {
  515.                 // line 353
  516.                 yield "                                                <div class=\"product-badges product-badges-position product-badges-mrg\">
  517.                                                     ";
  518.                 // line 354
  519.                 if ((CoreExtension::getAttribute($this->env$this->source$context["product"], "stock", [], "any"falsefalsefalse354) == 0)) {
  520.                     // line 355
  521.                     yield "                                                        <span class=\"hot mr-1\"
  522.                                                               style=\"margin-right: 2px;font-size: 10px;\">Rupture de stock</span>
  523.                                                     ";
  524.                 }
  525.                 // line 358
  526.                 yield "                                                    ";
  527.                 if (CoreExtension::getAttribute($this->env$this->source$context["product"], "isNew", [], "any"falsefalsefalse358)) {
  528.                     // line 359
  529.                     yield "                                                        <span  class=\"new mr-1\"
  530.                                                               style=\"margin-right: 2px;font-size: 10px;\">Nouveau</span>
  531.                                                     ";
  532.                 }
  533.                 // line 362
  534.                 yield "                                                    ";
  535.                 if (((CoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse362) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse362), "isValid", [], "any"falsefalsefalse362)) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse362), "discountType", [], "any"falsefalsefalse362) == "amount"))) {
  536.                     // line 363
  537.                     yield "                                                        <span class=\"best\"
  538.                                                               style=\"font-size: 10px;\">-";
  539.                     // line 364
  540.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse364), "discountValue", [], "any"falsefalsefalse364), "html"nulltrue);
  541.                     yield " <sup
  542.                                                                     class=\"currency-style\">TND</sup></span>
  543.                                                     ";
  544.                 }
  545.                 // line 367
  546.                 yield "                                                    ";
  547.                 if (((CoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse367) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse367), "isValid", [], "any"falsefalsefalse367)) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse367), "discountType", [], "any"falsefalsefalse367) == "percent"))) {
  548.                     // line 368
  549.                     yield "                                                        <span class=\"best\"
  550.                                                               style=\"font-size: 10px;\">-";
  551.                     // line 369
  552.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse369), "discountValue", [], "any"falsefalsefalse369), "html"nulltrue);
  553.                     yield " %</span>
  554.                                                     ";
  555.                 }
  556.                 // line 371
  557.                 yield "                                                </div>
  558.                                             ";
  559.             }
  560.             // line 373
  561.             yield "                                        </div>
  562.                                         <div class=\"product-content-wrap\">
  563.                                             <h2><a href=\"";
  564.             // line 375
  565.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product_new", ["id" => CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse375), "name" => $this->extensions['Twig\Extra\String\StringExtension']->createSlug(CoreExtension::getAttribute($this->env$this->source$context["product"], "name", [], "any"falsefalsefalse375))]), "html"nulltrue);
  566.             yield "\">";
  567.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "name", [], "any"falsefalsefalse375), "html"nulltrue);
  568.             yield "</a></h2>
  569.                                             ";
  570.             // line 380
  571.             yield "                                            <div class=\"product-price\">
  572.                                                 ";
  573.             // line 381
  574.             if (((CoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse381) == null) || (CoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse381) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse381), "isValid", [], "any"falsefalsefalse381) == false)))) {
  575.                 // line 382
  576.                 yield "                                                    <span>";
  577.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "getPriceTtc", [], "method"falsefalsefalse382), "html"nulltrue);
  578.                 yield " <sup
  579.                                                                 class=\"currency-style\">TND</sup></span>
  580.                                                 ";
  581.             }
  582.             // line 385
  583.             yield "                                                ";
  584.             if (((CoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse385) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse385), "isValid", [], "any"falsefalsefalse385)) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse385), "discountType", [], "any"falsefalsefalse385) == "amount"))) {
  585.                 // line 386
  586.                 yield "                                                    <span>";
  587.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env$this->source$context["product"], "getPriceTtc", [], "method"falsefalsefalse386) - CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse386), "discountValue", [], "any"falsefalsefalse386)), "html"nulltrue);
  588.                 yield " <sup
  589.                                                                 class=\"currency-style\">TND</sup></span>
  590.                                                 ";
  591.             }
  592.             // line 389
  593.             yield "                                                ";
  594.             if (((CoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse389) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse389), "isValid", [], "any"falsefalsefalse389)) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse389), "discountType", [], "any"falsefalsefalse389) == "percent"))) {
  595.                 // line 390
  596.                 yield "                                                    <span>";
  597.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env$this->source$context["product"], "getPriceTtc", [], "method"falsefalsefalse390) - ((CoreExtension::getAttribute($this->env$this->source$context["product"], "getPriceTtc", [], "method"falsefalsefalse390) * CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse390), "discountValue", [], "any"falsefalsefalse390)) / 100)), "html"nulltrue);
  598.                 yield " <sup
  599.                                                                 class=\"currency-style\">TND</sup></span>
  600.                                                 ";
  601.             }
  602.             // line 393
  603.             yield "                                                ";
  604.             if ((CoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse393) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "promotion", [], "any"falsefalsefalse393), "isValid", [], "any"falsefalsefalse393))) {
  605.                 // line 394
  606.                 yield "                                                    <span class=\"old-price\">";
  607.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "getPriceTtc", [], "method"falsefalsefalse394), "html"nulltrue);
  608.                 yield " <sup
  609.                                                                 class=\"currency-style\">TND</sup></span>
  610.                                                 ";
  611.             }
  612.             // line 397
  613.             yield "                                            </div>
  614.                                         </div>
  615.                                     </div>
  616.                                 </div>
  617.                             ";
  618.         }
  619.         $_parent $context['_parent'];
  620.         unset($context['_seq'], $context['_key'], $context['product'], $context['_parent']);
  621.         $context array_intersect_key($context$_parent) + $_parent;
  622.         // line 402
  623.         yield "                        </div>
  624.                     </div>
  625.                 </div>
  626.                 </div>
  627.             </div>
  628.         </section>
  629.     </main>
  630.     ";
  631.         
  632.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  633.         
  634.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  635.         yield from [];
  636.     }
  637.     // line 413
  638.     /**
  639.      * @return iterable<null|scalar|\Stringable>
  640.      */
  641.     public function block_javascripts(array $context, array $blocks = []): iterable
  642.     {
  643.         $macros $this->macros;
  644.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  645.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  646.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  647.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  648.         // line 414
  649.         yield "    ";
  650.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  651.         yield "
  652.     <script src=\"";
  653.         // line 415
  654.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front/assets/scripts/product/index.js"), "html"nulltrue);
  655.         yield "\"></script>
  656.     <script>
  657.         \$( document ).ready(function() {
  658.             window.scrollTo(0,200);
  659.         });
  660.     </script>
  661. ";
  662.         
  663.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  664.         
  665.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  666.         yield from [];
  667.     }
  668.     /**
  669.      * @codeCoverageIgnore
  670.      */
  671.     public function getTemplateName(): string
  672.     {
  673.         return "front/product/index.html.twig";
  674.     }
  675.     /**
  676.      * @codeCoverageIgnore
  677.      */
  678.     public function isTraitable(): bool
  679.     {
  680.         return false;
  681.     }
  682.     /**
  683.      * @codeCoverageIgnore
  684.      */
  685.     public function getDebugInfo(): array
  686.     {
  687.         return array (  703 => 415,  698 => 414,  685 => 413,  665 => 402,  655 => 397,  648 => 394,  645 => 393,  638 => 390,  635 => 389,  628 => 386,  625 => 385,  618 => 382,  616 => 381,  613 => 380,  607 => 375,  603 => 373,  599 => 371,  594 => 369,  591 => 368,  588 => 367,  582 => 364,  579 => 363,  576 => 362,  571 => 359,  568 => 358,  563 => 355,  561 => 354,  558 => 353,  555 => 352,  551 => 344,  544 => 341,  540 => 340,  534 => 336,  530 => 335,  521 => 328,  517 => 317,  514 => 313,  511 => 299,  406 => 163,  384 => 136,  378 => 131,  376 => 129,  354 => 108,  349 => 106,  345 => 104,  334 => 96,  331 => 95,  303 => 67,  284 => 51,  278 => 50,  275 => 49,  270 => 47,  265 => 46,  262 => 45,  257 => 43,  252 => 42,  250 => 41,  246 => 40,  240 => 36,  238 => 35,  225 => 34,  211 => 31,  205 => 29,  192 => 28,  178 => 25,  174 => 24,  170 => 23,  165 => 21,  161 => 20,  155 => 17,  152 => 16,  146 => 12,  143 => 11,  130 => 10,  115 => 7,  109 => 5,  106 => 4,  93 => 3,  68 => 2,  45 => 1,);
  688.     }
  689.     public function getSourceContext(): Source
  690.     {
  691.         return new Source("{% extends 'front/base.html.twig' %}
  692. {% block title %}Sunshine Elegance | {{ productName }} {% endblock %}
  693. {% block meta_description %}
  694.     {% if product.metaDescription %}
  695.         {{ product.metaDescription|striptags|u.truncate(155, '…') }}
  696.     {% else %}
  697.         {{ product.description|striptags|u.truncate(155, '…') }}
  698.     {% endif %}
  699. {% endblock %}
  700. {% block meta %}
  701.     <meta name=\"keywords\" content=\"\">
  702.     <meta name=\"description\" content=\"{{ product.description|striptags}}\">
  703.     <meta name=\"author\" content=\"Sunshine-Elegance\">
  704.     <!-- Facebook OG -->
  705. {#    get the picture from a collection #}
  706.     <meta property=\"og:image\" content=\"{{ absolute_url(asset('images/300-400/' ~ productImg)) }}\">
  707.     <meta property=\"og:url\" content=\"https://www.sunshineelegance.tn/\">
  708.     <meta property=\"og:type\" content=\"article\">
  709.     <meta property=\"og:title\" content=\"Sunshine Elegance | {{ productName }} \">
  710.     <meta property=\"og:description\" content=\"{{ product.description|striptags}}\">
  711.     <!-- Twitter OG -->
  712.     <meta name=\"twitter:title\" content=\"Sunshine Elegance | {{ productName }} \">
  713.     <meta name=\"twitter:description\" content=\"{{ product.description|striptags}} \">
  714.     <meta name=\"twitter:image\" content=\"{{ absolute_url(asset('images/300-400/' ~ productImg)) }}\">
  715.     <meta name=\"twitter:card\" content=\"summary_large_image\">
  716. {% endblock %}
  717. {% block stylesheets %}
  718.     {{ parent() }}
  719.     <script>
  720.         var ID = '{{ id }}';
  721.     </script>
  722. {% endblock %}
  723. {% block body %}
  724.     {# {% verbatim %} #}
  725.     <main class=\"main\" id=\"app\" v-cloak>
  726.         <div class=\"page-header breadcrumb-wrap\">
  727.             <div class=\"container\">
  728.                 <div class=\"breadcrumb\">
  729.                     <a href=\"{{ path('home') }}\" rel=\"nofollow\">Acceuil</a>
  730.                     {% if categorie.parent.parent is defined and  categorie.parent.parent is not null %}
  731.                         <span></span> <a href=\"{{ path('category_new', {id: categorie.parent.parent.id , name :categorie.parent.parent.name|slug}) }}\"
  732.                                          rel=\"nofollow\">{{ categorie.parent.parent.name }}</a>
  733.                     {% endif %}
  734.                     {% if categorie.parent is not empty and  categorie.parent is not null  %}
  735.                         <span></span> <a href=\"{{ path('category_new', {id: categorie.parent.id, name :categorie.parent.name|slug}) }}\"
  736.                                          rel=\"nofollow\">{{ categorie.parent.name }}</a>
  737.                     {% endif %}
  738.                     <span></span> <a
  739.                             href=\"{{ path('category_new', {id: categorie.getId(), name :categorie.name|slug}) }}\" rel=\"nofollow\">{{ categorie.getName() }}</a>
  740.                     <span></span> {{ productName }}
  741.                 </div>
  742.             </div>
  743.         </div>
  744.         <section class=\"mt-50 mb-50\">
  745.             <div class=\"container\">
  746.                 <div class=\"row flex-row-reverse\">
  747.                     <div class=\"col-lg-12\">
  748.                         <div class=\"product-detail accordion-detail\">
  749.                             <div class=\"row mb-50\">
  750.                                 <div class=\"col-md-5 col-sm-12 col-xs-12\">
  751.                                     <div class=\"detail-gallery\">
  752.                                         <span class=\"zoom-icon\"><i class=\"fi-rs-search\"></i></span>
  753.                                         <!-- MAIN SLIDES -->
  754.                                         <div class=\"product-image-slider\">
  755.                                             <figure class=\"border-radius-10\" v-for=\"entry in produit.picture\">
  756.                                                 <img :src=\"'{{ APP_URL }}/images/'+produit.fichePicture\"
  757.                                                      :alt=\"produit.name\">
  758.                                             </figure>
  759.                                             <!--<figure class=\"border-radius-10\">
  760.                                                 <img src=\"../front/assets/imgs/shop/product-16-1.jpg\" alt=\"product image\">
  761.                                             </figure>
  762.                                             <figure class=\"border-radius-10\">
  763.                                                 <img src=\"../front/assets/imgs/shop/product-16-3.jpg\" alt=\"product image\">
  764.                                             </figure>
  765.                                             <figure class=\"border-radius-10\">
  766.                                                 <img src=\"../front/assets/imgs/shop/product-16-4.jpg\" alt=\"product image\">
  767.                                             </figure>
  768.                                             <figure class=\"border-radius-10\">
  769.                                                 <img src=\"../front/assets/imgs/shop/product-16-5.jpg\" alt=\"product image\">
  770.                                             </figure>
  771.                                             <figure class=\"border-radius-10\">
  772.                                                 <img src=\"../front/assets/imgs/shop/product-16-6.jpg\" alt=\"product image\">
  773.                                             </figure>
  774.                                             <figure class=\"border-radius-10\">
  775.                                                 <img src=\"../front/assets/imgs/shop/product-16-7.jpg') }}\" alt=\"product image\">
  776.                                             </figure>-->
  777.                                         </div>
  778.                                         <!-- THUMBNAILS -->
  779.                                         <div class=\"slider-nav-thumbnails pl-15 pr-15\">
  780. {#                                            <div>#}
  781. {#                                                <img :src=\"'{{ APP_URL }}/images/300-400/'+selectedDeclinaison.picture\" alt=\"product image\">#}
  782. {#                                            </div>#}
  783.                                             <div :class=\"entry==produit.fichePicture ? 'slick-slide slick-current slick-active' : 'slick-slide slick-active'\" v-for=\"(entry,index) in produit.picture\" @click=\"getThumbs(entry)\">
  784.                                                 <img :src=\"'{{ APP_URL }}/images/300-400/'+entry\" :alt=\"produit.name\">
  785.                                             </div>
  786.                                         </div>
  787.                                     </div>
  788.                                     <!-- End Gallery -->
  789.                                     <div class=\"social-icons single-share\">
  790.                                         <ul class=\"text-grey-5 d-inline-block\">
  791.                                             <li><strong class=\"mr-10\">Partage ça:</strong></li>
  792.                                             <li class=\"social-facebook\"><a href=\"#\"><img src=\"{{ APP_URL }}/front/assets/imgs/theme/icons/icon-facebook.svg\" alt=\"Sunshine Elegance\"></a></li>
  793.                                             {#<li class=\"social-twitter\"> <a href=\"#\"><img src=\"{{ APP_URL }}/front/assets/imgs/theme/icons/icon-twitter.svg\" alt=\"Sunshine Elegance\"></a></li>#}
  794.                                             <li class=\"social-instagram\"><a href=\"#\"><img src=\"{{ APP_URL }}/front/assets/imgs/theme/icons/icon-instagram.svg\" alt=\"Sunshine Elegance\"></a></li>
  795.                                             {#<li class=\"social-linkedin\"><a href=\"#\"><img src=\"{{ APP_URL }}/front/assets/imgs/theme/icons/icon-pinterest.svg\" alt=\"Sunshine Elegance\"></a></li>#}
  796.                                         </ul>
  797.                                     </div>
  798.                                 </div>
  799.                                 <div class=\"col-md-7 col-sm-12 col-xs-12\">
  800.                                     <div class=\"detail-info p-15\">
  801.                                         <h2 class=\"title-detail\">\${ produit.name }</h2>
  802.                                         <!--<div class=\"product-detail-rating\">
  803.                                             <div class=\"pro-details-brand\">
  804.                                                 <span> Brands: <a href=\"shop-grid-right.html\">Bootstrap</a></span>
  805.                                             </div>
  806.                                             <div class=\"product-rate-cover text-end\">
  807.                                                 <div class=\"product-rate d-inline-block\">
  808.                                                     <div class=\"product-rating\" style=\"width:90%\">
  809.                                                     </div>
  810.                                                 </div>
  811.                                                 <span class=\"font-small ml-5 text-muted\"> (25 reviews)</span>
  812.                                             </div>
  813.                                         </div>-->
  814.                                         <div class=\"clearfix product-price-cover\" >
  815.                                             <div class=\"product-price primary-color float-left\">
  816.                                                 {# <ins><span class=\"text-brand\" v-if=\"!produit.promo\">\${ selectedDeclinaison.price_ttc } <sup class=\"currency-style\">TND</sup></span></ins> #}
  817.                                                 {# <ins><span class=\"text-brand\" v-if=\"produit.promo && produit.promo.discountType=='amount'\">\${ (selectedDeclinaison.price_ttc-produit.promo.discountValue).toFixed(3) } <sup class=\"currency-style\">TND</sup></span></ins>
  818.                                                 <ins><span class=\"text-brand\"  v-if=\"produit.promo && produit.promo.discountType=='percent'\">\${ (selectedDeclinaison.price_ttc-(selectedDeclinaison.price_ttc*produit.promo.discountValue/100)).toFixed(3) } <sup class=\"currency-style\">TND</sup></span></ins> #}
  819.                                                 <ins><span class=\"text-brand\">\${ selectedDeclinaison.price_ttc } <sup
  820.                                                                 class=\"currency-style\">TND</sup></span></ins>
  821.                                                 {# <ins><span class=\"old-price font-md ml-15\" v-if=\"produit.promo\">\${ selectedDeclinaison.price_ttc } <sup class=\"currency-style\">TND</sup></span></ins> #}
  822.                                                 <ins><span class=\"old-price font-md ml-15\"
  823.                                                            v-if=\"selectedDeclinaison.in_promo\">\${ selectedDeclinaison.price_ht } <sup
  824.                                                                 class=\"currency-style\">TND</sup></span></ins>
  825.                                                 <span class=\"save-price font-md color3 ml-15\"
  826.                                                       v-if=\"selectedDeclinaison.in_promo && produit.promo.discountType=='amount'\">-\${ produit.promo.discountValue.toFixed(3) } <sup
  827.                                                             class=\"currency-style\">TND</sup> Remise</span>
  828.                                                 <span class=\"save-price font-md color3 ml-15\"
  829.                                                       v-if=\"selectedDeclinaison.in_promo && produit.promo.discountType=='percent'\">-\${ produit.promo.discountValue } % Remise</span>
  830.                                             </div>
  831.                                         </div>
  832.                                         <div class=\"bt-1 border-color-1 mt-15 mb-15\"></div>
  833.                                         <div class=\"short-desc mb-15\" id=\"article\">
  834.                                             <p>\${ produit.description }</p>
  835.                                         </div>
  836.                                         <div class=\"short-desc mb-30\">
  837.                                             <p v-html=\"produit.specification\"></p>
  838.                                         </div>
  839.                                         <!-- Liste des couleurs -->
  840.                                         {# <div class=\"attr-detail attr-size mb-15\">
  841.                                             <strong class=\"mr-10\">Couleurs</strong>
  842.                                             <ul class=\"list-filter size-filter font-small\">
  843.                                                 <li v-for=\"(entry,key) in produit.couleurs\" :class=\"entry==selectedDeclinaison.couleur ? 'active' : ''\" style=\"margin-right:3px;margin-bottom:3px\" @click=\"getTailles(entry,produit.declinaisons_produit)\"><a href=\"#&\">\${ entry }</a></li>
  844.                                             </ul>
  845.                                         </div> #}
  846.                                         <div class=\"attr-detail attr-size mb-15\">
  847.                                             <strong class=\"mr-10\">Couleurs</strong>
  848.                                             <ul class=\"list-filter color-filter multi\">
  849.                                                 <li :class=\"entry.name==selectedDeclinaison.couleur.name ? 'active' : ''\"
  850.                                                     v-for=\"entry in produit.couleurs\"
  851.                                                     @click=\"getTailles(entry.name,produit.declinaisons_produit)\">
  852.                                                     <a href=\"#&\" :title=\"entry.name\">
  853.                                                         <span :style=\"{ 'background-color': entry.code ? entry.code :'#fff','border': '1px solid #ddd' }\"></span>
  854.                                                     </a>
  855.                                                 </li>
  856.                                             </ul>
  857.                                         </div>
  858.                                         <!-- Liste des tailles -->
  859.                                         <div class=\"attr-detail attr-size\">
  860.                                             <strong class=\"mr-10\">Tailles</strong>
  861.                                             <ul class=\"list-filter size-filter font-small\">
  862.                                                 <li v-for=\"(entry,key) in produit.tailles\"
  863.                                                     :class=\"[(entry.taille==selectedDeclinaison.taille ? 'active' : ''), (entry.qty<=0 ? 'disabled-123' : '')]\"
  864.                                                     style=\"margin-right:3px;margin-bottom:3px\"
  865.                                                     @click=\"selectTaille(entry)\"><a href=\"#&\">\${ entry.taille }</a></li>
  866.                                             </ul>
  867.                                         </div>
  868.                                         <div class=\"bt-1 border-color-1 mt-30 mb-30\"></div>
  869.                                         <div class=\"detail-extralink\">
  870.                                             <div class=\"detail-qty border radius\">
  871.                                                 <a href=\"#&\" class=\"qty-down-123\" @click=\"incrementQty('-',selectedDeclinaison.id)\"><i class=\"fi-rs-angle-small-down\"></i></a>
  872.                                                 <span>\${ qty }</span>
  873.                                                 <a href=\"#&\" class=\"qty-up-123\"
  874.                                                    @click=\"incrementQty('+',selectedDeclinaison.id)\"><i
  875.                                                             class=\"fi-rs-angle-small-up\"></i></a>
  876.                                                 <!--<input type=\"number\" :max=\"selectedDeclinaison.qty\" min=\"0\">-->
  877.                                             </div>
  878.                                             <div class=\"product-extra-link2\">
  879.                                                 <button :class=\"['button button-add-to-cart', (selectedDeclinaison.qty<=0 ? 'disabled' : '')]\"
  880.                                                         @click=\"addProduct(qty)\">Ajouter au panier
  881.                                                 </button>
  882.                                                 <!--<a aria-label=\"Add To Wishlist\" class=\"action-btn hover-up\" href=\"shop-wishlist.html\"><i class=\"fi-rs-heart\"></i></a>
  883.                                                 <a aria-label=\"Compare\" class=\"action-btn hover-up\" href=\"shop-compare.html\"><i class=\"fi-rs-shuffle\"></i></a>-->
  884.                                             </div>
  885.                                         </div>
  886.                                         <ul class=\"product-meta font-xs color-grey mt-50\">
  887.                                             <li class=\"mb-5\">Référence: <a href=\"#\">\${ selectedDeclinaison.ref }</a>
  888.                                             </li>
  889.                                             <!--<li class=\"mb-5\">Tags: <a href=\"#\" rel=\"tag\">Cloth</a>, <a href=\"#\" rel=\"tag\">Women</a>, <a href=\"#\" rel=\"tag\">Dress</a> </li>-->
  890.                                             <li>
  891.                                                 Disponibilité:
  892.                                                 <!--<span class=\"in-stock text-success ml-5\" v-if=\"selectedDeclinaison.qty>0\">\${ selectedDeclinaison.qty } articles restants</span>-->
  893.                                                 <span class=\"in-stock text-danger ml-5\"
  894.                                                       v-if=\"selectedDeclinaison.qty<=0\">Produit en rupture de stock</span>
  895.                                                 <span class=\"in-stock text-danger ml-5\"
  896.                                                       v-if=\"selectedDeclinaison.qty<=5 && selectedDeclinaison.qty>0\">Risque de rupture de stock</span>
  897.                                                 <span class=\"in-stock text-success ml-5\"
  898.                                                       v-if=\"selectedDeclinaison.qty>5\">Produit en stock</span>
  899.                                             </li>
  900.                                         </ul>
  901.                                         <div class=\"product_sort_info font-xs mb-30  mt-10\">
  902.                                             <ul>
  903.                                                 <!--<li class=\"mb-10\"><i class=\"fi-rs-crown mr-5\"></i> 1 Year AL Jazeera Brand Warranty</li>-->
  904.                                                 <li class=\"mb-10\"><i class=\"fi-rs-refresh mr-5\"></i> Politique de retour de 3 jours</li>
  905.                                                 <li><i class=\"fi-rs-credit-card mr-5\"></i> Paiement à la livraison</li>
  906.                                             </ul>
  907.                                         </div>
  908.                                     </div>
  909.                                     <!-- Detail Info -->
  910.                                 </div>
  911.                             </div>
  912.                             <div class=\"tab-style3\">
  913.                                 <ul class=\"nav nav-tabs text-uppercase\">
  914.                                     <li class=\"nav-item\">
  915.                                         <a class=\"nav-link active\" id=\"Additional-info-tab\" data-bs-toggle=\"tab\"
  916.                                            href=\"#Additional-info\"><span style=\"color: #f7971e\">Informations additionnelles</span></a>
  917.                                     </li>
  918.                                 </ul>
  919.                                 <div class=\"tab-content shop_info_tab entry-main-content\">
  920.                                     <div class=\"tab-pane fade show active\" id=\"Additional-info\">
  921.                                         <table class=\"font-md\">
  922.                                             <tbody>
  923.                                             <tr class=\"pa_color\">
  924.                                                 <th>Couleurs</th>
  925.                                                 <td>
  926.                                                     <ul class=\"list-filter color-filter multi\">
  927.                                                         <li v-for=\"entry in produit.couleurs\">
  928.                                                             <a href=\"#&\" :title=\"entry.name\">
  929.                                                                 <span :style=\"{ 'background-color': entry.code ? entry.code :'#fff','border': '1px solid #ddd' }\"></span>
  930.                                                             </a>
  931.                                                         </li>
  932.                                                     </ul>
  933.                                                 </td>
  934.                                             </tr>
  935.                                             <tr class=\"pa_size\">
  936.                                                 <th>Tailles</th>
  937.                                                 <td>
  938.                                                     <p v-for=\"entry in produit.tailles\">\${ entry.taille }</p>
  939.                                                 </td>
  940.                                             </tr>
  941.                                             </tbody>
  942.                                         </table>
  943.                                     </div>
  944.                                 </div>
  945.                             </div>
  946. {#                            <div class=\"row mt-60\" v-if=\"tags.length\">#}
  947. {#                                <div class=\"col-12\">#}
  948. {#                                    <h3 class=\"section-title style-1 mb-30\">Autres produits dans la même catégorie</h3>#}
  949. {#                                </div>#}
  950. {#                                <div class=\"col-12\">#}
  951. {#                                    <div class=\"row related-products\">#}
  952. {#                                        <div v-for=\"entry in tags\" class=\"col-lg-3 col-md-4 col-12 col-sm-6 row-product\"#}
  953. {#                                             @click=\"openProduct(entry.id,entry.name)\">#}
  954. {#                                            <div class=\"product-cart-wrap small hover-up col-product\">#}
  955. {#                                                <div class=\"product-img-action-wrap\">#}
  956. {#                                                    <div class=\"product-img product-img-zoom\">#}
  957. {#                                                        <a href=\"#&\" tabindex=\"0\">#}
  958. {#                                                            #}{# <img class=\"default-img\" src=\"{{ asset('front/assets/imgs/shop/product-2-1.jpg') }}\" alt=\"Sunshine Elegance\"> #}
  959. {#                                                            <img class=\"default-img product-img\"#}
  960. {#                                                                 :src=\"'{{ APP_URL }}/images/300-400/'+entry.image\" alt=\"Sunshine Elegance\">#}
  961. {#                                                        </a>#}
  962. {#                                                    </div>#}
  963. {#                                                    <div class=\"product-action-1\" @click=\"openProduct(entry.id,entry.name)\">#}
  964. {#                                                        <a aria-label=\"Ajouter au panier\"#}
  965. {#                                                           class=\"action-btn small hover-up\" href=\"#&\"><i#}
  966. {#                                                                    class=\"fi-rs-shopping-bag-add\"></i></a>#}
  967. {#                                                    </div>#}
  968. {#                                                    <div class=\"product-badges product-badges-position product-badges-mrg\"#}
  969. {#                                                         v-if=\"entry.promo\">#}
  970. {#                                                        <span class=\"hot\"#}
  971. {#                                                              v-if=\"entry.promo && entry.promo.discountType=='amount'\">-\${ entry.promo.discountValue.toFixed(3) } <sup#}
  972. {#                                                                    class=\"currency-style\">TND</sup></span>#}
  973. {#                                                        <span class=\"hot\"#}
  974. {#                                                              v-if=\"entry.promo && entry.promo.discountType=='percent'\">-\${ entry.promo.discountValue } %</span>#}
  975. {#                                                    </div>#}
  976. {#                                                </div>#}
  977. {#                                                <div class=\"product-content-wrap\">#}
  978. {#                                                    <h2><a href=\"#&\" tabindex=\"0\">\${ entry.name }</a></h2>#}
  979. {#                                                    <div class=\"product-price\">#}
  980. {#                                                        <span v-if=\"!entry.promo\">\${ entry.priceTTC.toFixed(3) } <sup#}
  981. {#                                                                    class=\"currency-style\">TND</sup></span>#}
  982. {#                                                        <span v-if=\"entry.promo && entry.promo.discountType=='amount'\">\${ (entry.priceTTC-entry.promo.discountValue).toFixed(3) } <sup#}
  983. {#                                                                    class=\"currency-style\">TND</sup></span>#}
  984. {#                                                        <span v-if=\"entry.promo && entry.promo.discountType=='percent'\">\${ (entry.priceTTC-(entry.priceTTC*entry.promo.discountValue/100)).toFixed(3) } <sup#}
  985. {#                                                                    class=\"currency-style\">TND</sup></span>#}
  986. {#                                                        <span class=\"old-price\" v-if=\"entry.promo\">\${ entry.priceTTC.toFixed(3) } <sup#}
  987. {#                                                                    class=\"currency-style\">TND</sup></span>#}
  988. {#                                                    </div>#}
  989. {#                                                </div>#}
  990. {#                                            </div>#}
  991. {#                                        </div>#}
  992. {#                                    </div>#}
  993. {#                                </div>#}
  994. {#                            </div>#}
  995.                         </div>
  996.                     </div>
  997.                     {#<div class=\"col-lg-3 primary-sidebar sticky-sidebar\">
  998.                         <div class=\"widget-category mb-30\">
  999.                             <h5 class=\"section-title style-1 mb-30 wow fadeIn animated\">Catégories</h5>
  1000.                             <ul class=\"categories\">
  1001.                                 {% for entry in Globals.getCategories() %}
  1002.                                     <li class=\"category-list\"><a href=\"{{ path('category_new', {id: entry.id}) }}\">{{ entry.name }}</a></li>
  1003.                                 {% endfor %}
  1004.                             </ul>
  1005.                         </div>#}
  1006.                     </div>
  1007.                 <div class=\"row mt-60\">
  1008.                     <div class=\"col-12\">
  1009.                         <h3 class=\"section-title style-1 mb-30\">Produits dans la même catégorie</h3>
  1010.                     </div>
  1011.                     <div class=\"col-12\">
  1012.                         <div class=\"row related-products\">
  1013.                             {% for product in relatedProduct %}
  1014.                                 <div class=\"col-lg-3 col-md-4 col-12 col-sm-6\">
  1015.                                     <div class=\"product-cart-wrap small hover-up\">
  1016.                                         <div class=\"product-img-action-wrap\">
  1017.                                             <div class=\"product-img product-img-zoom\">
  1018.                                                 <a href=\"{{ path('product_new', {id: product.id,name:product.name|slug}) }}\" style=\"height: 100%\">
  1019.                                                     <img class=\"default-img\" src=\"{{ absolute_url(asset('/images/300-400/' ~ product.image)) }}\" alt=\"{{  product.name }}\"
  1020.                                                          style=\"width: 100%\">
  1021.                                                     {# <img class=\"hover-img\" src=\"{{ asset('images/' ~ product.image) }}\"  alt=\"Sunshine Elegance\"> #}
  1022.                                                 </a>
  1023.                                             </div>
  1024.                                             {# <div class=\"product-action-1\">
  1025.                                         <a aria-label=\"Quick view\" class=\"action-btn small hover-up\" data-bs-toggle=\"modal\" data-bs-target=\"#quickViewModal\">
  1026.                                             <i class=\"fi-rs-eye\"></i></a>
  1027.                                         <a aria-label=\"Add To Wishlist\" class=\"action-btn small hover-up\" href=\"shop-wishlist.html\" tabindex=\"0\"><i class=\"fi-rs-heart\"></i></a>
  1028.                                         <a aria-label=\"Compare\" class=\"action-btn small hover-up\" href=\"shop-compare.html\" tabindex=\"0\"><i class=\"fi-rs-shuffle\"></i></a>
  1029.                                     </div> #}
  1030.                                             {% if( product.promotion and product.promotion.isValid) or product.stock == 0 or product.isNew %}
  1031.                                                 <div class=\"product-badges product-badges-position product-badges-mrg\">
  1032.                                                     {% if product.stock == 0 %}
  1033.                                                         <span class=\"hot mr-1\"
  1034.                                                               style=\"margin-right: 2px;font-size: 10px;\">Rupture de stock</span>
  1035.                                                     {% endif %}
  1036.                                                     {% if product.isNew %}
  1037.                                                         <span  class=\"new mr-1\"
  1038.                                                               style=\"margin-right: 2px;font-size: 10px;\">Nouveau</span>
  1039.                                                     {% endif %}
  1040.                                                     {% if product.promotion and product.promotion.isValid and product.promotion.discountType=='amount' %}
  1041.                                                         <span class=\"best\"
  1042.                                                               style=\"font-size: 10px;\">-{{ product.promotion.discountValue }} <sup
  1043.                                                                     class=\"currency-style\">TND</sup></span>
  1044.                                                     {% endif %}
  1045.                                                     {% if product.promotion and product.promotion.isValid and product.promotion.discountType=='percent' %}
  1046.                                                         <span class=\"best\"
  1047.                                                               style=\"font-size: 10px;\">-{{ product.promotion.discountValue }} %</span>
  1048.                                                     {% endif %}
  1049.                                                 </div>
  1050.                                             {% endif %}
  1051.                                         </div>
  1052.                                         <div class=\"product-content-wrap\">
  1053.                                             <h2><a href=\"{{ path('product_new', {id: product.id,name:product.name|slug}) }}\">{{ product.name }}</a></h2>
  1054.                                             {# <div class=\"rating-result\" title=\"90%\">
  1055.                                         <span>
  1056.                                         </span>
  1057.                                     </div> #}
  1058.                                             <div class=\"product-price\">
  1059.                                                 {% if product.promotion == null or (product.promotion and product.promotion.isValid == false) %}
  1060.                                                     <span>{{ product.getPriceTtc() }} <sup
  1061.                                                                 class=\"currency-style\">TND</sup></span>
  1062.                                                 {% endif %}
  1063.                                                 {% if product.promotion and product.promotion.isValid and product.promotion.discountType=='amount' %}
  1064.                                                     <span>{{ (product.getPriceTtc()-product.promotion.discountValue) }} <sup
  1065.                                                                 class=\"currency-style\">TND</sup></span>
  1066.                                                 {% endif %}
  1067.                                                 {% if product.promotion and product.promotion.isValid and product.promotion.discountType=='percent' %}
  1068.                                                     <span>{{ (product.getPriceTtc()-(product.getPriceTtc()*product.promotion.discountValue/100)) }} <sup
  1069.                                                                 class=\"currency-style\">TND</sup></span>
  1070.                                                 {% endif %}
  1071.                                                 {% if product.promotion and product.promotion.isValid %}
  1072.                                                     <span class=\"old-price\">{{ product.getPriceTtc() }} <sup
  1073.                                                                 class=\"currency-style\">TND</sup></span>
  1074.                                                 {% endif %}
  1075.                                             </div>
  1076.                                         </div>
  1077.                                     </div>
  1078.                                 </div>
  1079.                             {% endfor %}
  1080.                         </div>
  1081.                     </div>
  1082.                 </div>
  1083.                 </div>
  1084.             </div>
  1085.         </section>
  1086.     </main>
  1087.     {#{% endverbatim %}#}
  1088. {% endblock %}
  1089. {% block javascripts %}
  1090.     {{ parent() }}
  1091.     <script src=\"{{ asset('front/assets/scripts/product/index.js') }}\"></script>
  1092.     <script>
  1093.         \$( document ).ready(function() {
  1094.             window.scrollTo(0,200);
  1095.         });
  1096.     </script>
  1097. {% endblock %}
  1098. ""front/product/index.html.twig""/home/sunshil/www/sunshine-elegance/templates/front/product/index.html.twig");
  1099.     }
  1100. }