var/cache/dev/twig/8a/8a1f04883439887989d07d4a0535d0ac.php line 56

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. /* Products/category.html.twig */
  16. class __TwigTemplate_45657d5a6813e9b3b87fe55f6cd0f059 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.             'metaDescription' => [$this'block_metaDescription'],
  30.             'content' => [$this'block_content'],
  31.             'footer' => [$this'block_footer'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  35.     {
  36.         // line 1
  37.         return "layout/layout.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = []): iterable
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Products/category.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Products/category.html.twig"));
  46.         $this->parent $this->loadTemplate("layout/layout.html.twig""Products/category.html.twig"1);
  47.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 2
  54.     /**
  55.      * @return iterable<null|scalar|\Stringable>
  56.      */
  57.     public function block_title(array $context, array $blocks = []): iterable
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  64.         // line 3
  65.         yield "\t";
  66.         if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'3$this->source); })()))) {
  67.             // line 4
  68.             yield "\t\tGFS -
  69. \t\t";
  70.             // line 5
  71.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'5$this->source); })()), "breadcrumb", [], "any"falsefalsefalse5), "html"nulltrue);
  72.             yield "
  73. \t";
  74.         } else {
  75.             // line 7
  76.             yield "\t\t";
  77.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_page_meta_title"), "html"nulltrue);
  78.             yield "
  79. \t";
  80.         }
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.         yield from [];
  86.     }
  87.     // line 11
  88.     /**
  89.      * @return iterable<null|scalar|\Stringable>
  90.      */
  91.     public function block_metaDescription(array $context, array $blocks = []): iterable
  92.     {
  93.         $macros $this->macros;
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  98.         // line 12
  99.         yield "\t";
  100.         // line 15
  101.         yield "\t";
  102.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_page_meta_description"), "html"nulltrue);
  103.         yield "
  104. \t";
  105.         
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  107.         
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  109.         yield from [];
  110.     }
  111.     // line 19
  112.     /**
  113.      * @return iterable<null|scalar|\Stringable>
  114.      */
  115.     public function block_content(array $context, array $blocks = []): iterable
  116.     {
  117.         $macros $this->macros;
  118.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  122.         // line 20
  123.         yield "
  124. \t<!--Start Main Slider-->
  125. \t<section class=\"main-slider-section product-main-slider product-main-slider-section-banner denty\">
  126. \t\t<div class=\"container container-lg\">
  127. \t\t\t<div class=\"custom-slider singal-slider main-slider\">
  128. \t\t\t\t";
  129.         // line 25
  130.         if (( !Twig\Extension\CoreExtension::testEmpty((isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'25$this->source); })())) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'25$this->source); })()), "slides", [], "any"falsefalsefalse25)))) {
  131.             // line 26
  132.             yield "\t\t\t\t\t<div class=\"slide\">
  133. \t\t\t\t\t\t<div class=\"slide-media slide-media-desktop\">
  134. \t\t\t\t\t\t\t";
  135.             // line 28
  136.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["products_head"] ?? null), "slides", [], "any"falsetruefalse28), 0, [], "array"falsetruefalse28), "localizedfields", [], "any"falsetruefalse28), "data", [], "any"falsetruefalse28), "getLocalizedValue", ["cb_image"], "method"truetruefalse28)) {
  137.                 // line 29
  138.                 yield "\t\t\t\t\t\t\t\t<img src=\"";
  139.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'29$this->source); })()), "slides", [], "any"falsefalsefalse29), 0, [], "array"falsefalsefalse29), "localizedfields", [], "any"falsefalsefalse29), "data", [], "any"falsefalsefalse29), "getLocalizedValue", ["cb_image"], "method"falsefalsefalse29), "html"nulltrue);
  140.                 yield "\"alt=\"desktop banner product\" class=\"desktop-banner\">
  141. \t\t\t\t\t\t\t";
  142.                 // line 31
  143.                 yield "\t\t\t\t\t\t\t";
  144.             }
  145.             // line 32
  146.             yield "\t\t\t\t\t\t</div>
  147. \t\t\t\t\t\t<div class=\"slide-media slide-media-mobile\">
  148. \t\t\t\t\t\t\t";
  149.             // line 34
  150.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["products_head"] ?? null), "slides", [], "any"falsetruefalse34), 0, [], "array"falsetruefalse34), "localizedfields", [], "any"falsetruefalse34), "data", [], "any"falsetruefalse34), "getLocalizedValue", ["cb_image_mobile"], "method"truetruefalse34)) {
  151.                 // line 35
  152.                 yield "\t\t\t\t\t\t\t\t";
  153.                 // line 36
  154.                 yield "\t\t\t\t\t\t\t\t<img src=\"";
  155.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'36$this->source); })()), "slides", [], "any"falsefalsefalse36), 0, [], "array"falsefalsefalse36), "localizedfields", [], "any"falsefalsefalse36), "data", [], "any"falsefalsefalse36), "getLocalizedValue", ["cb_image_mobile"], "method"falsefalsefalse36), "html"nulltrue);
  156.                 yield "\" alt=\"mobile banner product\" class=\"mobile-banner\">
  157. \t\t\t\t\t\t\t";
  158.             }
  159.             // line 38
  160.             yield "\t\t\t\t\t\t</div>
  161. \t\t\t\t\t\t<div class=\"silde-content-box\">
  162. \t\t\t\t\t\t\t<div class=\"slide-content\">
  163. \t\t\t\t\t\t\t\t<h1>
  164. \t\t\t\t\t\t\t\t\t";
  165.             // line 42
  166.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["products_head"] ?? null), "slides", [], "any"falsetruefalse42), 0, [], "array"falsetruefalse42), "localizedfields", [], "any"falsetruefalse42), "data", [], "any"falsetruefalse42), "getLocalizedValue", ["cb_title"], "method"truetruefalse42)) {
  167.                 // line 43
  168.                 yield "\t\t\t\t\t\t\t\t\t\t<span class=\"title-sm d-block\">";
  169.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'43$this->source); })()), "slides", [], "any"falsefalsefalse43), 0, [], "array"falsefalsefalse43), "localizedfields", [], "any"falsefalsefalse43), "data", [], "any"falsefalsefalse43), "getLocalizedValue", ["cb_title"], "method"falsefalsefalse43), "html"nulltrue);
  170.                 yield "</span>
  171. \t\t\t\t\t\t\t\t\t";
  172.             }
  173.             // line 45
  174.             yield "\t\t\t\t\t\t\t\t\t";
  175.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'45$this->source); })()), "slides", [], "any"falsefalsefalse45), 0, [], "array"falsefalsefalse45), "localizedfields", [], "any"falsefalsefalse45), "data", [], "any"falsefalsefalse45), "getLocalizedValue", ["cb_link"], "method"falsefalsefalse45)) {
  176.                 // line 46
  177.                 yield "\t\t\t\t\t\t\t\t\t\t<span class=\"title-lg underline-end d-block\">";
  178.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'46$this->source); })()), "slides", [], "any"falsefalsefalse46), 0, [], "array"falsefalsefalse46), "localizedfields", [], "any"falsefalsefalse46), "data", [], "any"falsefalsefalse46), "getLocalizedValue", ["cb_link"], "method"falsefalsefalse46), "html"nulltrue);
  179.                 yield "</span>
  180. \t\t\t\t\t\t\t\t\t";
  181.             } else {
  182.                 // line 48
  183.                 yield "\t\t\t\t\t\t\t\t\t\t<span class=\"title-lg\">";
  184.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("quality"), "html"nulltrue);
  185.                 yield "
  186. \t\t\t\t\t\t\t\t\t\t\t&
  187. \t\t\t\t\t\t\t\t\t\t\t<u>";
  188.                 // line 50
  189.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("taste!"), "html"nulltrue);
  190.                 yield "</u>
  191. \t\t\t\t\t\t\t\t\t\t</span>
  192. \t\t\t\t\t\t\t\t\t";
  193.             }
  194.             // line 53
  195.             yield "\t\t\t\t\t\t\t\t</h1>
  196. \t\t\t\t\t\t\t</div>
  197. \t\t\t\t\t\t\t";
  198.             // line 61
  199.             yield "\t\t\t\t\t\t</div>
  200. \t\t\t\t\t</div>
  201. \t\t\t\t";
  202.         } else {
  203.             // line 64
  204.             yield "\t\t\t\t\t";
  205.             $context['_parent'] = $context;
  206.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["category_slider"]) || array_key_exists("category_slider"$context) ? $context["category_slider"] : (function () { throw new RuntimeError('Variable "category_slider" does not exist.'64$this->source); })()));
  207.             foreach ($context['_seq'] as $context["_key"] => $context["slides"]) {
  208.                 // line 65
  209.                 yield "\t\t\t\t\t\t<div class=\"slide\">
  210. \t\t\t\t\t\t\t<div class=\"slide-media slide-media-desktop\">
  211. \t\t\t\t\t\t\t\t<img
  212. \t\t\t\t\t\t\t\tsrc=\"";
  213.                 // line 68
  214.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["slides"], "slider_image", [], "any"falsefalsefalse68), "data", [], "any"falsefalsefalse68), "html"nulltrue);
  215.                 yield "\" alt=\"category banner image desktop\" class=\"desktop-banner\">
  216. \t\t\t\t\t\t\t";
  217.                 // line 70
  218.                 yield "\t\t\t\t\t\t\t</div>
  219. \t\t\t\t\t\t\t<div class=\"slide-media slide-media-mobile\">
  220. \t\t\t\t\t\t\t\t<img
  221. \t\t\t\t\t\t\t\tsrc=\"";
  222.                 // line 74
  223.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["slides"], "slider_image_mobile", [], "any"falsefalsefalse74), "data", [], "any"falsefalsefalse74), "html"nulltrue);
  224.                 yield "\" alt=\"category banner image mobile\" class=\"desktop-banner\">
  225. \t\t\t\t\t\t\t";
  226.                 // line 76
  227.                 yield "\t\t\t\t\t\t\t</div>
  228. \t\t\t\t\t\t\t<div class=\"silde-content-box \">
  229. \t\t\t\t\t\t\t\t<div class=\"slide-content\">
  230. \t\t\t\t\t\t\t\t\t<h1>
  231. \t\t\t\t\t\t\t\t\t\t<span class=\"title-sm d-block\">";
  232.                 // line 80
  233.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["slides"], "localizedfields", [], "any"falsefalsefalse80), "data", [], "any"falsefalsefalse80), "getLocalizedValue", ["heading"], "method"falsefalsefalse80), "html"nulltrue);
  234.                 yield "</span>
  235. \t\t\t\t\t\t\t\t\t\t<span class=\"title-lg underline-end\">";
  236.                 // line 81
  237.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["slides"], "localizedfields", [], "any"falsefalsefalse81), "data", [], "any"falsefalsefalse81), "getLocalizedValue", ["heading1"], "method"falsefalsefalse81), "html"nulltrue);
  238.                 yield "</u>
  239. \t\t\t\t\t\t\t\t\t</span>
  240. \t\t\t\t\t\t\t\t</h1>
  241. \t\t\t\t\t\t\t</div>
  242. \t\t\t\t\t\t\t";
  243.                 // line 89
  244.                 yield "\t\t\t\t\t\t</div>
  245. \t\t\t\t\t</div>
  246. \t\t\t\t";
  247.             }
  248.             $_parent $context['_parent'];
  249.             unset($context['_seq'], $context['_key'], $context['slides'], $context['_parent']);
  250.             $context array_intersect_key($context$_parent) + $_parent;
  251.             // line 92
  252.             yield "\t\t\t";
  253.         }
  254.         // line 93
  255.         yield "\t\t</div>
  256. \t</div>
  257. </section>
  258. <!--End Main Slider-->
  259. <!--Start Breadcrumbs-->
  260. <div class=\"breadcrumb-holder\">
  261. \t<ol class=\"breadcrumb\">
  262. \t\t<li class=\"breadcrumb-item\">
  263. \t\t\t<a href=\"/";
  264.         // line 101
  265.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'101$this->source); })()), "request", [], "any"falsefalsefalse101), "locale", [], "any"falsefalsefalse101), "html"nulltrue);
  266.         yield "\">";
  267.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html"nulltrue);
  268.         yield "</a>
  269. \t\t</li>
  270. \t\t";
  271.         // line 103
  272.         if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'103$this->source); })()))) {
  273.             // line 104
  274.             yield "\t\t\t<li class=\"breadcrumb-item\">
  275. \t\t\t\t<a href=\"/";
  276.             // line 105
  277.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'105$this->source); })()), "request", [], "any"falsefalsefalse105), "locale", [], "any"falsefalsefalse105), "html"nulltrue);
  278.             yield "/products/\">";
  279.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Products"), "html"nulltrue);
  280.             yield "</a>
  281. \t\t\t</li>
  282. \t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">";
  283.             // line 108
  284.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'108$this->source); })()), "breadcrumb", [], "any"falsefalsefalse108), "html"nulltrue);
  285.             yield "</li>
  286. \t\t";
  287.         } else {
  288.             // line 110
  289.             yield "\t\t\t";
  290.             // line 111
  291.             yield "\t\t\t<li class=\"breadcrumb-item\">";
  292.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Products"), "html"nulltrue);
  293.             yield "</li>
  294. \t\t";
  295.         }
  296.         // line 114
  297.         yield "\t</ol>
  298. </div>
  299. <!--End Breadcrumbs-->
  300. <!--Start Page Info Section-->
  301. <section class=\"pageinfo-section\">
  302. \t<div class=\"container container-sm\">
  303. \t\t";
  304.         // line 121
  305.         if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'121$this->source); })()))) {
  306.             // line 122
  307.             yield "\t\t\t<h1 class=\"title\">";
  308.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'122$this->source); })()), "name", [], "any"falsefalsefalse122), "html"nulltrue);
  309.             yield "</h1>
  310. \t\t\t";
  311.             // line 123
  312.             if ((((CoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'123$this->source); })()), "id", [], "any"falsefalsefalse123) != 263) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'123$this->source); })()), "id", [], "any"falsefalsefalse123) != 260)) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'123$this->source); })()), "id", [], "any"falsefalsefalse123) != 413))) {
  313.                 // line 124
  314.                 yield "\t\t\t\t<p>";
  315.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'124$this->source); })()), "Detail_desc", [], "any"falsefalsefalse124), "html"nulltrue);
  316.                 yield "</p>
  317. \t\t\t";
  318.             } else {
  319.                 // line 126
  320.                 yield "\t\t\t\t<p>";
  321.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["products_head"]) || array_key_exists("products_head"$context) ? $context["products_head"] : (function () { throw new RuntimeError('Variable "products_head" does not exist.'126$this->source); })()), "description", [], "any"falsefalsefalse126), "html"nulltrue);
  322.                 yield "</p>
  323. \t\t\t";
  324.             }
  325.             // line 128
  326.             yield "\t\t";
  327.         } else {
  328.             // line 129
  329.             yield "\t\t\t<h1 class=\"title\">";
  330.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("allproducts"), "html"nulltrue);
  331.             yield "</h1>
  332. \t\t\t<p>";
  333.             // line 130
  334.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("allproductsdescription"), "html"nulltrue);
  335.             yield "</p>
  336. \t\t";
  337.         }
  338.         // line 132
  339.         yield "\t</div>
  340. </section>
  341. <!--End Page Info Section-->
  342. <!--Start Product Box-->
  343. ";
  344.         // line 150
  345.         yield "
  346. <section class=\"product-result-container position-bg-product\">
  347. \t<div class=\"container container-sm\">
  348. \t\t<div class=\"row\">
  349. \t\t<div class=\"col-sm-12 col-lg-4 col-xl-3 filter-box\">
  350. \t\t\t<form name=\"filter-form\" id=\"filter-form\" method=\"get\">\t
  351. \t\t\t\t\t<div class=\"filter-wrapper\">
  352. \t\t\t\t\t\t<h4 class=\"title\">";
  353.         // line 157
  354.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Filters"), "html"nulltrue);
  355.         yield "
  356. \t\t\t\t\t\t\t<span class=\"filter-icon\"><img src=\"/static/assets/images/filter-dropdown.svg\" alt=\"filter-dropdown\"></span>
  357. \t\t\t\t\t\t</h4>
  358. \t\t\t\t\t\t<div class=\"filder-options\">
  359. \t\t\t\t\t\t\t<div class=\"input-holder\">
  360. \t\t\t\t\t\t\t\t<input type=\"text\" placeholder=\"";
  361.         // line 162
  362.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Search for product"), "html"nulltrue);
  363.         yield "\" name=\"query\" id=\"search\" value=\"";
  364.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'162$this->source); })()), "query", [], "any"falsefalsefalse162), "html"nulltrue);
  365.         yield "\" class=\"form-control\">
  366. \t\t\t\t\t\t\t</div>
  367. \t\t\t\t\t\t</div>
  368. \t\t\t\t\t</div>
  369. \t\t\t\t\t<div class=\"filter-accordion hidden\">
  370. \t\t\t\t\t\t<div class=\"card filter-card\" id=\"filter1\">
  371. \t\t\t\t\t\t\t";
  372.         // line 168
  373.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["filterDefinition"]) || array_key_exists("filterDefinition"$context) ? $context["filterDefinition"] : (function () { throw new RuntimeError('Variable "filterDefinition" does not exist.'168$this->source); })()), "filters", [], "any"falsefalsefalse168)) > 0)) {
  374.             // line 169
  375.             yield "\t\t\t\t\t\t\t\t";
  376.             $context['_parent'] = $context;
  377.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["filterDefinition"]) || array_key_exists("filterDefinition"$context) ? $context["filterDefinition"] : (function () { throw new RuntimeError('Variable "filterDefinition" does not exist.'169$this->source); })()), "filters", [], "any"falsefalsefalse169));
  378.             foreach ($context['_seq'] as $context["_key"] => $context["filter"]) {
  379.                 yield "\t\t\t\t\t\t\t\t\t
  380. \t\t\t\t\t\t\t\t\t";
  381.                 // line 170
  382.                 $context["filterMarkup"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["filterService"]) || array_key_exists("filterService"$context) ? $context["filterService"] : (function () { throw new RuntimeError('Variable "filterService" does not exist.'170$this->source); })()), "filterFrontend", [$context["filter"], (isset($context["productListing"]) || array_key_exists("productListing"$context) ? $context["productListing"] : (function () { throw new RuntimeError('Variable "productListing" does not exist.'170$this->source); })()), (isset($context["currentFilter"]) || array_key_exists("currentFilter"$context) ? $context["currentFilter"] : (function () { throw new RuntimeError('Variable "currentFilter" does not exist.'170$this->source); })())], "method"falsefalsefalse170);
  383.                 // line 171
  384.                 yield "
  385. \t\t\t\t\t\t\t\t\t";
  386.                 // line 172
  387.                 yield (isset($context["filterMarkup"]) || array_key_exists("filterMarkup"$context) ? $context["filterMarkup"] : (function () { throw new RuntimeError('Variable "filterMarkup" does not exist.'172$this->source); })());
  388.                 yield "
  389. \t\t\t\t\t\t\t\t";
  390.             }
  391.             $_parent $context['_parent'];
  392.             unset($context['_seq'], $context['_key'], $context['filter'], $context['_parent']);
  393.             $context array_intersect_key($context$_parent) + $_parent;
  394.             // line 175
  395.             yield "\t\t\t\t\t\t\t";
  396.         }
  397.         // line 176
  398.         yield "\t\t\t\t\t\t</div>
  399. \t\t\t\t\t</div>\t\t\t\t\t
  400. \t\t\t\t</form>
  401. \t\t\t</div>
  402. \t\t\t<div
  403. \t\t\t\tclass=\"col-sm-12 col-lg-8 col-xl-9 product-results\">
  404. \t\t\t\t<!--Start Product Small Banner-->
  405. \t\t\t\t<div class=\"social-holder-box social-small-box catalog-download\">
  406. \t\t\t\t\t<div class=\"social-holder-img slide-media-mobile\">
  407. \t\t\t\t\t\t<img src=\"/static/assets/images/download_catalog_374x128_mobile.jpg\" alt=\"catalog mobile\">
  408. \t\t\t\t\t</div>
  409. \t\t\t\t\t<div class=\"social-holder-img slide-media-desktop\">
  410. \t\t\t\t\t\t<img src=\"/static/assets/images/download_catalog_485x166_desktop.jpg\" alt=\"catalog desktop\">
  411. \t\t\t\t\t</div>
  412. \t\t\t\t\t<div class=\"social-holder-info\">
  413. \t\t\t\t\t\t<p>";
  414.         // line 195
  415.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download our latest product"), "html"nulltrue);
  416.         yield "</p>
  417. \t\t\t\t\t\t<p>";
  418.         // line 196
  419.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog with updated line-up"), "html"nulltrue);
  420.         yield "</p>
  421. \t\t\t\t\t\t";
  422.         // line 204
  423.         yield "\t\t\t\t\t\t";
  424.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'204$this->source); })()), "request", [], "any"falsefalsefalse204), "locale", [], "any"falsefalsefalse204) == "ar")) {
  425.             // line 205
  426.             yield "\t\t\t\t\t\t\t<div class=\"btn-holder slide-media-desktop\">
  427. \t\t\t\t\t\t\t\t<a href=\"/Catalog/2024/GCS_Catalog_Arabic_Desktop.pdf\" class=\"btn btn-custom btn-primary\" download>";
  428.             // line 206
  429.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download Now!"), "html"nulltrue);
  430.             yield "</a>
  431. \t\t\t\t\t\t\t</div>
  432. \t\t\t\t\t\t\t<div class=\"btn-holder slide-media-mobile\">
  433. \t\t\t\t\t\t\t\t<a href=\"/Catalog/2024/GCS_Catalog_Arabic_Mobile.pdf\" class=\"btn btn-custom btn-green\" download>";
  434.             // line 210
  435.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download Now!"), "html"nulltrue);
  436.             yield "</a>
  437. \t\t\t\t\t\t\t</div>
  438. \t\t\t\t\t\t";
  439.         } else {
  440.             // line 213
  441.             yield "\t\t\t\t\t\t\t<div class=\"btn-holder slide-media-desktop\">
  442. \t\t\t\t\t\t\t\t<a href=\"/Catalog/2024/GCS_Catalog_English_Desktop.pdf\" class=\"btn btn-custom btn-primary\" download>";
  443.             // line 214
  444.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download Now!"), "html"nulltrue);
  445.             yield "</a>
  446. \t\t\t\t\t\t\t</div>
  447. \t\t\t\t\t\t\t<div class=\"btn-holder slide-media-mobile\">
  448. \t\t\t\t\t\t\t\t<a href=\"/Catalog/2024/GCS_Catalog_English_Mobile.pdf\" class=\"btn btn-custom btn-green\" download>";
  449.             // line 218
  450.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download Now!"), "html"nulltrue);
  451.             yield "</a>
  452. \t\t\t\t\t\t\t</div>
  453. \t\t\t\t\t\t";
  454.         }
  455.         // line 221
  456.         yield "
  457. \t\t\t\t\t</div>
  458. \t\t\t\t</div>
  459. \t\t\t\t<!--End Product Small Banner-->
  460. \t\t\t\t<div class=\"product-box-holder\">
  461. \t\t\t\t\t<div class=\"row\">
  462. \t\t\t\t\t\t";
  463.         // line 227
  464.         if ((array_key_exists("products"$context) &&  !(null === (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'227$this->source); })())))) {
  465.             // line 228
  466.             yield "\t\t\t\t\t\t\t";
  467.             $context['_parent'] = $context;
  468.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'228$this->source); })()));
  469.             $context['_iterated'] = false;
  470.             $context['loop'] = [
  471.               'parent' => $context['_parent'],
  472.               'index0' => 0,
  473.               'index'  => 1,
  474.               'first'  => true,
  475.             ];
  476.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  477.                 $length count($context['_seq']);
  478.                 $context['loop']['revindex0'] = $length 1;
  479.                 $context['loop']['revindex'] = $length;
  480.                 $context['loop']['length'] = $length;
  481.                 $context['loop']['last'] = === $length;
  482.             }
  483.             foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  484.                 // line 229
  485.                 yield "\t\t\t\t\t\t\t\t";
  486.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "brands", [], "any"falsetruefalse229), "id", [], "any"truetruefalse229)) {
  487.                     // line 230
  488.                     yield "\t\t\t\t\t\t\t\t\t";
  489.                     if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "brands", [], "any"falsefalsefalse230), "id", [], "any"falsefalsefalse230) == 263)) {
  490.                         // line 231
  491.                         yield "\t\t\t\t\t\t\t\t\t\t";
  492.                         $context["class"] = "slide-img-bg-brown";
  493.                         // line 232
  494.                         yield "\t\t\t\t\t\t\t\t\t";
  495.                     } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "brands", [], "any"falsefalsefalse232), "id", [], "any"falsefalsefalse232) == 262)) {
  496.                         // line 233
  497.                         yield "\t\t\t\t\t\t\t\t\t\t";
  498.                         $context["class"] = "slide-img-bg-blue";
  499.                         // line 234
  500.                         yield "\t\t\t\t\t\t\t\t\t";
  501.                     } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "brands", [], "any"falsefalsefalse234), "id", [], "any"falsefalsefalse234) == 413)) {
  502.                         // line 235
  503.                         yield "\t\t\t\t\t\t\t\t\t\t";
  504.                         $context["class"] = "slide-img-bg-purple";
  505.                         // line 236
  506.                         yield "\t\t\t\t\t\t\t\t\t";
  507.                     } else {
  508.                         // line 237
  509.                         yield "\t\t\t\t\t\t\t\t\t\t";
  510.                         $context["class"] = "slide-img-bg-green";
  511.                         // line 238
  512.                         yield "\t\t\t\t\t\t\t\t\t";
  513.                     }
  514.                     // line 239
  515.                     yield "\t\t\t\t\t\t\t\t";
  516.                 } else {
  517.                     // line 240
  518.                     yield "\t\t\t\t\t\t\t\t\t";
  519.                     $context["class"] = "no-class";
  520.                     // line 241
  521.                     yield "\t\t\t\t\t\t\t\t";
  522.                 }
  523.                 // line 242
  524.                 yield "\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 col-xl-4 product-result\">
  525. \t\t\t\t\t\t\t\t\t";
  526.                 // line 243
  527.                 yield from $this->loadTemplate("/includes/product-card.html.twig""Products/category.html.twig"243)->unwrap()->yield(CoreExtension::merge($context, ["featured_product" =>                 // line 244
  528. $context["product"], "class" =>                 // line 245
  529. (isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'245$this->source); })()), "LikedId" =>                 // line 246
  530. (isset($context["LikedId"]) || array_key_exists("LikedId"$context) ? $context["LikedId"] : (function () { throw new RuntimeError('Variable "LikedId" does not exist.'246$this->source); })())]));
  531.                 // line 248
  532.                 yield "\t\t\t\t\t\t\t\t</div>
  533. \t\t\t\t\t\t\t\t<!--Start GFS Loyalty Program-->
  534. \t\t\t\t\t\t\t\t";
  535.                 // line 251
  536.                 yield "\t\t\t\t\t\t\t\t";
  537.                 if ((CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse251) == 6)) {
  538.                     // line 252
  539.                     yield "\t\t\t\t\t\t\t\t</div>
  540. \t\t\t\t\t\t\t\t";
  541.                     // line 253
  542.                     $context['_parent'] = $context;
  543.                     $context['_seq'] = CoreExtension::ensureTraversable((isset($context["mid_banner"]) || array_key_exists("mid_banner"$context) ? $context["mid_banner"] : (function () { throw new RuntimeError('Variable "mid_banner" does not exist.'253$this->source); })()));
  544.                     foreach ($context['_seq'] as $context["_key"] => $context["mid_banners"]) {
  545.                         // line 254
  546.                         yield "\t\t\t\t\t\t\t\t\t<div class=\"info-media loyalty-program loyalty-program-small d-none\">
  547. \t\t\t\t\t\t\t\t\t\t<div class=\"info-section\">
  548. \t\t\t\t\t\t\t\t\t\t\t<h5>";
  549.                         // line 256
  550.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("loyalty program"), "html"nulltrue);
  551.                         yield "</h5>
  552. \t\t\t\t\t\t\t\t\t\t\t<h4>";
  553.                         // line 257
  554.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Join the"), "html"nulltrue);
  555.                         yield "</h4>
  556. \t\t\t\t\t\t\t\t\t\t\t<h3>";
  557.                         // line 258
  558.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["mid_banners"], "localizedfields", [], "any"falsefalsefalse258), "data", [], "any"falsefalsefalse258), "getLocalizedValue", ["heading"], "method"falsefalsefalse258), "html"nulltrue);
  559.                         yield "</h3>
  560. \t\t\t\t\t\t\t\t\t\t\t<p>";
  561.                         // line 259
  562.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["mid_banners"], "localizedfields", [], "any"falsefalsefalse259), "data", [], "any"falsefalsefalse259), "getLocalizedValue", ["heading1"], "method"falsefalsefalse259), "html"nulltrue);
  563.                         yield "</p>
  564. \t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  565. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-border\">
  566. \t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  567.                         // line 264
  568.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'264$this->source); })()), "request", [], "any"falsefalsefalse264), "locale", [], "any"falsefalsefalse264), "html"nulltrue);
  569.                         yield "/loyalty-program\" class=\"btn btn-custom btn-lg-o-white\">";
  570.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Discover More"), "html"nulltrue);
  571.                         yield "</a>
  572. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  573. \t\t\t\t\t\t\t\t\t\t\t\t";
  574.                         // line 266
  575.                         if ((null === CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'266$this->source); })()), "session", [], "any"falsefalsefalse266), "get", ["loginUserName"], "method"falsefalsefalse266))) {
  576.                             // line 267
  577.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-border btn-border-black \">
  578. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  579.                             // line 268
  580.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'268$this->source); })()), "request", [], "any"falsefalsefalse268), "locale", [], "any"falsefalsefalse268), "html"nulltrue);
  581.                             yield "/signup\" class=\"btn btn-custom btn-lg-o-black\">";
  582.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign-up Now!"), "html"nulltrue);
  583.                             yield "</a>
  584. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  585. \t\t\t\t\t\t\t\t\t\t\t\t";
  586.                         }
  587.                         // line 271
  588.                         yield "\t\t\t\t\t\t\t\t\t\t\t</div>
  589. \t\t\t\t\t\t\t\t\t\t</div>
  590. \t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
  591. \t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  592.                         // line 275
  593.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["mid_banners"], "slider_image", [], "any"falsefalsefalse275), "data", [], "any"falsefalsefalse275), "html"nulltrue);
  594.                         yield "\" alt=\"mid banner image\">
  595. \t\t\t\t\t\t\t\t\t\t</div>
  596. \t\t\t\t\t\t\t\t\t</div>
  597. \t\t\t\t\t\t\t\t";
  598.                     }
  599.                     $_parent $context['_parent'];
  600.                     unset($context['_seq'], $context['_key'], $context['mid_banners'], $context['_parent']);
  601.                     $context array_intersect_key($context$_parent) + $_parent;
  602.                     // line 279
  603.                     yield "\t\t\t\t\t\t\t\t<div class=\"row new-div\">
  604. \t\t\t\t\t\t\t\t";
  605.                 }
  606.                 // line 281
  607.                 yield "\t\t\t\t\t\t\t\t<!--End GFS Loyalty Program-->
  608. \t\t\t\t\t\t\t";
  609.                 $context['_iterated'] = true;
  610.                 ++$context['loop']['index0'];
  611.                 ++$context['loop']['index'];
  612.                 $context['loop']['first'] = false;
  613.                 if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  614.                     --$context['loop']['revindex0'];
  615.                     --$context['loop']['revindex'];
  616.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  617.                 }
  618.             }
  619.             if (!$context['_iterated']) {
  620.                 // line 283
  621.                 yield "\t\t\t\t\t\t\t\t<h2>";
  622.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No Product Found"), "html"nulltrue);
  623.                 yield "</h2>
  624. \t\t\t\t\t\t\t";
  625.             }
  626.             $_parent $context['_parent'];
  627.             unset($context['_seq'], $context['_key'], $context['product'], $context['_parent'], $context['_iterated'], $context['loop']);
  628.             $context array_intersect_key($context$_parent) + $_parent;
  629.             // line 285
  630.             yield "\t\t\t\t\t\t";
  631.         }
  632.         // line 286
  633.         yield "\t\t\t\t\t</div>
  634. \t\t\t\t\t";
  635.         // line 287
  636.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'287$this->source); })())) >= 12)) {
  637.             // line 288
  638.             yield "\t\t\t\t\t\t<div class=\"load-more\">
  639. \t\t\t\t\t\t\t<button class=\"btn btn-custom btn-p-outline-blue\" id=\"load-more\" onclick=\"loadMoreProduct()\">";
  640.             // line 289
  641.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Load more"), "html"nulltrue);
  642.             yield "</button>
  643. \t\t\t\t\t\t</div>
  644. \t\t\t\t\t";
  645.         }
  646.         // line 292
  647.         yield "
  648. \t\t\t\t</div>
  649. \t\t\t</div>
  650. \t\t</div>
  651. \t</div>
  652. \t";
  653.         // line 302
  654.         yield from $this->loadTemplate("layout/baseimage.html.twig""Products/category.html.twig"302)->unwrap()->yield($context);
  655.         // line 303
  656.         yield "</section>
  657. <!--End Product Box-->
  658. <!--Start Recipes Using Our Products Section-->
  659. <section class=\"featured-recipes-section inner-featured-recipe using-products using-products-home position-bg-img position-bg-product-2 recipe-using-products-product-section\">
  660. \t<div class=\"container container-sm\">
  661. \t\t";
  662.         // line 311
  663.         $context["newArray"] = [];
  664.         // line 312
  665.         yield "\t\t";
  666.         $context["recipesarray"] = [];
  667.         // line 313
  668.         yield "\t\t";
  669.         $context['_parent'] = $context;
  670.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'313$this->source); })()));
  671.         foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  672.             // line 314
  673.             yield "\t\t\t";
  674.             $context['_parent'] = $context;
  675.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["product"], "recipes", [], "any"falsefalsefalse314));
  676.             foreach ($context['_seq'] as $context["_key"] => $context["product_used_recipe"]) {
  677.                 // line 315
  678.                 yield "\t\t\t\t";
  679.                 $context["recipesarray"] = Twig\Extension\CoreExtension::merge((isset($context["recipesarray"]) || array_key_exists("recipesarray"$context) ? $context["recipesarray"] : (function () { throw new RuntimeError('Variable "recipesarray" does not exist.'315$this->source); })()), [$context["product_used_recipe"]]);
  680.                 // line 316
  681.                 yield "\t\t\t";
  682.             }
  683.             $_parent $context['_parent'];
  684.             unset($context['_seq'], $context['_key'], $context['product_used_recipe'], $context['_parent']);
  685.             $context array_intersect_key($context$_parent) + $_parent;
  686.             // line 317
  687.             yield "\t\t";
  688.         }
  689.         $_parent $context['_parent'];
  690.         unset($context['_seq'], $context['_key'], $context['product'], $context['_parent']);
  691.         $context array_intersect_key($context$_parent) + $_parent;
  692.         // line 318
  693.         yield "\t\t";
  694.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["recipesarray"]) || array_key_exists("recipesarray"$context) ? $context["recipesarray"] : (function () { throw new RuntimeError('Variable "recipesarray" does not exist.'318$this->source); })())) > 0)) {
  695.             // line 319
  696.             yield "\t\t\t<h2 class=\"heading\">";
  697.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Recipes Using Our Products"), "html"nulltrue);
  698.             yield "</h2>
  699. \t\t";
  700.         }
  701.         // line 321
  702.         yield "\t\t<div class=\"featured-recipes\">
  703. \t\t\t<div class=\"custom-slider featured-recipes-slider\">
  704. \t\t\t\t";
  705.         // line 325
  706.         $context['_parent'] = $context;
  707.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'325$this->source); })()));
  708.         foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  709.             // line 326
  710.             yield "\t\t\t\t\t";
  711.             $context['_parent'] = $context;
  712.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["product"], "recipes", [], "any"falsefalsefalse326));
  713.             foreach ($context['_seq'] as $context["_key"] => $context["product_used_recipe"]) {
  714.                 // line 327
  715.                 yield "\t\t\t\t\t\t";
  716.                 if (!CoreExtension::inFilter($context["product_used_recipe"], (isset($context["newArray"]) || array_key_exists("newArray"$context) ? $context["newArray"] : (function () { throw new RuntimeError('Variable "newArray" does not exist.'327$this->source); })()))) {
  717.                     // line 328
  718.                     yield "\t\t\t\t\t\t\t";
  719.                     $context["newArray"] = Twig\Extension\CoreExtension::merge((isset($context["newArray"]) || array_key_exists("newArray"$context) ? $context["newArray"] : (function () { throw new RuntimeError('Variable "newArray" does not exist.'328$this->source); })()), [$context["product_used_recipe"]]);
  720.                     // line 329
  721.                     yield "\t\t\t\t\t\t\t<div class=\"slide\">
  722. \t\t\t\t\t\t\t\t<div class=\"slide-holder\">
  723. \t\t\t\t\t\t\t\t\t<a href=\"/";
  724.                     // line 331
  725.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'331$this->source); })()), "request", [], "any"falsefalsefalse331), "locale", [], "any"falsefalsefalse331), "html"nulltrue);
  726.                     yield "/all-recipes/";
  727.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product_used_recipe"], "url", [], "any"falsefalsefalse331), "html"nulltrue);
  728.                     yield "\" tabindex=\"0\">
  729. \t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
  730. \t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  731.                     // line 333
  732.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product_used_recipe"], "featured_image", [], "any"falsefalsefalse333), "html"nulltrue);
  733.                     yield "\" alt=\"";
  734.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product_used_recipe"], "name", [], "any"falsefalsefalse333), "html"nulltrue);
  735.                     yield "\">
  736. \t\t\t\t\t\t\t\t\t\t\t";
  737.                     // line 334
  738.                     if (CoreExtension::getAttribute($this->env$this->source$context["product_used_recipe"], "banner_video", [], "any"falsefalsefalse334)) {
  739.                         // line 335
  740.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
  741. \t\t\t\t\t\t\t\t\t\t\t";
  742.                     }
  743.                     // line 337
  744.                     yield "\t\t\t\t\t\t\t\t\t\t</figure>
  745. \t\t\t\t\t\t\t\t\t</a>
  746. \t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
  747. \t\t\t\t\t\t\t\t\t\t<a href=\"/";
  748.                     // line 340
  749.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'340$this->source); })()), "request", [], "any"falsefalsefalse340), "locale", [], "any"falsefalsefalse340), "html"nulltrue);
  750.                     yield "/all-recipes/";
  751.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product_used_recipe"], "url", [], "any"falsefalsefalse340), "html"nulltrue);
  752.                     yield "\" tabindex=\"0\">
  753. \t\t\t\t\t\t\t\t\t\t\t<h3>";
  754.                     // line 341
  755.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product_used_recipe"], "name", [], "any"falsefalsefalse341), "html"nulltrue);
  756.                     yield "</h3>
  757. \t\t\t\t\t\t\t\t\t\t</a>
  758. \t\t\t\t\t\t\t\t\t\t<p>";
  759.                     // line 343
  760.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product_used_recipe"], "short_description", [], "any"falsefalsefalse343), "html"nulltrue);
  761.                     yield "</p>
  762. \t\t\t\t\t\t\t\t\t\t<div class=\"chef-names\"></div>
  763. \t\t\t\t\t\t\t\t\t\t<ul
  764. \t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
  765. \t\t\t\t\t\t\t\t\t\t\t";
  766.                     // line 348
  767.                     yield "\t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">";
  768.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No. Of"), "html"nulltrue);
  769.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Serving"), "html"nulltrue);
  770.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product_used_recipe"], "serves", [], "any"falsefalsefalse348), "html"nulltrue);
  771.                     yield "</li>
  772. \t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">";
  773.                     // line 349
  774.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source$context["product_used_recipe"], "typeofmeal", [], "any"falsefalsefalse349)), "html"nulltrue);
  775.                     yield "</li>
  776. \t\t\t\t\t\t\t\t\t\t</ul>
  777. \t\t\t\t\t\t\t\t\t</div>
  778. \t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  779. \t\t\t\t\t\t\t\t\t\t<a href=\"/";
  780.                     // line 353
  781.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'353$this->source); })()), "request", [], "any"falsefalsefalse353), "locale", [], "any"falsefalsefalse353), "html"nulltrue);
  782.                     yield "/all-recipes/";
  783.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product_used_recipe"], "url", [], "any"falsefalsefalse353), "html"nulltrue);
  784.                     yield "\" class=\"btn btn-custom btn-lg-o-black\" tabindex=\"0\">";
  785.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("View Recipe"), "html"nulltrue);
  786.                     yield "</a>
  787. \t\t\t\t\t\t\t\t\t</div>
  788. \t\t\t\t\t\t\t\t</div>
  789. \t\t\t\t\t\t\t</div>
  790. \t\t\t\t\t\t";
  791.                 }
  792.                 // line 359
  793.                 yield "\t\t\t\t\t";
  794.             }
  795.             $_parent $context['_parent'];
  796.             unset($context['_seq'], $context['_key'], $context['product_used_recipe'], $context['_parent']);
  797.             $context array_intersect_key($context$_parent) + $_parent;
  798.             // line 360
  799.             yield "\t\t\t\t";
  800.         }
  801.         $_parent $context['_parent'];
  802.         unset($context['_seq'], $context['_key'], $context['product'], $context['_parent']);
  803.         $context array_intersect_key($context$_parent) + $_parent;
  804.         // line 361
  805.         yield "
  806. \t\t\t</div>
  807. \t\t</div>
  808. \t</div>
  809. \t";
  810.         // line 367
  811.         yield from $this->loadTemplate("layout/baseimage.html.twig""Products/category.html.twig"367)->unwrap()->yield($context);
  812.         // line 368
  813.         yield "</section>
  814. <script>
  815.     document.querySelectorAll('.filter-checkbox').forEach(function(checkbox) {
  816.         checkbox.addEventListener('change', function() {\t\t
  817.             document.forms[0].submit();
  818.         });
  819.     });
  820. \tdocument.querySelector('input[name=\"query\"]').addEventListener('keydown', function(event) {
  821.         if (event.key === 'Enter') {
  822.             event.preventDefault();
  823.             document.forms[0].submit();
  824.         }
  825.     });
  826. \tfunction clearFilter() {
  827. \t\t\tdocument.querySelectorAll(\".filter-checkbox\").forEach(function(checkbox) {
  828. \t\t\t\tcheckbox.checked = false;
  829. \t\t\t});
  830. \t\t\tdocument.forms[0].submit();
  831. \t}
  832. \twindow.addEventListener('load', function() {
  833.         document.querySelector('.product-result-container').scrollIntoView({ behavior: 'smooth' });
  834.     });
  835. </script>
  836. <!--End Recipes Using Our Products Section-->
  837. <script>
  838. let page = 1;
  839. function loadMoreProduct() {
  840. data = '';
  841. if (typeof(\$('input[name=\"locationthemes\"]:checked').val()) !== 'undefined') {
  842. var checked_val = \$('input[name=\"locationthemes\"]:checked').val();
  843. data = {
  844. 'checked_val': checked_val
  845. }
  846. }
  847. let add_query = '&';
  848. if (!window.location.search) {
  849. add_query = '?';
  850. }
  851. \$.ajax({
  852. type: \"GET\",
  853. url: window.location.href + add_query + 'page=' + page,
  854. data: data,
  855. cache: false,
  856. beforeSend: function () {
  857. \$('#load-more').addClass('btn-load');
  858. },
  859. complete: function () {
  860. \$('#load-more').removeClass('btn-load');
  861. },
  862. success: function (data) {
  863. if (data.success) {
  864. \$('.product-box-holder .new-div').append(data.success);
  865. page++;
  866. }
  867. if (data.success == '' || data.total_products < 11) {
  868. \$('#load-more').hide();
  869. }
  870. }
  871. });
  872. }
  873. </script>
  874. ";
  875.         // line 441
  876.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'441$this->source); })()), "request", [], "any"falsefalsefalse441), "locale", [], "any"falsefalsefalse441) == "ar")) {
  877.             // line 442
  878.             yield "\t";
  879.             $context["topMenu"] = Twig\Extension\CoreExtension::replace(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'442$this->source); })()), "request", [], "any"falsefalsefalse442), "requesturi", [], "any"falsefalsefalse442), ["/ar/" => "/en/"]);
  880.         } else {
  881.             // line 444
  882.             yield "\t";
  883.             $context["topMenu"] = Twig\Extension\CoreExtension::replace(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'444$this->source); })()), "request", [], "any"falsefalsefalse444), "requesturi", [], "any"falsefalsefalse444), ["/en/" => "/ar/"]);
  884.         }
  885.         // line 446
  886.         yield "
  887. <script>
  888. \tvar _TopMenuLink = \"";
  889.         // line 448
  890.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["topMenu"]) || array_key_exists("topMenu"$context) ? $context["topMenu"] : (function () { throw new RuntimeError('Variable "topMenu" does not exist.'448$this->source); })()), "html"nulltrue);
  891.         yield "\" + window.location.search;
  892. </script>";
  893.         
  894.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  895.         
  896.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  897.         yield from [];
  898.     }
  899.     // line 449
  900.     /**
  901.      * @return iterable<null|scalar|\Stringable>
  902.      */
  903.     public function block_footer(array $context, array $blocks = []): iterable
  904.     {
  905.         $macros $this->macros;
  906.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  907.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  908.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  909.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  910.         // line 450
  911.         yield from $this->loadTemplate("includes/footer.html.twig""Products/category.html.twig"450)->unwrap()->yield($context);
  912.         
  913.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  914.         
  915.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  916.         yield from [];
  917.     }
  918.     /**
  919.      * @codeCoverageIgnore
  920.      */
  921.     public function getTemplateName(): string
  922.     {
  923.         return "Products/category.html.twig";
  924.     }
  925.     /**
  926.      * @codeCoverageIgnore
  927.      */
  928.     public function isTraitable(): bool
  929.     {
  930.         return false;
  931.     }
  932.     /**
  933.      * @codeCoverageIgnore
  934.      */
  935.     public function getDebugInfo(): array
  936.     {
  937.         return array (  983 => 450,  970 => 449,  957 => 448,  953 => 446,  949 => 444,  945 => 442,  943 => 441,  868 => 368,  866 => 367,  858 => 361,  852 => 360,  846 => 359,  833 => 353,  826 => 349,  819 => 348,  812 => 343,  807 => 341,  801 => 340,  796 => 337,  792 => 335,  790 => 334,  784 => 333,  777 => 331,  773 => 329,  770 => 328,  767 => 327,  762 => 326,  758 => 325,  752 => 321,  746 => 319,  743 => 318,  737 => 317,  731 => 316,  728 => 315,  723 => 314,  718 => 313,  715 => 312,  713 => 311,  703 => 303,  701 => 302,  689 => 292,  683 => 289,  680 => 288,  678 => 287,  675 => 286,  672 => 285,  663 => 283,  649 => 281,  645 => 279,  635 => 275,  629 => 271,  621 => 268,  618 => 267,  616 => 266,  609 => 264,  601 => 259,  597 => 258,  593 => 257,  589 => 256,  585 => 254,  581 => 253,  578 => 252,  575 => 251,  571 => 248,  569 => 246,  568 => 245,  567 => 244,  566 => 243,  563 => 242,  560 => 241,  557 => 240,  554 => 239,  551 => 238,  548 => 237,  545 => 236,  542 => 235,  539 => 234,  536 => 233,  533 => 232,  530 => 231,  527 => 230,  524 => 229,  505 => 228,  503 => 227,  495 => 221,  489 => 218,  482 => 214,  479 => 213,  473 => 210,  466 => 206,  463 => 205,  460 => 204,  456 => 196,  452 => 195,  431 => 176,  428 => 175,  419 => 172,  416 => 171,  414 => 170,  407 => 169,  405 => 168,  394 => 162,  386 => 157,  377 => 150,  369 => 132,  364 => 130,  359 => 129,  356 => 128,  350 => 126,  344 => 124,  342 => 123,  337 => 122,  335 => 121,  326 => 114,  319 => 111,  317 => 110,  312 => 108,  304 => 105,  301 => 104,  299 => 103,  292 => 101,  282 => 93,  279 => 92,  271 => 89,  263 => 81,  259 => 80,  253 => 76,  249 => 74,  243 => 70,  239 => 68,  234 => 65,  229 => 64,  224 => 61,  219 => 53,  213 => 50,  207 => 48,  201 => 46,  198 => 45,  192 => 43,  190 => 42,  184 => 38,  178 => 36,  176 => 35,  174 => 34,  170 => 32,  167 => 31,  162 => 29,  160 => 28,  156 => 26,  154 => 25,  147 => 20,  134 => 19,  120 => 15,  118 => 12,  105 => 11,  90 => 7,  85 => 5,  82 => 4,  79 => 3,  66 => 2,  43 => 1,);
  938.     }
  939.     public function getSourceContext(): Source
  940.     {
  941.         return new Source("{% extends \"layout/layout.html.twig\" %}
  942. {% block title %}
  943. \t{% if products_head  is not empty %}
  944. \t\tGFS -
  945. \t\t{{products_head.breadcrumb}}
  946. \t{% else %}
  947. \t\t{{'product_page_meta_title'|trans}}
  948. \t{% endif %}
  949. {% endblock %}
  950. {% block metaDescription %}
  951. \t{# {% if products_head  is not empty %}
  952. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t    GFS - {{products_head.breadcrumb}}
  953. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t  {% else %} #}
  954. \t{{\"product_page_meta_description\"|trans}}
  955. \t{# {% endif %} #}
  956. {% endblock %}
  957. {% block content %}
  958. \t<!--Start Main Slider-->
  959. \t<section class=\"main-slider-section product-main-slider product-main-slider-section-banner denty\">
  960. \t\t<div class=\"container container-lg\">
  961. \t\t\t<div class=\"custom-slider singal-slider main-slider\">
  962. \t\t\t\t{% if products_head is not empty and products_head.slides is not empty %}
  963. \t\t\t\t\t<div class=\"slide\">
  964. \t\t\t\t\t\t<div class=\"slide-media slide-media-desktop\">
  965. \t\t\t\t\t\t\t{% if products_head.slides[0].localizedfields.data.getLocalizedValue('cb_image') is defined %}
  966. \t\t\t\t\t\t\t\t<img src=\"{{ products_head.slides[0].localizedfields.data.getLocalizedValue('cb_image') }}\"alt=\"desktop banner product\" class=\"desktop-banner\">
  967. \t\t\t\t\t\t\t{# <img src=\"{{  products_head.slides[0].localizedfields.data.getLocalizedValue('cb_image_mobile') }}\" alt=\"\" class=\"mobile-banner\"> #}
  968. \t\t\t\t\t\t\t{% endif %}
  969. \t\t\t\t\t\t</div>
  970. \t\t\t\t\t\t<div class=\"slide-media slide-media-mobile\">
  971. \t\t\t\t\t\t\t{% if products_head.slides[0].localizedfields.data.getLocalizedValue('cb_image_mobile') is defined %}
  972. \t\t\t\t\t\t\t\t{# <img src=\"{{  products_head.slides[0].localizedfields.data.getLocalizedValue('cb_image') }}\" alt=\"\" class=\"desktop-banner\"> #}
  973. \t\t\t\t\t\t\t\t<img src=\"{{ products_head.slides[0].localizedfields.data.getLocalizedValue('cb_image_mobile') }}\" alt=\"mobile banner product\" class=\"mobile-banner\">
  974. \t\t\t\t\t\t\t{% endif %}
  975. \t\t\t\t\t\t</div>
  976. \t\t\t\t\t\t<div class=\"silde-content-box\">
  977. \t\t\t\t\t\t\t<div class=\"slide-content\">
  978. \t\t\t\t\t\t\t\t<h1>
  979. \t\t\t\t\t\t\t\t\t{% if products_head.slides[0].localizedfields.data.getLocalizedValue('cb_title') is defined %}
  980. \t\t\t\t\t\t\t\t\t\t<span class=\"title-sm d-block\">{{products_head.slides[0].localizedfields.data.getLocalizedValue('cb_title')}}</span>
  981. \t\t\t\t\t\t\t\t\t{% endif %}
  982. \t\t\t\t\t\t\t\t\t{% if products_head.slides[0].localizedfields.data.getLocalizedValue('cb_link')  %}
  983. \t\t\t\t\t\t\t\t\t\t<span class=\"title-lg underline-end d-block\">{{products_head.slides[0].localizedfields.data.getLocalizedValue('cb_link')}}</span>
  984. \t\t\t\t\t\t\t\t\t{% else %}
  985. \t\t\t\t\t\t\t\t\t\t<span class=\"title-lg\">{{'quality'|trans}}
  986. \t\t\t\t\t\t\t\t\t\t\t&
  987. \t\t\t\t\t\t\t\t\t\t\t<u>{{'taste!'|trans}}</u>
  988. \t\t\t\t\t\t\t\t\t\t</span>
  989. \t\t\t\t\t\t\t\t\t{% endif %}
  990. \t\t\t\t\t\t\t\t</h1>
  991. \t\t\t\t\t\t\t</div>
  992. \t\t\t\t\t\t\t{# {% if products_head.brand_logo is not empty %}
  993. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t              <div class=\"product-brand\">
  994. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                <img src=\"{{products_head.brand_logo}}\" alt=\"\">
  995. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t              </div>
  996. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t              {% endif %} #}
  997. \t\t\t\t\t\t</div>
  998. \t\t\t\t\t</div>
  999. \t\t\t\t{% else %}
  1000. \t\t\t\t\t{% for slides in category_slider %}
  1001. \t\t\t\t\t\t<div class=\"slide\">
  1002. \t\t\t\t\t\t\t<div class=\"slide-media slide-media-desktop\">
  1003. \t\t\t\t\t\t\t\t<img
  1004. \t\t\t\t\t\t\t\tsrc=\"{{ slides.slider_image.data }}\" alt=\"category banner image desktop\" class=\"desktop-banner\">
  1005. \t\t\t\t\t\t\t{# <img src=\"{{ slides.slider_image.data }}\" alt=\"\" class=\"mobile-banner\"> #}
  1006. \t\t\t\t\t\t\t</div>
  1007. \t\t\t\t\t\t\t<div class=\"slide-media slide-media-mobile\">
  1008. \t\t\t\t\t\t\t\t<img
  1009. \t\t\t\t\t\t\t\tsrc=\"{{ slides.slider_image_mobile.data }}\" alt=\"category banner image mobile\" class=\"desktop-banner\">
  1010. \t\t\t\t\t\t\t{# <img src=\"{{ slides.slider_image.data }}\" alt=\"\" class=\"mobile-banner\"> #}
  1011. \t\t\t\t\t\t\t</div>
  1012. \t\t\t\t\t\t\t<div class=\"silde-content-box \">
  1013. \t\t\t\t\t\t\t\t<div class=\"slide-content\">
  1014. \t\t\t\t\t\t\t\t\t<h1>
  1015. \t\t\t\t\t\t\t\t\t\t<span class=\"title-sm d-block\">{{ slides.localizedfields.data.getLocalizedValue('heading') }}</span>
  1016. \t\t\t\t\t\t\t\t\t\t<span class=\"title-lg underline-end\">{{ slides.localizedfields.data.getLocalizedValue('heading1') }}</u>
  1017. \t\t\t\t\t\t\t\t\t</span>
  1018. \t\t\t\t\t\t\t\t</h1>
  1019. \t\t\t\t\t\t\t</div>
  1020. \t\t\t\t\t\t\t{# <div class=\"product-brand\">
  1021. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                  <img src=\"/static/assets/images/goody_logo.png\" alt=\"\">
  1022. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                </div> #}
  1023. \t\t\t\t\t\t</div>
  1024. \t\t\t\t\t</div>
  1025. \t\t\t\t{% endfor %}
  1026. \t\t\t{% endif %}
  1027. \t\t</div>
  1028. \t</div>
  1029. </section>
  1030. <!--End Main Slider-->
  1031. <!--Start Breadcrumbs-->
  1032. <div class=\"breadcrumb-holder\">
  1033. \t<ol class=\"breadcrumb\">
  1034. \t\t<li class=\"breadcrumb-item\">
  1035. \t\t\t<a href=\"/{{app.request.locale}}\">{{'Home'|trans}}</a>
  1036. \t\t</li>
  1037. \t\t{% if products_head  is not empty %}
  1038. \t\t\t<li class=\"breadcrumb-item\">
  1039. \t\t\t\t<a href=\"/{{app.request.locale}}/products/\">{{'Products'|trans}}</a>
  1040. \t\t\t</li>
  1041. \t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">{{products_head.breadcrumb}}</li>
  1042. \t\t{% else %}
  1043. \t\t\t{# <li class=\"breadcrumb-item active\" aria-current=\"page\">{{'allproducts'|trans}}</li> #}
  1044. \t\t\t<li class=\"breadcrumb-item\">{{'Products'|trans}}</li>
  1045. \t\t{% endif %}
  1046. \t</ol>
  1047. </div>
  1048. <!--End Breadcrumbs-->
  1049. <!--Start Page Info Section-->
  1050. <section class=\"pageinfo-section\">
  1051. \t<div class=\"container container-sm\">
  1052. \t\t{% if products_head is not empty %}
  1053. \t\t\t<h1 class=\"title\">{{products_head.name}}</h1>
  1054. \t\t\t{% if products_head.id != 263 and products_head.id != 260 and products_head.id != 413%}
  1055. \t\t\t\t<p>{{products_head.Detail_desc}}</p>
  1056. \t\t\t{% else %}
  1057. \t\t\t\t<p>{{products_head.description}}</p>
  1058. \t\t\t{% endif %}
  1059. \t\t{% else %}
  1060. \t\t\t<h1 class=\"title\">{{'allproducts'|trans}}</h1>
  1061. \t\t\t<p>{{'allproductsdescription'|trans}}</p>
  1062. \t\t{% endif %}
  1063. \t</div>
  1064. </section>
  1065. <!--End Page Info Section-->
  1066. <!--Start Product Box-->
  1067. {# {% if products_head is not empty %}
  1068. \t{% if products_head.id != 263 %}
  1069. \t\t{% else %}
  1070. \t\t\t<h2 class=\"text-center mt-3\">{{'Coming soon'|trans}}</h2>
  1071. \t\t\t<style>
  1072. \t\t\t\t.product-result-container,
  1073. \t\t\t\t.featured-recipes-section {
  1074. \t\t\t\t\tdisplay: none;
  1075. \t\t\t\t}
  1076. \t\t\t</style>
  1077. \t{% endif %}
  1078. {% endif %} #}
  1079. <section class=\"product-result-container position-bg-product\">
  1080. \t<div class=\"container container-sm\">
  1081. \t\t<div class=\"row\">
  1082. \t\t<div class=\"col-sm-12 col-lg-4 col-xl-3 filter-box\">
  1083. \t\t\t<form name=\"filter-form\" id=\"filter-form\" method=\"get\">\t
  1084. \t\t\t\t\t<div class=\"filter-wrapper\">
  1085. \t\t\t\t\t\t<h4 class=\"title\">{{'Filters'|trans}}
  1086. \t\t\t\t\t\t\t<span class=\"filter-icon\"><img src=\"/static/assets/images/filter-dropdown.svg\" alt=\"filter-dropdown\"></span>
  1087. \t\t\t\t\t\t</h4>
  1088. \t\t\t\t\t\t<div class=\"filder-options\">
  1089. \t\t\t\t\t\t\t<div class=\"input-holder\">
  1090. \t\t\t\t\t\t\t\t<input type=\"text\" placeholder=\"{{'Search for product'|trans}}\" name=\"query\" id=\"search\" value=\"{{ filters.query }}\" class=\"form-control\">
  1091. \t\t\t\t\t\t\t</div>
  1092. \t\t\t\t\t\t</div>
  1093. \t\t\t\t\t</div>
  1094. \t\t\t\t\t<div class=\"filter-accordion hidden\">
  1095. \t\t\t\t\t\t<div class=\"card filter-card\" id=\"filter1\">
  1096. \t\t\t\t\t\t\t{% if(filterDefinition.filters|length > 0) %}
  1097. \t\t\t\t\t\t\t\t{% for filter in filterDefinition.filters %}\t\t\t\t\t\t\t\t\t
  1098. \t\t\t\t\t\t\t\t\t{% set filterMarkup = filterService.filterFrontend(filter, productListing, currentFilter) %}
  1099. \t\t\t\t\t\t\t\t\t{{ filterMarkup | raw  }}
  1100. \t\t\t\t\t\t\t\t{% endfor %}
  1101. \t\t\t\t\t\t\t{% endif %}
  1102. \t\t\t\t\t\t</div>
  1103. \t\t\t\t\t</div>\t\t\t\t\t
  1104. \t\t\t\t</form>
  1105. \t\t\t</div>
  1106. \t\t\t<div
  1107. \t\t\t\tclass=\"col-sm-12 col-lg-8 col-xl-9 product-results\">
  1108. \t\t\t\t<!--Start Product Small Banner-->
  1109. \t\t\t\t<div class=\"social-holder-box social-small-box catalog-download\">
  1110. \t\t\t\t\t<div class=\"social-holder-img slide-media-mobile\">
  1111. \t\t\t\t\t\t<img src=\"/static/assets/images/download_catalog_374x128_mobile.jpg\" alt=\"catalog mobile\">
  1112. \t\t\t\t\t</div>
  1113. \t\t\t\t\t<div class=\"social-holder-img slide-media-desktop\">
  1114. \t\t\t\t\t\t<img src=\"/static/assets/images/download_catalog_485x166_desktop.jpg\" alt=\"catalog desktop\">
  1115. \t\t\t\t\t</div>
  1116. \t\t\t\t\t<div class=\"social-holder-info\">
  1117. \t\t\t\t\t\t<p>{{'Download our latest product'|trans}}</p>
  1118. \t\t\t\t\t\t<p>{{'catalog with updated line-up'|trans}}</p>
  1119. \t\t\t\t\t\t{# <div class=\"btn-holder slide-media-desktop\">
  1120. \t\t\t\t\t\t\t<a href=\"/Catalog/2022/Catalog_Full.pdf\" class=\"btn btn-custom btn-primary\" download>{{'Download Now!'|trans}}</a>
  1121. \t\t\t\t\t\t</div>
  1122. \t\t\t\t\t\t<div class=\"btn-holder slide-media-mobile\">
  1123. \t\t\t\t\t\t\t<a href=\"/Catalog/2022/Catalog_Full_Mobile.pdf\" class=\"btn btn-custom btn-green\" download>{{'Download Now!'|trans}}</a>
  1124. \t\t\t\t\t\t</div> #}
  1125. \t\t\t\t\t\t{% if app.request.locale == 'ar' %}
  1126. \t\t\t\t\t\t\t<div class=\"btn-holder slide-media-desktop\">
  1127. \t\t\t\t\t\t\t\t<a href=\"/Catalog/2024/GCS_Catalog_Arabic_Desktop.pdf\" class=\"btn btn-custom btn-primary\" download>{{'Download Now!'|trans}}</a>
  1128. \t\t\t\t\t\t\t</div>
  1129. \t\t\t\t\t\t\t<div class=\"btn-holder slide-media-mobile\">
  1130. \t\t\t\t\t\t\t\t<a href=\"/Catalog/2024/GCS_Catalog_Arabic_Mobile.pdf\" class=\"btn btn-custom btn-green\" download>{{'Download Now!'|trans}}</a>
  1131. \t\t\t\t\t\t\t</div>
  1132. \t\t\t\t\t\t{% else %}
  1133. \t\t\t\t\t\t\t<div class=\"btn-holder slide-media-desktop\">
  1134. \t\t\t\t\t\t\t\t<a href=\"/Catalog/2024/GCS_Catalog_English_Desktop.pdf\" class=\"btn btn-custom btn-primary\" download>{{'Download Now!'|trans}}</a>
  1135. \t\t\t\t\t\t\t</div>
  1136. \t\t\t\t\t\t\t<div class=\"btn-holder slide-media-mobile\">
  1137. \t\t\t\t\t\t\t\t<a href=\"/Catalog/2024/GCS_Catalog_English_Mobile.pdf\" class=\"btn btn-custom btn-green\" download>{{'Download Now!'|trans}}</a>
  1138. \t\t\t\t\t\t\t</div>
  1139. \t\t\t\t\t\t{% endif %}
  1140. \t\t\t\t\t</div>
  1141. \t\t\t\t</div>
  1142. \t\t\t\t<!--End Product Small Banner-->
  1143. \t\t\t\t<div class=\"product-box-holder\">
  1144. \t\t\t\t\t<div class=\"row\">
  1145. \t\t\t\t\t\t{% if products is defined and products is not null %}
  1146. \t\t\t\t\t\t\t{% for product in products %}
  1147. \t\t\t\t\t\t\t\t{% if product.brands.id is defined  %}
  1148. \t\t\t\t\t\t\t\t\t{% if product.brands.id == 263 %}
  1149. \t\t\t\t\t\t\t\t\t\t{% set class = \"slide-img-bg-brown\" %}
  1150. \t\t\t\t\t\t\t\t\t{% elseif product.brands.id == 262 %}
  1151. \t\t\t\t\t\t\t\t\t\t{% set class = \"slide-img-bg-blue\" %}
  1152. \t\t\t\t\t\t\t\t\t{% elseif product.brands.id == 413 %}
  1153. \t\t\t\t\t\t\t\t\t\t{% set class = \"slide-img-bg-purple\" %}
  1154. \t\t\t\t\t\t\t\t\t{% else %}
  1155. \t\t\t\t\t\t\t\t\t\t{% set class = \"slide-img-bg-green\" %}
  1156. \t\t\t\t\t\t\t\t\t{% endif %}
  1157. \t\t\t\t\t\t\t\t{% else %}
  1158. \t\t\t\t\t\t\t\t\t{% set class = \"no-class\" %}
  1159. \t\t\t\t\t\t\t\t{% endif %}
  1160. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 col-xl-4 product-result\">
  1161. \t\t\t\t\t\t\t\t\t{% include \"/includes/product-card.html.twig\" with {
  1162. \t\t\t\t\t\t\t\t\t\tfeatured_product: product,
  1163. \t\t\t\t\t\t\t\t\t\tclass: class,
  1164. \t\t\t\t\t\t\t\t\t\tLikedId : LikedId,
  1165. \t\t\t\t\t\t\t\t\t} %}
  1166. \t\t\t\t\t\t\t\t</div>
  1167. \t\t\t\t\t\t\t\t<!--Start GFS Loyalty Program-->
  1168. \t\t\t\t\t\t\t\t{#  {% if  loop.index == 6 %} understaining purpose #}
  1169. \t\t\t\t\t\t\t\t{% if  loop.index == 6 %}
  1170. \t\t\t\t\t\t\t\t</div>
  1171. \t\t\t\t\t\t\t\t{% for mid_banners in mid_banner %}
  1172. \t\t\t\t\t\t\t\t\t<div class=\"info-media loyalty-program loyalty-program-small d-none\">
  1173. \t\t\t\t\t\t\t\t\t\t<div class=\"info-section\">
  1174. \t\t\t\t\t\t\t\t\t\t\t<h5>{{'loyalty program'|trans}}</h5>
  1175. \t\t\t\t\t\t\t\t\t\t\t<h4>{{'Join the'|trans}}</h4>
  1176. \t\t\t\t\t\t\t\t\t\t\t<h3>{{mid_banners.localizedfields.data.getLocalizedValue('heading')}}</h3>
  1177. \t\t\t\t\t\t\t\t\t\t\t<p>{{mid_banners.localizedfields.data.getLocalizedValue('heading1')}}</p>
  1178. \t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  1179. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-border\">
  1180. \t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/loyalty-program\" class=\"btn btn-custom btn-lg-o-white\">{{'Discover More'|trans}}</a>
  1181. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1182. \t\t\t\t\t\t\t\t\t\t\t\t{% if app.session.get('loginUserName') is null %}
  1183. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-border btn-border-black \">
  1184. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/signup\" class=\"btn btn-custom btn-lg-o-black\">{{'Sign-up Now!'|trans}}</a>
  1185. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1186. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1187. \t\t\t\t\t\t\t\t\t\t\t</div>
  1188. \t\t\t\t\t\t\t\t\t\t</div>
  1189. \t\t\t\t\t\t\t\t\t\t<div class=\"media-section\">
  1190. \t\t\t\t\t\t\t\t\t\t\t<img src=\"{{mid_banners.slider_image.data}}\" alt=\"mid banner image\">
  1191. \t\t\t\t\t\t\t\t\t\t</div>
  1192. \t\t\t\t\t\t\t\t\t</div>
  1193. \t\t\t\t\t\t\t\t{% endfor %}
  1194. \t\t\t\t\t\t\t\t<div class=\"row new-div\">
  1195. \t\t\t\t\t\t\t\t{% endif %}
  1196. \t\t\t\t\t\t\t\t<!--End GFS Loyalty Program-->
  1197. \t\t\t\t\t\t\t{% else %}
  1198. \t\t\t\t\t\t\t\t<h2>{{'No Product Found'|trans}}</h2>
  1199. \t\t\t\t\t\t\t{% endfor %}
  1200. \t\t\t\t\t\t{% endif %}
  1201. \t\t\t\t\t</div>
  1202. \t\t\t\t\t{% if products|length >= 12 %}
  1203. \t\t\t\t\t\t<div class=\"load-more\">
  1204. \t\t\t\t\t\t\t<button class=\"btn btn-custom btn-p-outline-blue\" id=\"load-more\" onclick=\"loadMoreProduct()\">{{'Load more'|trans}}</button>
  1205. \t\t\t\t\t\t</div>
  1206. \t\t\t\t\t{% endif %}
  1207. \t\t\t\t</div>
  1208. \t\t\t</div>
  1209. \t\t</div>
  1210. \t</div>
  1211. \t{% include \"layout/baseimage.html.twig\" %}
  1212. </section>
  1213. <!--End Product Box-->
  1214. <!--Start Recipes Using Our Products Section-->
  1215. <section class=\"featured-recipes-section inner-featured-recipe using-products using-products-home position-bg-img position-bg-product-2 recipe-using-products-product-section\">
  1216. \t<div class=\"container container-sm\">
  1217. \t\t{% set newArray = [] %}
  1218. \t\t{% set recipesarray = [] %}
  1219. \t\t{% for product in products %}
  1220. \t\t\t{% for product_used_recipe in product.recipes %}
  1221. \t\t\t\t{% set recipesarray = recipesarray|merge([product_used_recipe]) %}
  1222. \t\t\t{% endfor %}
  1223. \t\t{% endfor %}
  1224. \t\t{% if recipesarray|length >  0 %}
  1225. \t\t\t<h2 class=\"heading\">{{'Recipes Using Our Products'|trans}}</h2>
  1226. \t\t{% endif %}
  1227. \t\t<div class=\"featured-recipes\">
  1228. \t\t\t<div class=\"custom-slider featured-recipes-slider\">
  1229. \t\t\t\t{% for product in products %}
  1230. \t\t\t\t\t{% for product_used_recipe in product.recipes %}
  1231. \t\t\t\t\t\t{% if product_used_recipe not in newArray %}
  1232. \t\t\t\t\t\t\t{% set newArray = newArray|merge([product_used_recipe]) %}
  1233. \t\t\t\t\t\t\t<div class=\"slide\">
  1234. \t\t\t\t\t\t\t\t<div class=\"slide-holder\">
  1235. \t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{ product_used_recipe.url }}\" tabindex=\"0\">
  1236. \t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
  1237. \t\t\t\t\t\t\t\t\t\t\t<img src=\"{{product_used_recipe.featured_image}}\" alt=\"{{product_used_recipe.name}}\">
  1238. \t\t\t\t\t\t\t\t\t\t\t{% if product_used_recipe.banner_video %}
  1239. \t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
  1240. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1241. \t\t\t\t\t\t\t\t\t\t</figure>
  1242. \t\t\t\t\t\t\t\t\t</a>
  1243. \t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
  1244. \t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{ product_used_recipe.url }}\" tabindex=\"0\">
  1245. \t\t\t\t\t\t\t\t\t\t\t<h3>{{ product_used_recipe.name }}</h3>
  1246. \t\t\t\t\t\t\t\t\t\t</a>
  1247. \t\t\t\t\t\t\t\t\t\t<p>{{ product_used_recipe.short_description }}</p>
  1248. \t\t\t\t\t\t\t\t\t\t<div class=\"chef-names\"></div>
  1249. \t\t\t\t\t\t\t\t\t\t<ul
  1250. \t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
  1251. \t\t\t\t\t\t\t\t\t\t\t{# <li class=\"mins\">{{ product_used_recipe.time }}{{ \"mins\"|trans }}</li> #}
  1252. \t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">{{'No. Of'|trans}}{{'Serving'|trans}}{{ product_used_recipe.serves }}</li>
  1253. \t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">{{ product_used_recipe.typeofmeal|trans }}</li>
  1254. \t\t\t\t\t\t\t\t\t\t</ul>
  1255. \t\t\t\t\t\t\t\t\t</div>
  1256. \t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  1257. \t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{ product_used_recipe.url }}\" class=\"btn btn-custom btn-lg-o-black\" tabindex=\"0\">{{'View Recipe'|trans}}</a>
  1258. \t\t\t\t\t\t\t\t\t</div>
  1259. \t\t\t\t\t\t\t\t</div>
  1260. \t\t\t\t\t\t\t</div>
  1261. \t\t\t\t\t\t{% endif %}
  1262. \t\t\t\t\t{% endfor %}
  1263. \t\t\t\t{% endfor %}
  1264. \t\t\t</div>
  1265. \t\t</div>
  1266. \t</div>
  1267. \t{% include \"layout/baseimage.html.twig\" %}
  1268. </section>
  1269. <script>
  1270.     document.querySelectorAll('.filter-checkbox').forEach(function(checkbox) {
  1271.         checkbox.addEventListener('change', function() {\t\t
  1272.             document.forms[0].submit();
  1273.         });
  1274.     });
  1275. \tdocument.querySelector('input[name=\"query\"]').addEventListener('keydown', function(event) {
  1276.         if (event.key === 'Enter') {
  1277.             event.preventDefault();
  1278.             document.forms[0].submit();
  1279.         }
  1280.     });
  1281. \tfunction clearFilter() {
  1282. \t\t\tdocument.querySelectorAll(\".filter-checkbox\").forEach(function(checkbox) {
  1283. \t\t\t\tcheckbox.checked = false;
  1284. \t\t\t});
  1285. \t\t\tdocument.forms[0].submit();
  1286. \t}
  1287. \twindow.addEventListener('load', function() {
  1288.         document.querySelector('.product-result-container').scrollIntoView({ behavior: 'smooth' });
  1289.     });
  1290. </script>
  1291. <!--End Recipes Using Our Products Section-->
  1292. <script>
  1293. let page = 1;
  1294. function loadMoreProduct() {
  1295. data = '';
  1296. if (typeof(\$('input[name=\"locationthemes\"]:checked').val()) !== 'undefined') {
  1297. var checked_val = \$('input[name=\"locationthemes\"]:checked').val();
  1298. data = {
  1299. 'checked_val': checked_val
  1300. }
  1301. }
  1302. let add_query = '&';
  1303. if (!window.location.search) {
  1304. add_query = '?';
  1305. }
  1306. \$.ajax({
  1307. type: \"GET\",
  1308. url: window.location.href + add_query + 'page=' + page,
  1309. data: data,
  1310. cache: false,
  1311. beforeSend: function () {
  1312. \$('#load-more').addClass('btn-load');
  1313. },
  1314. complete: function () {
  1315. \$('#load-more').removeClass('btn-load');
  1316. },
  1317. success: function (data) {
  1318. if (data.success) {
  1319. \$('.product-box-holder .new-div').append(data.success);
  1320. page++;
  1321. }
  1322. if (data.success == '' || data.total_products < 11) {
  1323. \$('#load-more').hide();
  1324. }
  1325. }
  1326. });
  1327. }
  1328. </script>
  1329. {% if (app.request.locale =='ar') %}
  1330. \t{% set topMenu = app.request.requesturi|replace({'/ar/': '/en/'}) %}
  1331. {% else %}
  1332. \t{% set topMenu = app.request.requesturi|replace({'/en/': '/ar/'}) %}
  1333. {% endif %}
  1334. <script>
  1335. \tvar _TopMenuLink = \"{{ topMenu }}\" + window.location.search;
  1336. </script>{% endblock %}{% block footer %}
  1337. {% include \"includes/footer.html.twig\" %}{% endblock %}
  1338. ""Products/category.html.twig""/var/www/vhosts/centric.ae/gcs.centric.ae/templates/Products/category.html.twig");
  1339.     }
  1340. }