var/cache/dev/twig/be/be80957ba1d56de5999d7e9d9081a180.php line 95

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/product.html.twig */
  16. class __TwigTemplate_551ab81ada1f3c4d3eff9482f2af8e5f 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.             'content' => [$this'block_content'],
  30.             'footer' => [$this'block_footer'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34.     {
  35.         // line 1
  36.         return "layout/layout.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = []): iterable
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Products/product.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Products/product.html.twig"));
  45.         $this->parent $this->loadTemplate("layout/layout.html.twig""Products/product.html.twig"1);
  46.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     /**
  54.      * @return iterable<null|scalar|\Stringable>
  55.      */
  56.     public function block_title(array $context, array $blocks = []): iterable
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  63.         // line 4
  64.         yield "\t";
  65.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'4$this->source); })()), "name", [], "any"falsefalsefalse4), "html"nulltrue);
  66.         yield "
  67. ";
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.         
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72.         yield from [];
  73.     }
  74.     // line 7
  75.     /**
  76.      * @return iterable<null|scalar|\Stringable>
  77.      */
  78.     public function block_content(array $context, array $blocks = []): iterable
  79.     {
  80.         $macros $this->macros;
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  85.         // line 8
  86.         yield "
  87. \t";
  88.         // line 9
  89.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'9$this->source); })()), "brands", [], "any"falsefalsefalse9), "id", [], "any"falsefalsefalse9) == 263)) {
  90.             // line 10
  91.             yield "\t\t";
  92.             $context["class"] = "media-bg-brown";
  93.             // line 11
  94.             yield "\t";
  95.         } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'11$this->source); })()), "brands", [], "any"falsefalsefalse11), "id", [], "any"falsefalsefalse11) == 262)) {
  96.             // line 12
  97.             yield "\t\t";
  98.             $context["class"] = "media-bg-blue";
  99.             // line 13
  100.             yield "\t";
  101.         } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'13$this->source); })()), "brands", [], "any"falsefalsefalse13), "id", [], "any"falsefalsefalse13) == 413)) {
  102.             // line 14
  103.             yield "\t\t";
  104.             $context["class"] = "media-bg-purple";
  105.             // line 15
  106.             yield "\t";
  107.         } else {
  108.             // line 16
  109.             yield "\t\t";
  110.             $context["class"] = "media-bg-green";
  111.             // line 17
  112.             yield "\t";
  113.         }
  114.         // line 18
  115.         yield "\t<!--Start Product Detail Main-->
  116. \t<section class=\"info-media media-bg-right product-detail-main product-detail-revised ";
  117.         // line 19
  118.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'19$this->source); })()), "html"nulltrue);
  119.         yield "\">
  120. \t\t<div class=\"container container-sm\">
  121. \t\t\t<div class=\" product-detail-holder\">
  122. \t\t\t\t<div
  123. \t\t\t\t\tclass=\"info-section\">
  124. \t\t\t\t\t<!--Start Breadcrumbs-->
  125. \t\t\t\t\t";
  126.         // line 27
  127.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'27$this->source); })()), "brands", [], "any"falsefalsefalse27), "id", [], "any"falsefalsefalse27) == 263)) {
  128.             // line 28
  129.             yield "\t\t\t\t\t\t";
  130.             $context["class"] = "breadcrumb-dbrown";
  131.             // line 29
  132.             yield "\t\t\t\t\t";
  133.         } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'29$this->source); })()), "brands", [], "any"falsefalsefalse29), "id", [], "any"falsefalsefalse29) == 262)) {
  134.             // line 30
  135.             yield "\t\t\t\t\t\t";
  136.             $context["class"] = "breadcrumb-blue";
  137.             // line 31
  138.             yield "\t\t\t\t\t";
  139.         } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'31$this->source); })()), "brands", [], "any"falsefalsefalse31), "id", [], "any"falsefalsefalse31) == 413)) {
  140.             // line 32
  141.             yield "\t\t\t\t\t\t";
  142.             $context["class"] = "breadcrumb-purple";
  143.             // line 33
  144.             yield "\t\t\t\t\t";
  145.         } else {
  146.             // line 34
  147.             yield "\t\t\t\t\t\t";
  148.             $context["class"] = "breadcrumb-dgreen";
  149.             // line 35
  150.             yield "\t\t\t\t\t";
  151.         }
  152.         // line 36
  153.         yield "
  154. \t\t\t\t\t<div class=\"breadcrumb-holder ";
  155.         // line 37
  156.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'37$this->source); })()), "html"nulltrue);
  157.         yield " breadcrumb-fixed\">
  158. \t\t\t\t\t\t<ol class=\"breadcrumb\">
  159. \t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  160. \t\t\t\t\t\t\t\t<a href=\"/";
  161.         // line 40
  162.         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.'40$this->source); })()), "request", [], "any"falsefalsefalse40), "locale", [], "any"falsefalsefalse40), "html"nulltrue);
  163.         yield "\">";
  164.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html"nulltrue);
  165.         yield "</a>
  166. \t\t\t\t\t\t\t</li>
  167. \t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  168. \t\t\t\t\t\t\t\t<a href=\"/";
  169.         // line 43
  170.         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.'43$this->source); })()), "request", [], "any"falsefalsefalse43), "locale", [], "any"falsefalsefalse43), "html"nulltrue);
  171.         yield "/products/\">";
  172.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Products"), "html"nulltrue);
  173.         yield "</a>
  174. \t\t\t\t\t\t\t</li>
  175. \t\t\t\t\t\t\t";
  176.         // line 48
  177.         yield "
  178. \t\t\t\t\t\t\t";
  179.         // line 49
  180.         if (CoreExtension::getAttribute($this->env$this->source, ($context["product"] ?? null), "categories", [], "any"truetruefalse49)) {
  181.             // line 50
  182.             yield "\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  183. \t\t\t\t\t\t\t\t\t<a href=\"/";
  184.             // line 51
  185.             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.'51$this->source); })()), "request", [], "any"falsefalsefalse51), "locale", [], "any"falsefalsefalse51), "html"nulltrue);
  186.             yield "/products/";
  187.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'51$this->source); })()), "categories", [], "any"falsefalsefalse51), 0, [], "array"falsefalsefalse51), "url", [], "any"falsefalsefalse51), "html"nulltrue);
  188.             yield "\">";
  189.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'51$this->source); })()), "categories", [], "any"falsefalsefalse51), 0, [], "array"falsefalsefalse51), "name", [], "any"falsefalsefalse51), "html"nulltrue);
  190.             yield "</a>
  191. \t\t\t\t\t\t\t\t</li>
  192. \t\t\t\t\t\t\t";
  193.         }
  194.         // line 54
  195.         yield "\t\t\t\t\t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">";
  196.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'54$this->source); })()), "name", [], "any"falsefalsefalse54), "html"nulltrue);
  197.         yield "</li>
  198. \t\t\t\t\t\t</ol>
  199. \t\t\t\t\t</div>
  200. \t\t\t\t\t<!--End Breadcrumbs-->
  201. \t\t\t\t\t<h1 class=\"product-name\">";
  202.         // line 59
  203.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'59$this->source); })()), "name", [], "any"falsefalsefalse59), "html"nulltrue);
  204.         yield "</h1>
  205. \t\t\t\t\t<h6 class=\"product-code\">";
  206.         // line 60
  207.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Product Code"), "html"nulltrue);
  208.         yield ":
  209. \t\t\t\t\t\t";
  210.         // line 61
  211.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'61$this->source); })()), "code", [], "any"falsefalsefalse61), "html"nulltrue);
  212.         yield "</h6>
  213. \t\t\t\t\t";
  214.         // line 62
  215.         $context["user"] = 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.'62$this->source); })()), "session", [], "any"falsefalsefalse62), "get", ["loginUserName"], "method"falsefalsefalse62);
  216.         // line 63
  217.         yield "\t\t\t\t\t";
  218.         if ( !(null === (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'63$this->source); })()))) {
  219.             // line 64
  220.             yield "\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info social-info recipe-info social-info-small\">
  221. \t\t\t\t\t\t\t";
  222.             // line 65
  223.             if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["Liked"]) || array_key_exists("Liked"$context) ? $context["Liked"] : (function () { throw new RuntimeError('Variable "Liked" does not exist.'65$this->source); })())) > 0)) {
  224.                 // line 66
  225.                 yield "\t\t\t\t\t\t\t\t<li class=\"liked\">";
  226.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html"nulltrue);
  227.                 yield "</li>
  228. \t\t\t\t\t\t\t";
  229.             } else {
  230.                 // line 68
  231.                 yield "\t\t\t\t\t\t\t\t<li class=\"like\" onclick=\"loyaltyProgram(this, ";
  232.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'68$this->source); })()), "id", [], "any"falsefalsefalse68), "html"nulltrue);
  233.                 yield ",'";
  234.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'68$this->source); })()), "name", [], "any"falsefalsefalse68), "html"nulltrue);
  235.                 yield "',10,'Product','Like')\">";
  236.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html"nulltrue);
  237.                 yield "</li>
  238. \t\t\t\t\t\t\t";
  239.             }
  240.             // line 70
  241.             yield "
  242. \t\t\t\t\t\t\t<li class=\"share\" onclick=\"loyaltyProgram(this, ";
  243.             // line 71
  244.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'71$this->source); })()), "id", [], "any"falsefalsefalse71), "html"nulltrue);
  245.             yield ",'";
  246.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'71$this->source); })()), "name", [], "any"falsefalsefalse71), "html"nulltrue);
  247.             yield "',10,'Product','Share')\">
  248. \t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Product','";
  249.             // line 72
  250.             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.'72$this->source); })()), "request", [], "any"falsefalsefalse72), "getSchemeAndHttpHost", [], "method"falsefalsefalse72) . "/") . 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.'72$this->source); })()), "request", [], "any"falsefalsefalse72), "locale", [], "any"falsefalsefalse72)) . "/product/") . CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'72$this->source); })()), "url", [], "any"falsefalsefalse72)), "html"nulltrue);
  251.             yield "' , '";
  252.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share product info with your friends"), "html"nulltrue);
  253.             yield "')\">";
  254.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html"nulltrue);
  255.             yield "</span>
  256. \t\t\t\t\t\t\t</li>
  257. \t\t\t\t\t\t\t<li class=\"download d-none\" onclick=\"loyaltyProgram(this, ";
  258.             // line 74
  259.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'74$this->source); })()), "id", [], "any"falsefalsefalse74), "html"nulltrue);
  260.             yield ",'";
  261.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'74$this->source); })()), "name", [], "any"falsefalsefalse74), "html"nulltrue);
  262.             yield "',10,'Product','Download')\">";
  263.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html"nulltrue);
  264.             yield "</li>
  265. \t\t\t\t\t\t</ul>
  266. \t\t\t\t\t";
  267.         } else {
  268.             // line 77
  269.             yield "\t\t\t\t\t\t<ul class=\"list-unstyled social-info recipe-info\">
  270. \t\t\t\t\t\t\t<li class=\"like logged-out\">";
  271.             // line 78
  272.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html"nulltrue);
  273.             yield "</li>
  274. \t\t\t\t\t\t\t<li class=\"share\" onclick=\"sharemodal('Product','";
  275.             // line 79
  276.             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.'79$this->source); })()), "request", [], "any"falsefalsefalse79), "getSchemeAndHttpHost", [], "method"falsefalsefalse79) . "/") . 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.'79$this->source); })()), "request", [], "any"falsefalsefalse79), "locale", [], "any"falsefalsefalse79)) . "/product/") . CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'79$this->source); })()), "url", [], "any"falsefalsefalse79)), "html"nulltrue);
  277.             yield "' , '";
  278.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share product info with your friends"), "html"nulltrue);
  279.             yield "')\">";
  280.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html"nulltrue);
  281.             yield "</li>
  282. \t\t\t\t\t\t\t<li class=\"download d-none\">";
  283.             // line 80
  284.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html"nulltrue);
  285.             yield "</li>
  286. \t\t\t\t\t\t</ul>
  287. \t\t\t\t\t";
  288.         }
  289.         // line 83
  290.         yield "\t\t\t\t\t<p>";
  291.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'83$this->source); })()), "description", [], "any"falsefalsefalse83), "html"nulltrue);
  292.         yield "</p>
  293. \t\t\t\t\t<div class=\"inline-info enjoy-with\">
  294. \t\t\t\t\t\t<h5 class=\"title\">";
  295.         // line 85
  296.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enjoy with"), "html"nulltrue);
  297.         yield ":</h5>
  298. \t\t\t\t\t\t<span class=\"text\">";
  299.         // line 86
  300.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cooking"), "html"nulltrue);
  301.         yield "</span>
  302. \t\t\t\t\t\t<a href=\"/";
  303.         // line 87
  304.         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.'87$this->source); })()), "request", [], "any"falsefalsefalse87), "locale", [], "any"falsefalsefalse87), "html"nulltrue);
  305.         yield "/recipes\" class=\"link d-none\">";
  306.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("View Recipes"), "html"nulltrue);
  307.         yield "</a>
  308. \t\t\t\t\t</div>
  309. \t\t\t\t\t";
  310.         // line 90
  311.         if (CoreExtension::getAttribute($this->env$this->source, ($context["product"] ?? null), "size", [], "any"truetruefalse90)) {
  312.             // line 91
  313.             yield "\t\t\t\t\t\t<div class=\"inline-info available-in\">
  314. \t\t\t\t\t\t\t<h5 class=\"title\">";
  315.             // line 92
  316.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Available in"), "html"nulltrue);
  317.             yield ":</h5>
  318. \t\t\t\t\t\t\t<ul class=\"list-unstyled portion-list\">
  319. \t\t\t\t\t\t\t\t";
  320.             // line 94
  321.             $context['_parent'] = $context;
  322.             $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::sort($this->env, (isset($context["variants"]) || array_key_exists("variants"$context) ? $context["variants"] : (function () { throw new RuntimeError('Variable "variants" does not exist.'94$this->source); })())));
  323.             foreach ($context['_seq'] as $context["_key"] => $context["variant"]) {
  324.                 // line 95
  325.                 yield "\t\t\t\t\t\t\t\t\t<li class=\"";
  326.                 yield (((CoreExtension::getAttribute($this->env$this->source$context["variant"], "id", [], "any"falsefalsefalse95) == CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'95$this->source); })()), "id", [], "any"falsefalsefalse95))) ? ("selected") : (""));
  327.                 yield "\">
  328. \t\t\t\t\t\t\t\t\t\t<a href=\"/";
  329.                 // line 96
  330.                 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.'96$this->source); })()), "request", [], "any"falsefalsefalse96), "locale", [], "any"falsefalsefalse96), "html"nulltrue);
  331.                 yield "/product/";
  332.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["variant"], "url", [], "any"falsefalsefalse96), "html"nulltrue);
  333.                 yield "\">";
  334.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["variant"], "size", [], "any"falsefalsefalse96), "html"nulltrue);
  335.                 yield "</a>
  336. \t\t\t\t\t\t\t\t\t</li>
  337. \t\t\t\t\t\t\t\t";
  338.             }
  339.             $_parent $context['_parent'];
  340.             unset($context['_seq'], $context['_key'], $context['variant'], $context['_parent']);
  341.             $context array_intersect_key($context$_parent) + $_parent;
  342.             // line 99
  343.             yield "\t\t\t\t\t\t\t</ul>
  344. \t\t\t\t\t\t</div>
  345. \t\t\t\t\t";
  346.         }
  347.         // line 102
  348.         yield "
  349. \t\t\t\t\t<div class=\"inline-info price-info\">
  350. \t\t\t\t\t\t";
  351.         // line 104
  352.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["product"] ?? null), "region", [], "any"falsetruefalse104), 0, [], "array"falsetruefalse104), "price", [], "array"falsetruefalse104), "data", [], "any"truetruefalse104)) {
  353.             // line 105
  354.             yield "\t\t\t\t\t\t\t<div class=\"price d-none\">";
  355.             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->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'105$this->source); })()), "region", [], "any"falsefalsefalse105), 0, [], "array"falsefalsefalse105), "price", [], "array"falsefalsefalse105), "data", [], "any"falsefalsefalse105), "html"nulltrue);
  356.             yield "
  357. \t\t\t\t\t\t\t\t";
  358.             // line 106
  359.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'106$this->source); })()), "region", [], "any"falsefalsefalse106), 0, [], "array"falsefalsefalse106), "currency_symbol", [], "array"falsefalsefalse106), "data", [], "any"falsefalsefalse106)), "html"nulltrue);
  360.             yield "</div>
  361. \t\t\t\t\t\t\t";
  362.             // line 108
  363.             $context["points"] = Twig\Extension\CoreExtension::round(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'108$this->source); })()), "region", [], "any"falsefalsefalse108), 0, [], "array"falsefalsefalse108), "price", [], "array"falsefalsefalse108), "data", [], "any"falsefalsefalse108) / 100) * 10));
  364.             // line 109
  365.             yield "\t\t\t\t\t\t\t<div class=\"award d-none\">
  366. \t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  367. \t\t\t\t\t\t\t\t";
  368.             // line 111
  369.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["points"]) || array_key_exists("points"$context) ? $context["points"] : (function () { throw new RuntimeError('Variable "points" does not exist.'111$this->source); })()), "html"nulltrue);
  370.             yield "
  371. \t\t\t\t\t\t\t\t";
  372.             // line 112
  373.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rewards Points"), "html"nulltrue);
  374.             yield "</div>
  375. \t\t\t\t\t\t";
  376.         }
  377.         // line 114
  378.         yield "\t\t\t\t\t</div>
  379. \t\t\t\t\t<div class=\"btn-holder\">
  380. \t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green\" onclick=\"addCart(this, ";
  381.         // line 117
  382.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'117$this->source); })()), "id", [], "any"falsefalsefalse117), "html"nulltrue);
  383.         yield ", 1)\">";
  384.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Cart"), "html"nulltrue);
  385.         yield "</a>
  386. \t\t\t\t\t\t";
  387.         // line 119
  388.         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.'119$this->source); })()), "session", [], "any"falsefalsefalse119), "get", ["loginUserName"], "method"falsefalsefalse119))) {
  389.             // line 120
  390.             yield "\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-lg-o-black d-none\" onclick=\"inventoryProgram(this,";
  391.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["points"]) || array_key_exists("points"$context) ? $context["points"] : (function () { throw new RuntimeError('Variable "points" does not exist.'120$this->source); })()), "html"nulltrue);
  392.             yield ",";
  393.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'120$this->source); })()), "id", [], "any"falsefalsefalse120), "html"nulltrue);
  394.             yield ")\">";
  395.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Inventory"), "html"nulltrue);
  396.             yield "</a>
  397. \t\t\t\t\t\t";
  398.         } else {
  399.             // line 122
  400.             yield "\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green logged-out d-none\">";
  401.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Inventory"), "html"nulltrue);
  402.             yield "</a>
  403. \t\t\t\t\t\t";
  404.         }
  405.         // line 124
  406.         yield "\t\t\t\t\t</div>
  407. \t\t\t\t\t<div class=\"btn-lg-holder invisible\">
  408. \t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-lg-white\">
  409. \t\t\t\t\t\t\t<i><img src=\"/static/assets/images/inventory-manager.svg\" alt=\"inventory manager\"></i>TRY Inventory Manager
  410. \t\t\t\t\t\t</a>
  411. \t\t\t\t\t</div>
  412. \t\t\t\t</div>
  413. \t\t\t\t<div class=\"media-section\">
  414. \t\t\t\t\t<div class=\"custom-slider singal-slider product-detail-slider\">
  415. \t\t\t\t\t\t";
  416.         // line 135
  417.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["product"] ?? null), "attrimage", [], "any"falsetruefalse135), "items", [], "any"truetruefalse135)) {
  418.             // line 136
  419.             yield "\t\t\t\t\t\t\t";
  420.             $context['_parent'] = $context;
  421.             $context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'136$this->source); })()), "attrimage", [], "any"falsefalsefalse136), "items", [], "any"falsefalsefalse136)) - 1)));
  422.             foreach ($context['_seq'] as $context["_key"] => $context["image_item"]) {
  423.                 // line 137
  424.                 yield "\t\t\t\t\t\t\t\t<div class=\"slide\">
  425. \t\t\t\t\t\t\t\t\t";
  426.                 // line 138
  427.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["product"] ?? null), "attrimage", [], "any"falsetruefalse138), "items", [], "any"falsetruefalse138), $context["image_item"], [], "array"truetruefalse138)) {
  428.                     // line 139
  429.                     yield "\t\t\t\t\t\t\t\t\t\t<img src=\"";
  430.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'139$this->source); })()), "attrimage", [], "any"falsefalsefalse139), "items", [], "any"falsefalsefalse139), $context["image_item"], [], "array"falsefalsefalse139), "html"nulltrue);
  431.                     yield "\" alt=\"";
  432.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'139$this->source); })()), "name", [], "any"falsefalsefalse139), "html"nulltrue);
  433.                     yield "\">
  434. \t\t\t\t\t\t\t\t\t";
  435.                 }
  436.                 // line 141
  437.                 yield "\t\t\t\t\t\t\t\t</div>
  438. \t\t\t\t\t\t\t";
  439.             }
  440.             $_parent $context['_parent'];
  441.             unset($context['_seq'], $context['_key'], $context['image_item'], $context['_parent']);
  442.             $context array_intersect_key($context$_parent) + $_parent;
  443.             // line 143
  444.             yield "\t\t\t\t\t\t";
  445.         }
  446.         // line 144
  447.         yield "\t\t\t\t\t</div>
  448. \t\t\t\t\t";
  449.         // line 145
  450.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["product"] ?? null), "brands", [], "any"falsetruefalse145), "image", [], "any"truetruefalse145)) {
  451.             // line 146
  452.             yield "\t\t\t\t\t\t<div class=\"brand-logo\">
  453. \t\t\t\t\t\t\t<img src=\"";
  454.             // line 147
  455.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'147$this->source); })()), "brands", [], "any"falsefalsefalse147), "image", [], "any"falsefalsefalse147), "html"nulltrue);
  456.             yield "\" alt=\"Product-Brand-Logo\">
  457. \t\t\t\t\t\t</div>
  458. \t\t\t\t\t";
  459.         }
  460.         // line 150
  461.         yield "\t\t\t\t</div>
  462. \t\t\t</div>
  463. \t\t\t<!--Start Frequently Bought Together-->
  464. \t\t\t";
  465.         // line 154
  466.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["product"] ?? null), "bought_with", [], "any"falsetruefalse154), 0, [], "array"truetruefalse154)) {
  467.             // line 155
  468.             yield "\t\t\t\t";
  469.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'155$this->source); })()), "bought_with", [], "any"falsefalsefalse155), 0, [], "array"falsefalsefalse155), "brands", [], "any"falsefalsefalse155), "id", [], "any"falsefalsefalse155) == 263)) {
  470.                 // line 156
  471.                 yield "\t\t\t\t\t";
  472.                 $context["class"] = "bg-dbrown";
  473.                 // line 157
  474.                 yield "\t\t\t\t";
  475.             } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'157$this->source); })()), "bought_with", [], "any"falsefalsefalse157), 0, [], "array"falsefalsefalse157), "brands", [], "any"falsefalsefalse157), "id", [], "any"falsefalsefalse157) == 262)) {
  476.                 // line 158
  477.                 yield "\t\t\t\t\t";
  478.                 $context["class"] = "bg-blue";
  479.                 // line 159
  480.                 yield "\t\t\t\t";
  481.             } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'159$this->source); })()), "bought_with", [], "any"falsefalsefalse159), 0, [], "array"falsefalsefalse159), "brands", [], "any"falsefalsefalse159), "id", [], "any"falsefalsefalse159) == 413)) {
  482.                 // line 160
  483.                 yield "\t\t\t\t\t";
  484.                 $context["class"] = "bg-purple";
  485.                 // line 161
  486.                 yield "\t\t\t\t";
  487.             } else {
  488.                 // line 162
  489.                 yield "\t\t\t\t\t";
  490.                 $context["class"] = "bg-dgreen";
  491.                 // line 163
  492.                 yield "\t\t\t\t";
  493.             }
  494.             // line 164
  495.             yield "\t\t\t\t<div class=\"frequently-bought frequently-bought-inner\">
  496. \t\t\t\t\t<div class=\"frequently-bought-box\">
  497. \t\t\t\t\t\t<h5 class=\"title\">";
  498.             // line 166
  499.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Frequently Bought Together"), "html"nulltrue);
  500.             yield "</h5>
  501. \t\t\t\t\t\t";
  502.             // line 167
  503.             $context['_parent'] = $context;
  504.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'167$this->source); })()), "bought_with", [], "any"falsefalsefalse167));
  505.             foreach ($context['_seq'] as $context["_key"] => $context["bought_with"]) {
  506.                 // line 168
  507.                 yield "\t\t\t\t\t\t\t<div class=\"product-box product-box-horizon product-box-small\">
  508. \t\t\t\t\t\t\t\t<figure class=\"slide-img slide-img-";
  509.                 // line 169
  510.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'169$this->source); })()), "html"nulltrue);
  511.                 yield "\">
  512. \t\t\t\t\t\t\t\t\t<img src=\"";
  513.                 // line 170
  514.                 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["bought_with"], "attrimage", [], "any"falsefalsefalse170), "items", [], "any"falsefalsefalse170), 0, [], "array"falsefalsefalse170), "html"nulltrue);
  515.                 yield "\" alt=\"";
  516.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["bought_with"], "name", [], "any"falsefalsefalse170), "html"nulltrue);
  517.                 yield "\">
  518. \t\t\t\t\t\t\t\t</figure>
  519. \t\t\t\t\t\t\t\t<div class=\"slide-info\">
  520. \t\t\t\t\t\t\t\t\t<h5 class=\"title\">";
  521.                 // line 173
  522.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["bought_with"], "name", [], "any"falsefalsefalse173), "html"nulltrue);
  523.                 yield "</h5>
  524. \t\t\t\t\t\t\t\t\t<div class=\"kg\">";
  525.                 // line 174
  526.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["bought_with"], "size", [], "any"falsefalsefalse174), "html"nulltrue);
  527.                 yield "</div>
  528. \t\t\t\t\t\t\t\t\t";
  529.                 // line 175
  530.                 if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["bought_with"], "region", [], "any"falsetruefalse175), 0, [], "array"falsetruefalse175), "price", [], "array"falsetruefalse175), "data", [], "any"truetruefalse175) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["product"] ?? null), "region", [], "any"falsetruefalse175), 0, [], "array"falsetruefalse175), "currency_symbol", [], "array"falsetruefalse175), "data", [], "any"truetruefalse175))) {
  531.                     // line 176
  532.                     yield "\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">";
  533.                     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->source$context["bought_with"], "region", [], "any"falsefalsefalse176), 0, [], "array"falsefalsefalse176), "price", [], "array"falsefalsefalse176), "data", [], "any"falsefalsefalse176), "html"nulltrue);
  534.                     yield "
  535. \t\t\t\t\t\t\t\t\t\t\t";
  536.                     // line 177
  537.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'177$this->source); })()), "region", [], "any"falsefalsefalse177), 0, [], "array"falsefalsefalse177), "currency_symbol", [], "array"falsefalsefalse177), "data", [], "any"falsefalsefalse177)), "html"nulltrue);
  538.                     yield "</div>
  539. \t\t\t\t\t\t\t\t\t\t<div class=\"inline-info btn-holder\">
  540. \t\t\t\t\t\t\t\t\t\t\t";
  541.                     // line 180
  542.                     $context["points"] = Twig\Extension\CoreExtension::round(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["bought_with"], "region", [], "any"falsefalsefalse180), 0, [], "array"falsefalsefalse180), "price", [], "array"falsefalsefalse180), "data", [], "any"falsefalsefalse180) / 100) * 10));
  543.                     // line 181
  544.                     yield "\t\t\t\t\t\t\t\t\t\t\t<div class=\"award \" style=\"opacity:0\">
  545. \t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  546. \t\t\t\t\t\t\t\t\t\t\t\t";
  547.                     // line 183
  548.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["points"]) || array_key_exists("points"$context) ? $context["points"] : (function () { throw new RuntimeError('Variable "points" does not exist.'183$this->source); })()), "html"nulltrue);
  549.                     yield "
  550. \t\t\t\t\t\t\t\t\t\t\t\t";
  551.                     // line 184
  552.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rewards Points"), "html"nulltrue);
  553.                     yield "
  554. \t\t\t\t\t\t\t\t\t\t\t</div>
  555. \t\t\t\t\t\t\t\t\t\t\t";
  556.                     // line 186
  557.                     $context["totlaprice"] = (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["bought_with"], "region", [], "any"falsefalsefalse186), 0, [], "array"falsefalsefalse186), "price", [], "array"falsefalsefalse186), "data", [], "any"falsefalsefalse186) + CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'186$this->source); })()), "region", [], "any"falsefalsefalse186), 0, [], "array"falsefalsefalse186), "price", [], "array"falsefalsefalse186), "data", [], "any"falsefalsefalse186));
  558.                     // line 187
  559.                     yield "\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" onclick=\"addCart(this, ";
  560.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["bought_with"], "id", [], "any"falsefalsefalse187), "html"nulltrue);
  561.                     yield ", 1)\" class=\"btn btn-custom btn-primary \">
  562. \t\t\t\t\t\t\t\t\t\t\t\t<span onclick=\"addCart(this, ";
  563.                     // line 188
  564.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'188$this->source); })()), "id", [], "any"falsefalsefalse188), "html"nulltrue);
  565.                     yield ", 1)\">";
  566.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add Both to Cart"), "html"nulltrue);
  567.                     yield "
  568. \t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  569. \t\t\t\t\t\t\t\t\t\t\t</a>
  570. \t\t\t\t\t\t\t\t\t\t</div>
  571. \t\t\t\t\t\t\t\t\t";
  572.                 }
  573.                 // line 193
  574.                 yield "\t\t\t\t\t\t\t\t</div>
  575. \t\t\t\t\t\t\t</div>
  576. \t\t\t\t\t\t";
  577.             }
  578.             $_parent $context['_parent'];
  579.             unset($context['_seq'], $context['_key'], $context['bought_with'], $context['_parent']);
  580.             $context array_intersect_key($context$_parent) + $_parent;
  581.             // line 196
  582.             yield "\t\t\t\t\t</div>
  583. \t\t\t\t</div>
  584. \t\t\t";
  585.         }
  586.         // line 199
  587.         yield "\t\t\t<!--End Frequently Bought Together-->
  588. \t\t</div>
  589. \t</section>
  590. \t<!--End Product Detail Main-->
  591. \t<!--Start Recipes Using Our Products Section-->
  592. \t<!-- Class Added with-ellipses height-updatedbox-->
  593. \t\t";
  594.         // line 207
  595.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["product"] ?? null), "recipes", [], "any"falsetruefalse207), 0, [], "array"truetruefalse207)) {
  596.             // line 208
  597.             yield "\t\t\t<section class=\"featured-recipes-section inner-featured-recipe using-products with-ellipses height-updatedbox product-detail-similer\"> <div class=\"container container-sm\">
  598. \t\t\t\t<h2 class=\"heading\">";
  599.             // line 209
  600.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Recipes Using Our Products"), "html"nulltrue);
  601.             yield "</h2>
  602. \t\t\t\t<div class=\"featured-recipes\">
  603. \t\t\t\t\t<div class=\"custom-slider featured-recipes-slider\">
  604. \t\t\t\t\t\t";
  605.             // line 212
  606.             $context['_parent'] = $context;
  607.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'212$this->source); })()), "recipes", [], "any"falsefalsefalse212));
  608.             foreach ($context['_seq'] as $context["_key"] => $context["recipe"]) {
  609.                 // line 213
  610.                 yield "\t\t\t\t\t\t\t<div class=\"slide\">
  611. \t\t\t\t\t\t\t\t<div class=\"slide-holder\">
  612. \t\t\t\t\t\t\t\t\t<a href=\"/";
  613.                 // line 215
  614.                 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.'215$this->source); })()), "request", [], "any"falsefalsefalse215), "locale", [], "any"falsefalsefalse215), "html"nulltrue);
  615.                 yield "/all-recipes/";
  616.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe"], "url", [], "any"falsefalsefalse215), "html"nulltrue);
  617.                 yield "\" tabindex=\"0\">
  618. \t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
  619. \t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  620.                 // line 217
  621.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe"], "featured_image", [], "any"falsefalsefalse217), "html"nulltrue);
  622.                 yield "\" alt=\"";
  623.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe"], "name", [], "any"falsefalsefalse217), "html"nulltrue);
  624.                 yield "\">
  625. \t\t\t\t\t\t\t\t\t\t\t";
  626.                 // line 218
  627.                 if (CoreExtension::getAttribute($this->env$this->source$context["recipe"], "banner_video", [], "any"falsefalsefalse218)) {
  628.                     // line 219
  629.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
  630. \t\t\t\t\t\t\t\t\t\t\t";
  631.                 }
  632.                 // line 221
  633.                 yield "\t\t\t\t\t\t\t\t\t\t</figure>
  634. \t\t\t\t\t\t\t\t\t</a>
  635. \t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
  636. \t\t\t\t\t\t\t\t\t\t<a href=\"/";
  637.                 // line 224
  638.                 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.'224$this->source); })()), "request", [], "any"falsefalsefalse224), "locale", [], "any"falsefalsefalse224), "html"nulltrue);
  639.                 yield "/all-recipes/";
  640.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe"], "url", [], "any"falsefalsefalse224), "html"nulltrue);
  641.                 yield "\" tabindex=\"0\">
  642. \t\t\t\t\t\t\t\t\t\t\t<h3>";
  643.                 // line 225
  644.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe"], "name", [], "any"falsefalsefalse225), "html"nulltrue);
  645.                 yield "</h3>
  646. \t\t\t\t\t\t\t\t\t\t</a>
  647. \t\t\t\t\t\t\t\t\t\t<p>";
  648.                 // line 227
  649.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe"], "short_description", [], "any"falsefalsefalse227), "html"nulltrue);
  650.                 yield "</p>
  651. \t\t\t\t\t\t\t\t\t\t<ul
  652. \t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
  653. \t\t\t\t\t\t\t\t\t\t\t";
  654.                 // line 232
  655.                 yield "\t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">";
  656.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No. Of"), "html"nulltrue);
  657.                 yield "
  658. \t\t\t\t\t\t\t\t\t\t\t\t";
  659.                 // line 233
  660.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Serving"), "html"nulltrue);
  661.                 yield "
  662. \t\t\t\t\t\t\t\t\t\t\t\t";
  663.                 // line 234
  664.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe"], "serves", [], "any"falsefalsefalse234), "html"nulltrue);
  665.                 yield "</li>
  666. \t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">";
  667.                 // line 235
  668.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source$context["recipe"], "typeofmeal", [], "any"falsefalsefalse235)), "html"nulltrue);
  669.                 yield "</li>
  670. \t\t\t\t\t\t\t\t\t\t</ul>
  671. \t\t\t\t\t\t\t\t\t</div>
  672. \t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  673. \t\t\t\t\t\t\t\t\t\t<a href=\"/";
  674.                 // line 240
  675.                 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.'240$this->source); })()), "request", [], "any"falsefalsefalse240), "locale", [], "any"falsefalsefalse240), "html"nulltrue);
  676.                 yield "/all-recipes/";
  677.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe"], "url", [], "any"falsefalsefalse240), "html"nulltrue);
  678.                 yield "\" class=\"btn btn-custom btn-green\" tabindex=\"0\">";
  679.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("View Recipe"), "html"nulltrue);
  680.                 yield "</a>
  681. \t\t\t\t\t\t\t\t\t</div>
  682. \t\t\t\t\t\t\t\t</div>
  683. \t\t\t\t\t\t\t</div>
  684. \t\t\t\t\t\t";
  685.             }
  686.             $_parent $context['_parent'];
  687.             unset($context['_seq'], $context['_key'], $context['recipe'], $context['_parent']);
  688.             $context array_intersect_key($context$_parent) + $_parent;
  689.             // line 245
  690.             yield "\t\t\t\t\t</div>
  691. \t\t\t\t</div>
  692. \t\t\t</div>
  693. \t\t</section>
  694. \t";
  695.         }
  696.         // line 251
  697.         yield "\t<!--End Recipes Using Our Products Section-->
  698. \t<!--Start Product Info Section-->
  699. \t";
  700.         // line 255
  701.         if (((( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'255$this->source); })()), "ingredients", [], "any"falsefalsefalse255)) ||  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source,         // line 256
  702. (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'256$this->source); })()), "nutrition", [], "any"falsefalsefalse256))) ||  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source,         // line 257
  703. (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'257$this->source); })()), "product_info", [], "any"falsefalsefalse257))) ||  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source,         // line 258
  704. (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'258$this->source); })()), "usage_info", [], "any"falsefalsefalse258)))) {
  705.             // line 260
  706.             yield "\t<section class=\"product-infobox\">
  707. \t\t<div class=\"container container-sm\">
  708. \t\t\t<div class=\"row\">
  709. \t\t\t\t<div class=\"col-12 col-md-6 infomation-tabs infomation-tabs-left\">
  710. \t\t\t\t\t<ul class=\"nav nav-tabs\" id=\"myTab\" role=\"tablist\">
  711. \t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
  712. \t\t\t\t\t\t\t<a class=\"nav-link active\" id=\"ingredients-tab\" data-toggle=\"tab\" href=\"#ingredients\" role=\"tab\" aria-controls=\"ingredients\" aria-selected=\"true\">";
  713.             // line 267
  714.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ingredients"), "html"nulltrue);
  715.             yield "</a>
  716. \t\t\t\t\t\t</li>
  717. \t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
  718. \t\t\t\t\t\t\t<a class=\"nav-link\" id=\"nutritional-tab\" data-toggle=\"tab\" href=\"#nutritional\" role=\"tab\" aria-controls=\"nutritional\" aria-selected=\"false\">";
  719.             // line 270
  720.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nutritional Info"), "html"nulltrue);
  721.             yield "</a>
  722. \t\t\t\t\t\t</li>
  723. \t\t\t\t\t</ul>
  724. \t\t\t\t\t<div class=\"tab-content\" id=\"myTabContent\">
  725. \t\t\t\t\t\t<div class=\"tab-pane fade show active\" id=\"ingredients\" role=\"tabpanel\" aria-labelledby=\"ingredients-tab\">
  726. \t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list\">
  727. \t\t\t\t\t\t\t\t<li>
  728. \t\t\t\t\t\t\t\t\t";
  729.             // line 277
  730.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'277$this->source); })()), "ingredients", [], "any"falsefalsefalse277), "html"nulltrue);
  731.             yield "
  732. \t\t\t\t\t\t\t\t</li>
  733. \t\t\t\t\t\t\t</ul>
  734. \t\t\t\t\t\t</div>
  735. \t\t\t\t\t\t<div class=\"tab-pane fade\" id=\"nutritional\" role=\"tabpanel\" aria-labelledby=\"nutritional-tab\">
  736. \t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list nutri-list-singal\">
  737. \t\t\t\t\t\t\t\t";
  738.             // line 283
  739.             $context['_parent'] = $context;
  740.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'283$this->source); })()), "nutrition", [], "any"falsefalsefalse283));
  741.             foreach ($context['_seq'] as $context["_key"] => $context["nutrition"]) {
  742.                 // line 284
  743.                 yield "\t\t\t\t\t\t\t\t\t";
  744.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["nutrition"], "localizedfields", [], "any"falsetruefalse284), "data", [], "any"falsetruefalse284), "getLocalizedValue", ["nutritions"], "method"truetruefalse284)) {
  745.                     // line 285
  746.                     yield "\t\t\t\t\t\t\t\t\t\t<li>
  747. \t\t\t\t\t\t\t\t\t\t\t<span>";
  748.                     // line 286
  749.                     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["nutrition"], "localizedfields", [], "any"falsefalsefalse286), "data", [], "any"falsefalsefalse286), "getLocalizedValue", ["nutritions"], "method"falsefalsefalse286), "html"nulltrue);
  750.                     yield "
  751. \t\t\t\t\t\t\t\t\t\t\t</span>
  752. \t\t\t\t\t\t\t\t\t\t\t<span>";
  753.                     // line 288
  754.                     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["nutrition"], "localizedfields", [], "any"falsefalsefalse288), "data", [], "any"falsefalsefalse288), "getLocalizedValue", ["qty"], "method"falsefalsefalse288), "html"nulltrue);
  755.                     yield "</span>
  756. \t\t\t\t\t\t\t\t\t\t</li>
  757. \t\t\t\t\t\t\t\t\t";
  758.                 }
  759.                 // line 291
  760.                 yield "\t\t\t\t\t\t\t\t";
  761.             }
  762.             $_parent $context['_parent'];
  763.             unset($context['_seq'], $context['_key'], $context['nutrition'], $context['_parent']);
  764.             $context array_intersect_key($context$_parent) + $_parent;
  765.             // line 292
  766.             yield "\t\t\t\t\t\t\t</ul>
  767. \t\t\t\t\t\t</div>
  768. \t\t\t\t\t</div>
  769. \t\t\t\t</div>
  770. \t\t\t\t<div class=\"col-12 col-md-6 infomation-tabs infomation-tabs-right\">
  771. \t\t\t\t\t<ul class=\"nav nav-tabs\" id=\"myTab2\" role=\"tablist\">
  772. \t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
  773. \t\t\t\t\t\t\t<a class=\"nav-link active\" id=\"productinfo-tab\" data-toggle=\"tab\" href=\"#productinfo\" role=\"tab\" aria-controls=\"productinfo\" aria-selected=\"true\">";
  774.             // line 299
  775.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Product Information"), "html"nulltrue);
  776.             yield "</a>
  777. \t\t\t\t\t\t</li>
  778. \t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
  779. \t\t\t\t\t\t\t<a class=\"nav-link\" id=\"usageinformation-tab\" data-toggle=\"tab\" href=\"#usageinformation\" role=\"tab\" aria-controls=\"usageinformation\" aria-selected=\"false\">";
  780.             // line 302
  781.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Usage Information"), "html"nulltrue);
  782.             yield "</a>
  783. \t\t\t\t\t\t</li>
  784. \t\t\t\t\t</ul>
  785. \t\t\t\t\t<div class=\"tab-content\" id=\"myTabContent2\">
  786. \t\t\t\t\t\t<div class=\"tab-pane fade show active\" id=\"productinfo\" role=\"tabpanel\" aria-labelledby=\"productinfo-tab\">
  787. \t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list nutri-list-singal\">
  788. \t\t\t\t\t\t\t\t";
  789.             // line 308
  790.             $context['_parent'] = $context;
  791.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'308$this->source); })()), "product_info", [], "any"falsefalsefalse308));
  792.             foreach ($context['_seq'] as $context["_key"] => $context["pusageinfo"]) {
  793.                 // line 309
  794.                 yield "\t\t\t\t\t\t\t\t\t<li>
  795. \t\t\t\t\t\t\t\t\t\t<span>";
  796.                 // line 310
  797.                 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["pusageinfo"], "localizedfields", [], "any"falsefalsefalse310), "data", [], "any"falsefalsefalse310), "getLocalizedValue", ["product_info_name"], "method"falsefalsefalse310), "html"nulltrue);
  798.                 yield "</span>
  799. \t\t\t\t\t\t\t\t\t\t<span>";
  800.                 // line 311
  801.                 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["pusageinfo"], "localizedfields", [], "any"falsefalsefalse311), "data", [], "any"falsefalsefalse311), "getLocalizedValue", ["product_info_value"], "method"falsefalsefalse311), "html"nulltrue);
  802.                 yield "</span>
  803. \t\t\t\t\t\t\t\t\t</li>
  804. \t\t\t\t\t\t\t\t";
  805.             }
  806.             $_parent $context['_parent'];
  807.             unset($context['_seq'], $context['_key'], $context['pusageinfo'], $context['_parent']);
  808.             $context array_intersect_key($context$_parent) + $_parent;
  809.             // line 314
  810.             yield "\t\t\t\t\t\t\t\t";
  811.             // line 323
  812.             yield "\t\t\t\t\t\t\t</ul>
  813. \t\t\t\t\t\t</div>
  814. \t\t\t\t\t\t<div class=\"tab-pane fade\" id=\"usageinformation\" role=\"tabpanel\" aria-labelledby=\"usageinformation-tab\">
  815. \t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list nutri-list-singal\">
  816. \t\t\t\t\t\t\t\t";
  817.             // line 327
  818.             $context['_parent'] = $context;
  819.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'327$this->source); })()), "usage_info", [], "any"falsefalsefalse327));
  820.             foreach ($context['_seq'] as $context["_key"] => $context["pusage"]) {
  821.                 // line 328
  822.                 yield "\t\t\t\t\t\t\t\t\t<li>
  823. \t\t\t\t\t\t\t\t\t\t<span>";
  824.                 // line 329
  825.                 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["pusage"], "localizedfields", [], "any"falsefalsefalse329), "data", [], "any"falsefalsefalse329), "getLocalizedValue", ["usage_property"], "method"falsefalsefalse329), "html"nulltrue);
  826.                 yield "
  827. \t\t\t\t\t\t\t\t\t\t</span>
  828. \t\t\t\t\t\t\t\t\t\t<span>";
  829.                 // line 331
  830.                 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["pusage"], "localizedfields", [], "any"falsefalsefalse331), "data", [], "any"falsefalsefalse331), "getLocalizedValue", ["usage_value"], "method"falsefalsefalse331), "html"nulltrue);
  831.                 yield "</span>
  832. \t\t\t\t\t\t\t\t\t</li>
  833. \t\t\t\t\t\t\t\t";
  834.             }
  835.             $_parent $context['_parent'];
  836.             unset($context['_seq'], $context['_key'], $context['pusage'], $context['_parent']);
  837.             $context array_intersect_key($context$_parent) + $_parent;
  838.             // line 334
  839.             yield "\t\t\t\t\t\t\t</ul>
  840. \t\t\t\t\t\t</div>
  841. \t\t\t\t\t</div>
  842. \t\t\t\t</div>
  843. \t\t\t</div>
  844. \t\t</div>
  845. \t</section>
  846. \t";
  847.         }
  848.         // line 343
  849.         yield "\t<!--End Product Info Section-->
  850. \t<!--Start Resources Section-->
  851. \t<section class=\"info-media info-resources product-training info-resources-product-detail\">
  852. \t\t<div class=\"container container-sm\">
  853. \t\t\t<div class=\"info-section\">
  854. \t\t\t\t<h5>";
  855.         // line 350
  856.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Training for you"), "html"nulltrue);
  857.         yield "</h5>
  858. \t\t\t\t<h4>";
  859.         // line 351
  860.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["training"]) || array_key_exists("training"$context) ? $context["training"] : (function () { throw new RuntimeError('Variable "training" does not exist.'351$this->source); })()), "videoName", [], "any"falsefalsefalse351), "html"nulltrue);
  861.         yield "</h4>
  862. \t\t\t\t";
  863.         // line 353
  864.         yield "\t\t\t\t<p>";
  865.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["training"]) || array_key_exists("training"$context) ? $context["training"] : (function () { throw new RuntimeError('Variable "training" does not exist.'353$this->source); })()), "details", [], "any"falsefalsefalse353), "html"nulltrue);
  866.         yield "</p>
  867. \t\t\t\t<div class=\"btn-holder\">
  868. \t\t\t\t\t<div class=\"btn-border\">
  869. \t\t\t\t\t\t<a href=\"/";
  870.         // line 356
  871.         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.'356$this->source); })()), "request", [], "any"falsefalsefalse356), "locale", [], "any"falsefalsefalse356), "html"nulltrue);
  872.         yield "/professional-training\" class=\"btn btn-custom btn-xl btn-lg-o-wblack\">";
  873.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Start Training Today!"), "html"nulltrue);
  874.         yield "</a>
  875. \t\t\t\t\t</div>
  876. \t\t\t\t</div>
  877. \t\t\t</div>
  878. \t\t\t<div class=\"media-section\">
  879. \t\t\t\t<img src=\"";
  880.         // line 363
  881.         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->source, (isset($context["training"]) || array_key_exists("training"$context) ? $context["training"] : (function () { throw new RuntimeError('Variable "training" does not exist.'363$this->source); })()), "Videos", [], "any"falsefalsefalse363), 0, [], "array"falsefalsefalse363), "title_img", [], "any"falsefalsefalse363), "data", [], "any"falsefalsefalse363), "html"nulltrue);
  882.         yield "\" alt=\"";
  883.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["training"]) || array_key_exists("training"$context) ? $context["training"] : (function () { throw new RuntimeError('Variable "training" does not exist.'363$this->source); })()), "videoName", [], "any"falsefalsefalse363), "html"nulltrue);
  884.         yield "\">
  885. \t\t\t</div>
  886. \t\t</div>
  887. \t</section>
  888. \t<!--End Resources Section-->
  889. \t<!--Start Featured Section-->
  890. \t";
  891.         // line 372
  892.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["similar_products"]) || array_key_exists("similar_products"$context) ? $context["similar_products"] : (function () { throw new RuntimeError('Variable "similar_products" does not exist.'372$this->source); })())) > 0)) {
  893.             // line 373
  894.             yield "\t\t<section class=\"featured-section product-similar-products featured-section-product-detail\">
  895. \t\t\t<div class=\"container container-sm\">
  896. \t\t\t\t<h2 class=\"heading\">";
  897.             // line 377
  898.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Similar Products"), "html"nulltrue);
  899.             yield "</h2>
  900. \t\t\t\t<div class=\"slide-grid\">
  901. \t\t\t\t\t";
  902.             // line 380
  903.             $context['_parent'] = $context;
  904.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["similar_products"]) || array_key_exists("similar_products"$context) ? $context["similar_products"] : (function () { throw new RuntimeError('Variable "similar_products" does not exist.'380$this->source); })()));
  905.             foreach ($context['_seq'] as $context["_key"] => $context["Similar_products"]) {
  906.                 // line 381
  907.                 yield "
  908. \t\t\t\t\t\t";
  909.                 // line 382
  910.                 if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "brands", [], "any"falsefalsefalse382), "id", [], "any"falsefalsefalse382) == 263)) {
  911.                     // line 383
  912.                     yield "\t\t\t\t\t\t\t";
  913.                     $context["class"] = "slide-img-bg-brown";
  914.                     // line 384
  915.                     yield "\t\t\t\t\t\t";
  916.                 } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "brands", [], "any"falsefalsefalse384), "id", [], "any"falsefalsefalse384) == 262)) {
  917.                     // line 385
  918.                     yield "\t\t\t\t\t\t\t";
  919.                     $context["class"] = "slide-img-bg-blue";
  920.                     // line 386
  921.                     yield "\t\t\t\t\t\t";
  922.                 } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "brands", [], "any"falsefalsefalse386), "id", [], "any"falsefalsefalse386) == 413)) {
  923.                     // line 387
  924.                     yield "\t\t\t\t\t\t\t";
  925.                     $context["class"] = "lide-img-bg-purple";
  926.                     // line 388
  927.                     yield "\t\t\t\t\t\t";
  928.                 } else {
  929.                     // line 389
  930.                     yield "\t\t\t\t\t\t\t";
  931.                     $context["class"] = "slide-img-bg-green";
  932.                     // line 390
  933.                     yield "\t\t\t\t\t\t";
  934.                 }
  935.                 // line 391
  936.                 yield "
  937. \t\t\t\t\t\t<div class=\"slide\">
  938. \t\t\t\t\t\t\t<div
  939. \t\t\t\t\t\t\t\tclass=\"slide-holder product-box\">
  940. \t\t\t\t\t\t\t\t";
  941.                 // line 400
  942.                 yield "\t\t\t\t\t\t\t\t";
  943.                 $context["user"] = 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.'400$this->source); })()), "session", [], "any"falsefalsefalse400), "get", ["loginUserName"], "method"falsefalsefalse400);
  944.                 // line 401
  945.                 yield "\t\t\t\t\t\t\t\t";
  946.                 if ( !(null === (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'401$this->source); })()))) {
  947.                     // line 402
  948.                     yield "\t\t\t\t\t\t\t\t\t";
  949.                     if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "id", [], "any"falsefalsefalse402), (isset($context["Liked_simialr_products_ids"]) || array_key_exists("Liked_simialr_products_ids"$context) ? $context["Liked_simialr_products_ids"] : (function () { throw new RuntimeError('Variable "Liked_simialr_products_ids" does not exist.'402$this->source); })()))) {
  950.                         // line 403
  951.                         yield "\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
  952. \t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\"><img src=\"/static/assets/images/Liked-01.svg\" alt=\"Liked\"></a>
  953. \t\t\t\t\t\t\t\t\t\t</div>
  954. \t\t\t\t\t\t\t\t\t";
  955.                     } else {
  956.                         // line 407
  957.                         yield "\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
  958. \t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" onclick=\"loyaltyProgram(this ,";
  959.                         // line 408
  960.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "id", [], "any"falsefalsefalse408), "html"nulltrue);
  961.                         yield ",'";
  962.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "name", [], "any"falsefalsefalse408), "html"nulltrue);
  963.                         yield "',10,'Product','Like')\"><img src=\"/static/assets/images/Group_1271.svg\" alt=\"Like\"></a>
  964. \t\t\t\t\t\t\t\t\t\t</div>
  965. \t\t\t\t\t\t\t\t\t";
  966.                     }
  967.                     // line 411
  968.                     yield "\t\t\t\t\t\t\t\t";
  969.                 } else {
  970.                     // line 412
  971.                     yield "\t\t\t\t\t\t\t\t\t<div class=\"like logged-out\">
  972. \t\t\t\t\t\t\t\t\t\t<a
  973. \t\t\t\t\t\t\t\t\t\t\thref=\"javascript:void(0)\">
  974. \t\t\t\t\t\t\t\t\t\t\t";
  975.                     // line 416
  976.                     yield "\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/Group_1271.svg\" alt=\"Like\">
  977. \t\t\t\t\t\t\t\t\t\t</a>
  978. \t\t\t\t\t\t\t\t\t</div>
  979. \t\t\t\t\t\t\t\t";
  980.                 }
  981.                 // line 420
  982.                 yield "
  983. \t\t\t\t\t\t\t\t<figure class=\"slide-img ";
  984.                 // line 421
  985.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'421$this->source); })()), "html"nulltrue);
  986.                 yield "\">
  987. \t\t\t\t\t\t\t\t\t<a href=\"/";
  988.                 // line 422
  989.                 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.'422$this->source); })()), "request", [], "any"falsefalsefalse422), "locale", [], "any"falsefalsefalse422), "html"nulltrue);
  990.                 yield "/product/";
  991.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "url", [], "any"falsefalsefalse422), "html"nulltrue);
  992.                 yield "\">
  993. \t\t\t\t\t\t\t\t\t\t";
  994.                 // line 423
  995.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "attrimage", [], "any"falsetruefalse423), "items", [], "any"falsetruefalse423), 0, [], "array"truetruefalse423)) {
  996.                     // line 424
  997.                     yield "\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  998.                     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["Similar_products"], "attrimage", [], "any"falsefalsefalse424), "items", [], "any"falsefalsefalse424), 0, [], "array"falsefalsefalse424), "html"nulltrue);
  999.                     yield "\" alt=\"";
  1000.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "name", [], "any"falsefalsefalse424), "html"nulltrue);
  1001.                     yield "\">
  1002. \t\t\t\t\t\t\t\t\t\t";
  1003.                 }
  1004.                 // line 426
  1005.                 yield "\t\t\t\t\t\t\t\t\t</a>
  1006. \t\t\t\t\t\t\t\t</figure>
  1007. \t\t\t\t\t\t\t\t<div class=\"slide-info\">
  1008. \t\t\t\t\t\t\t\t\t<a href=\"/";
  1009.                 // line 429
  1010.                 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.'429$this->source); })()), "request", [], "any"falsefalsefalse429), "locale", [], "any"falsefalsefalse429), "html"nulltrue);
  1011.                 yield "/product/";
  1012.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "url", [], "any"falsefalsefalse429), "html"nulltrue);
  1013.                 yield "\">
  1014. \t\t\t\t\t\t\t\t\t\t<h5 class=\"title\">";
  1015.                 // line 430
  1016.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "name", [], "any"falsefalsefalse430), "html"nulltrue);
  1017.                 yield "</h5>
  1018. \t\t\t\t\t\t\t\t\t</a>
  1019. \t\t\t\t\t\t\t\t\t<div class=\"kg\">";
  1020.                 // line 432
  1021.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "size", [], "any"falsefalsefalse432), "html"nulltrue);
  1022.                 yield "</div>
  1023. \t\t\t\t\t\t\t\t\t";
  1024.                 // line 433
  1025.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "region", [], "any"falsetruefalse433), 0, [], "array"falsetruefalse433), "price", [], "array"falsetruefalse433), "data", [], "any"truetruefalse433)) {
  1026.                     // line 434
  1027.                     yield "\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">";
  1028.                     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->source$context["Similar_products"], "region", [], "any"falsefalsefalse434), 0, [], "array"falsefalsefalse434), "price", [], "array"falsefalsefalse434), "data", [], "any"falsefalsefalse434), "html"nulltrue);
  1029.                     yield "
  1030. \t\t\t\t\t\t\t\t\t\t\t";
  1031.                     // line 435
  1032.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "region", [], "any"falsefalsefalse435), 0, [], "array"falsefalsefalse435), "currency_symbol", [], "array"falsefalsefalse435), "data", [], "any"falsefalsefalse435)), "html"nulltrue);
  1033.                     yield "</div>
  1034. \t\t\t\t\t\t\t\t\t\t";
  1035.                     // line 437
  1036.                     $context["points"] = Twig\Extension\CoreExtension::round(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "region", [], "any"falsefalsefalse437), 0, [], "array"falsefalsefalse437), "price", [], "array"falsefalsefalse437), "data", [], "any"falsefalsefalse437) / 100) * 10));
  1037.                     // line 438
  1038.                     yield "\t\t\t\t\t\t\t\t\t\t<div class=\"award d-none\">
  1039. \t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  1040. \t\t\t\t\t\t\t\t\t\t\t";
  1041.                     // line 440
  1042.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["points"]) || array_key_exists("points"$context) ? $context["points"] : (function () { throw new RuntimeError('Variable "points" does not exist.'440$this->source); })()), "html"nulltrue);
  1043.                     yield "
  1044. \t\t\t\t\t\t\t\t\t\t\t";
  1045.                     // line 441
  1046.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rewards Points"), "html"nulltrue);
  1047.                     yield "</div>
  1048. \t\t\t\t\t\t\t\t\t";
  1049.                 }
  1050.                 // line 443
  1051.                 yield "\t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  1052. \t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" onclick=\"addCart(this, ";
  1053.                 // line 444
  1054.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "id", [], "any"falsefalsefalse444), "html"nulltrue);
  1055.                 yield ", 1)\" class=\"btn btn-custom btn-green\">";
  1056.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Cart"), "html"nulltrue);
  1057.                 yield "</a>
  1058. \t\t\t\t\t\t\t\t\t\t";
  1059.                 // line 446
  1060.                 yield "\t\t\t\t\t\t\t\t\t\t";
  1061.                 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.'446$this->source); })()), "session", [], "any"falsefalsefalse446), "get", ["loginUserName"], "method"falsefalsefalse446))) {
  1062.                     // line 447
  1063.                     yield "\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-p-outline-blue\" onclick=\"inventoryProgram(this,";
  1064.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["points"]) || array_key_exists("points"$context) ? $context["points"] : (function () { throw new RuntimeError('Variable "points" does not exist.'447$this->source); })()), "html"nulltrue);
  1065.                     yield ",";
  1066.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_products"], "id", [], "any"falsefalsefalse447), "html"nulltrue);
  1067.                     yield ")\">";
  1068.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Inventory"), "html"nulltrue);
  1069.                     yield "</a>
  1070. \t\t\t\t\t\t\t\t\t\t";
  1071.                 } else {
  1072.                     // line 449
  1073.                     yield "\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-p-outline-blue product-detail-logged-out\">";
  1074.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Inventory"), "html"nulltrue);
  1075.                     yield "</a>
  1076. \t\t\t\t\t\t\t\t\t\t";
  1077.                 }
  1078.                 // line 451
  1079.                 yield "\t\t\t\t\t\t\t\t\t</div>
  1080. \t\t\t\t\t\t\t\t\t<div class=\"product-detail-inventry-alert mt-2\"></div>
  1081. \t\t\t\t\t\t\t\t</div>
  1082. \t\t\t\t\t\t\t</div>
  1083. \t\t\t\t\t\t</div>
  1084. \t\t\t\t\t";
  1085.             }
  1086.             $_parent $context['_parent'];
  1087.             unset($context['_seq'], $context['_key'], $context['Similar_products'], $context['_parent']);
  1088.             $context array_intersect_key($context$_parent) + $_parent;
  1089.             // line 457
  1090.             yield "\t\t\t\t</div>
  1091. \t\t\t</div>
  1092. \t\t</section>
  1093. \t";
  1094.         }
  1095.         // line 463
  1096.         yield "\t<!--End Featured Section-->
  1097. \t<!--Start GFS Loyalty Program-->
  1098. \t<section class=\"info-media loyalty-program loyalty-program-product loyalty-program-inner loyalty-program-product-detail\">
  1099. \t\t<div class=\"container container-sm\">
  1100. \t\t\t<div class=\"info-section\">
  1101. \t\t\t\t<h5>";
  1102.         // line 469
  1103.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Loyalty Program"), "html"nulltrue);
  1104.         yield "</h5>
  1105. \t\t\t\t<h4>";
  1106.         // line 470
  1107.         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["loyaltybanner"]) || array_key_exists("loyaltybanner"$context) ? $context["loyaltybanner"] : (function () { throw new RuntimeError('Variable "loyaltybanner" does not exist.'470$this->source); })()), "sliders", [], "any"falsefalsefalse470), 0, [], "array"falsefalsefalse470), "localizedfields", [], "any"falsefalsefalse470), "data", [], "any"falsefalsefalse470), "getLocalizedValue", ["heading"], "method"falsefalsefalse470), "html"nulltrue);
  1108.         yield "</h4>
  1109. \t\t\t\t<h3>";
  1110.         // line 471
  1111.         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["loyaltybanner"]) || array_key_exists("loyaltybanner"$context) ? $context["loyaltybanner"] : (function () { throw new RuntimeError('Variable "loyaltybanner" does not exist.'471$this->source); })()), "sliders", [], "any"falsefalsefalse471), 0, [], "array"falsefalsefalse471), "localizedfields", [], "any"falsefalsefalse471), "data", [], "any"falsefalsefalse471), "getLocalizedValue", ["heading1"], "method"falsefalsefalse471), "html"nulltrue);
  1112.         yield "</h3>
  1113. \t\t\t\t<p>";
  1114.         // line 472
  1115.         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["loyaltybanner"]) || array_key_exists("loyaltybanner"$context) ? $context["loyaltybanner"] : (function () { throw new RuntimeError('Variable "loyaltybanner" does not exist.'472$this->source); })()), "sliders", [], "any"falsefalsefalse472), 0, [], "array"falsefalsefalse472), "localizedfields", [], "any"falsefalsefalse472), "data", [], "any"falsefalsefalse472), "getLocalizedValue", ["description"], "method"falsefalsefalse472), "html"nulltrue);
  1116.         yield "</p>
  1117. \t\t\t\t<div class=\"btn-holder\">
  1118. \t\t\t\t\t<div class=\"btn-border\">
  1119. \t\t\t\t\t\t<a href=\"/";
  1120.         // line 477
  1121.         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.'477$this->source); })()), "request", [], "any"falsefalsefalse477), "locale", [], "any"falsefalsefalse477), "html"nulltrue);
  1122.         yield "/loyalty-program\" class=\"btn btn-custom btn-green\">";
  1123.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Discover More"), "html"nulltrue);
  1124.         yield "</a>
  1125. \t\t\t\t\t</div>
  1126. \t\t\t\t\t<div class=\"newsletter-subscribe\">
  1127. \t\t\t\t\t\t<h4 class=\"cstmLP\">\"";
  1128.         // line 480
  1129.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Coming Soon"), "html"nulltrue);
  1130.         yield "\"</h4>
  1131. \t\t\t\t\t</div>
  1132. \t\t\t\t\t";
  1133.         // line 483
  1134.         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.'483$this->source); })()), "session", [], "any"falsefalsefalse483), "get", ["loginUserName"], "method"falsefalsefalse483))) {
  1135.             // line 484
  1136.             yield "\t\t\t\t\t\t<div class=\"btn-border btn-border-black d-none\">
  1137. \t\t\t\t\t\t\t<a href=\"/";
  1138.             // line 485
  1139.             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.'485$this->source); })()), "request", [], "any"falsefalsefalse485), "locale", [], "any"falsefalsefalse485), "html"nulltrue);
  1140.             yield "/signup\" class=\"btn btn-custom btn-lg-o-black\">Sign-up Now!</a>
  1141. \t\t\t\t\t\t</div>
  1142. \t\t\t\t\t";
  1143.         }
  1144.         // line 488
  1145.         yield "\t\t\t\t</div>
  1146. \t\t\t</div>
  1147. \t\t\t<div class=\"media-section\">
  1148. \t\t\t\t<img src=\"";
  1149.         // line 492
  1150.         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->source, (isset($context["loyaltybanner"]) || array_key_exists("loyaltybanner"$context) ? $context["loyaltybanner"] : (function () { throw new RuntimeError('Variable "loyaltybanner" does not exist.'492$this->source); })()), "sliders", [], "any"falsefalsefalse492), 0, [], "array"falsefalsefalse492), "slider_image", [], "any"falsefalsefalse492), "data", [], "any"falsefalsefalse492), "html"nulltrue);
  1151.         yield "\" alt=\"loyalty banner slide image\">
  1152. \t\t\t</div>
  1153. \t\t</div>
  1154. \t</section>
  1155. \t<script type=\"application/ld+json\">
  1156. \t\t{
  1157. \t\t\t\t\t\t\t\t\t\"@context\": \"https://schema.org/\", 
  1158. \t\t\t\t\t\t\t\t\t\"@type\": \"Product\", 
  1159. \t\t\t\t\t\t\t\t\t\"name\": \"";
  1160.         // line 501
  1161.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'501$this->source); })()), "name", [], "any"falsefalsefalse501), "html"nulltrue);
  1162.         yield "\",
  1163. \t\t\t\t\t\t\t\t\t\"image\": \"";
  1164.         // line 502
  1165.         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.'502$this->source); })()), "request", [], "any"falsefalsefalse502), "getSchemeAndHttpHost", [], "method"falsefalsefalse502) . 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["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'502$this->source); })()), "attrimage", [], "any"falsefalsefalse502), "Items", [], "any"falsefalsefalse502), 0, [], "array"falsefalsefalse502), "image", [], "any"falsefalsefalse502), "path", [], "any"falsefalsefalse502)) . 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["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'502$this->source); })()), "attrimage", [], "any"falsefalsefalse502), "Items", [], "any"falsefalsefalse502), 0, [], "array"falsefalsefalse502), "image", [], "any"falsefalsefalse502), "filename", [], "any"falsefalsefalse502)), "html"nulltrue);
  1166.         yield "\",
  1167. \t\t\t\t\t\t\t\t\t\"description\": \"";
  1168.         // line 503
  1169.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'503$this->source); })()), "description", [], "any"falsefalsefalse503), "html"nulltrue);
  1170.         yield "\",
  1171. \t\t\t\t\t\t\t\t\t\"brand\": {
  1172. \t\t\t\t\t\t\t\t\t\t\"@type\": \"Brand\",
  1173. \t\t\t\t\t\t\t\t\t\t\"name\": \"";
  1174.         // line 506
  1175.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'506$this->source); })()), "brands", [], "any"falsefalsefalse506), "name", [], "any"falsefalsefalse506), "html"nulltrue);
  1176.         yield "\"
  1177. \t\t\t\t\t\t\t\t\t},
  1178. \t\t\t\t\t\t\t\t\t\"sku\": \"";
  1179.         // line 508
  1180.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'508$this->source); })()), "code", [], "any"falsefalsefalse508), "html"nulltrue);
  1181.         yield "\",
  1182. \t\t\t\t\t\t\t\t\t\t\"aggregateRating\": {
  1183. \t\t\t\t\t\t\t\t\t\t\t\"@type\": \"AggregateRating\",
  1184. \t\t\t\t\t\t\t\t\t\t\t\"ratingValue\": \"5\",
  1185. \t\t\t\t\t\t\t\t\t\t\t\"bestRating\": \"5\",
  1186. \t\t\t\t\t\t\t\t\t\t\t\"worstRating\": \"1\",
  1187. \t\t\t\t\t\t\t\t\t\t\t\"ratingCount\": \"2\"
  1188. \t\t\t\t\t\t\t\t\t\t
  1189. \t\t\t\t\t\t\t\t\t\t}
  1190. \t\t\t\t\t\t\t\t\t}
  1191. \t</script>
  1192. \t<!--End GFS Loyalty Program-->
  1193. \t<!--Start Footer-->
  1194. \t";
  1195.         // line 523
  1196.         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.'523$this->source); })()), "request", [], "any"falsefalsefalse523), "locale", [], "any"falsefalsefalse523) == "ar")) {
  1197.             // line 524
  1198.             yield "\t\t";
  1199.             $context["topMenu"] = ("/en/product/" CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'524$this->source); })()), "url", ["en"], "method"falsefalsefalse524));
  1200.             // line 525
  1201.             yield "\t";
  1202.         } else {
  1203.             // line 526
  1204.             yield "\t\t";
  1205.             $context["topMenu"] = ("/ar/product/" CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'526$this->source); })()), "url", ["ar"], "method"falsefalsefalse526));
  1206.             // line 527
  1207.             yield "\t";
  1208.         }
  1209.         // line 528
  1210.         yield "\t<script>
  1211. \t\tvar _TopMenuLink = \"";
  1212.         // line 529
  1213.         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.'529$this->source); })()), "html"nulltrue);
  1214.         yield "\";
  1215. \t</script>
  1216. ";
  1217.         
  1218.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1219.         
  1220.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1221.         yield from [];
  1222.     }
  1223.     // line 533
  1224.     /**
  1225.      * @return iterable<null|scalar|\Stringable>
  1226.      */
  1227.     public function block_footer(array $context, array $blocks = []): iterable
  1228.     {
  1229.         $macros $this->macros;
  1230.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1231.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  1232.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1233.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  1234.         // line 534
  1235.         yield "\t";
  1236.         yield from $this->loadTemplate("includes/footer.html.twig""Products/product.html.twig"534)->unwrap()->yield($context);
  1237.         
  1238.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1239.         
  1240.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1241.         yield from [];
  1242.     }
  1243.     /**
  1244.      * @codeCoverageIgnore
  1245.      */
  1246.     public function getTemplateName(): string
  1247.     {
  1248.         return "Products/product.html.twig";
  1249.     }
  1250.     /**
  1251.      * @codeCoverageIgnore
  1252.      */
  1253.     public function isTraitable(): bool
  1254.     {
  1255.         return false;
  1256.     }
  1257.     /**
  1258.      * @codeCoverageIgnore
  1259.      */
  1260.     public function getDebugInfo(): array
  1261.     {
  1262.         return array (  1301 => 534,  1288 => 533,  1274 => 529,  1271 => 528,  1268 => 527,  1265 => 526,  1262 => 525,  1259 => 524,  1257 => 523,  1239 => 508,  1234 => 506,  1228 => 503,  1224 => 502,  1220 => 501,  1208 => 492,  1202 => 488,  1196 => 485,  1193 => 484,  1191 => 483,  1185 => 480,  1177 => 477,  1169 => 472,  1165 => 471,  1161 => 470,  1157 => 469,  1149 => 463,  1141 => 457,  1130 => 451,  1124 => 449,  1114 => 447,  1111 => 446,  1105 => 444,  1102 => 443,  1097 => 441,  1093 => 440,  1089 => 438,  1087 => 437,  1082 => 435,  1077 => 434,  1075 => 433,  1071 => 432,  1066 => 430,  1060 => 429,  1055 => 426,  1047 => 424,  1045 => 423,  1039 => 422,  1035 => 421,  1032 => 420,  1026 => 416,  1021 => 412,  1018 => 411,  1010 => 408,  1007 => 407,  1001 => 403,  998 => 402,  995 => 401,  992 => 400,  985 => 391,  982 => 390,  979 => 389,  976 => 388,  973 => 387,  970 => 386,  967 => 385,  964 => 384,  961 => 383,  959 => 382,  956 => 381,  952 => 380,  946 => 377,  940 => 373,  938 => 372,  924 => 363,  912 => 356,  905 => 353,  901 => 351,  897 => 350,  888 => 343,  877 => 334,  868 => 331,  863 => 329,  860 => 328,  856 => 327,  850 => 323,  848 => 314,  839 => 311,  835 => 310,  832 => 309,  828 => 308,  819 => 302,  813 => 299,  804 => 292,  798 => 291,  792 => 288,  787 => 286,  784 => 285,  781 => 284,  777 => 283,  768 => 277,  758 => 270,  752 => 267,  743 => 260,  741 => 258,  740 => 257,  739 => 256,  738 => 255,  732 => 251,  724 => 245,  709 => 240,  701 => 235,  697 => 234,  693 => 233,  688 => 232,  681 => 227,  676 => 225,  670 => 224,  665 => 221,  661 => 219,  659 => 218,  653 => 217,  646 => 215,  642 => 213,  638 => 212,  632 => 209,  629 => 208,  627 => 207,  617 => 199,  612 => 196,  604 => 193,  594 => 188,  589 => 187,  587 => 186,  582 => 184,  578 => 183,  574 => 181,  572 => 180,  566 => 177,  561 => 176,  559 => 175,  555 => 174,  551 => 173,  543 => 170,  539 => 169,  536 => 168,  532 => 167,  528 => 166,  524 => 164,  521 => 163,  518 => 162,  515 => 161,  512 => 160,  509 => 159,  506 => 158,  503 => 157,  500 => 156,  497 => 155,  495 => 154,  489 => 150,  483 => 147,  480 => 146,  478 => 145,  475 => 144,  472 => 143,  465 => 141,  457 => 139,  455 => 138,  452 => 137,  447 => 136,  445 => 135,  432 => 124,  426 => 122,  416 => 120,  414 => 119,  407 => 117,  402 => 114,  397 => 112,  393 => 111,  389 => 109,  387 => 108,  382 => 106,  377 => 105,  375 => 104,  371 => 102,  366 => 99,  353 => 96,  348 => 95,  344 => 94,  339 => 92,  336 => 91,  334 => 90,  326 => 87,  322 => 86,  318 => 85,  312 => 83,  306 => 80,  298 => 79,  294 => 78,  291 => 77,  281 => 74,  272 => 72,  266 => 71,  263 => 70,  253 => 68,  247 => 66,  245 => 65,  242 => 64,  239 => 63,  237 => 62,  233 => 61,  229 => 60,  225 => 59,  216 => 54,  206 => 51,  203 => 50,  201 => 49,  198 => 48,  191 => 43,  183 => 40,  177 => 37,  174 => 36,  171 => 35,  168 => 34,  165 => 33,  162 => 32,  159 => 31,  156 => 30,  153 => 29,  150 => 28,  148 => 27,  137 => 19,  134 => 18,  131 => 17,  128 => 16,  125 => 15,  122 => 14,  119 => 13,  116 => 12,  113 => 11,  110 => 10,  108 => 9,  105 => 8,  92 => 7,  78 => 4,  65 => 3,  42 => 1,);
  1263.     }
  1264.     public function getSourceContext(): Source
  1265.     {
  1266.         return new Source("{% extends \"layout/layout.html.twig\" %}
  1267. {% block title %}
  1268. \t{{ product.name }}
  1269. {% endblock %}
  1270. {% block content %}
  1271. \t{% if product.brands.id == 263 %}
  1272. \t\t{% set class = \"media-bg-brown\" %}
  1273. \t{% elseif product.brands.id == 262 %}
  1274. \t\t{% set class = \"media-bg-blue\" %}
  1275. \t{% elseif product.brands.id == 413 %}
  1276. \t\t{% set class = \"media-bg-purple\" %}
  1277. \t{% else %}
  1278. \t\t{% set class = \"media-bg-green\" %}
  1279. \t{% endif %}
  1280. \t<!--Start Product Detail Main-->
  1281. \t<section class=\"info-media media-bg-right product-detail-main product-detail-revised {{class}}\">
  1282. \t\t<div class=\"container container-sm\">
  1283. \t\t\t<div class=\" product-detail-holder\">
  1284. \t\t\t\t<div
  1285. \t\t\t\t\tclass=\"info-section\">
  1286. \t\t\t\t\t<!--Start Breadcrumbs-->
  1287. \t\t\t\t\t{% if product.brands.id == 263 %}
  1288. \t\t\t\t\t\t{% set class = \"breadcrumb-dbrown\" %}
  1289. \t\t\t\t\t{% elseif product.brands.id == 262 %}
  1290. \t\t\t\t\t\t{% set class = \"breadcrumb-blue\" %}
  1291. \t\t\t\t\t{% elseif product.brands.id == 413 %}
  1292. \t\t\t\t\t\t{% set class = \"breadcrumb-purple\" %}
  1293. \t\t\t\t\t{% else %}
  1294. \t\t\t\t\t\t{% set class = \"breadcrumb-dgreen\" %}
  1295. \t\t\t\t\t{% endif %}
  1296. \t\t\t\t\t<div class=\"breadcrumb-holder {{class}} breadcrumb-fixed\">
  1297. \t\t\t\t\t\t<ol class=\"breadcrumb\">
  1298. \t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  1299. \t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}\">{{'Home'|trans}}</a>
  1300. \t\t\t\t\t\t\t</li>
  1301. \t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  1302. \t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/products/\">{{'Products'|trans}}</a>
  1303. \t\t\t\t\t\t\t</li>
  1304. \t\t\t\t\t\t\t{# {% if product.brands is defined %}
  1305. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                <li class=\"breadcrumb-item\">{{product.brands.name}}</li>
  1306. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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 %} #}
  1307. \t\t\t\t\t\t\t{% if product.categories is defined %}
  1308. \t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  1309. \t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/products/{{product.categories[0].url}}\">{{product.categories[0].name}}</a>
  1310. \t\t\t\t\t\t\t\t</li>
  1311. \t\t\t\t\t\t\t{% endif %}
  1312. \t\t\t\t\t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">{{product.name}}</li>
  1313. \t\t\t\t\t\t</ol>
  1314. \t\t\t\t\t</div>
  1315. \t\t\t\t\t<!--End Breadcrumbs-->
  1316. \t\t\t\t\t<h1 class=\"product-name\">{{ product.name }}</h1>
  1317. \t\t\t\t\t<h6 class=\"product-code\">{{'Product Code'|trans}}:
  1318. \t\t\t\t\t\t{{ product.code }}</h6>
  1319. \t\t\t\t\t{% set user = app.session.get('loginUserName') %}
  1320. \t\t\t\t\t{% if user is not null %}
  1321. \t\t\t\t\t\t<ul class=\"list-unstyled recipe-info social-info recipe-info social-info-small\">
  1322. \t\t\t\t\t\t\t{% if Liked|length > 0 %}
  1323. \t\t\t\t\t\t\t\t<li class=\"liked\">{{'Like'|trans}}</li>
  1324. \t\t\t\t\t\t\t{% else %}
  1325. \t\t\t\t\t\t\t\t<li class=\"like\" onclick=\"loyaltyProgram(this, {{ product.id }},'{{ product.name }}',10,'Product','Like')\">{{'Like'|trans}}</li>
  1326. \t\t\t\t\t\t\t{% endif %}
  1327. \t\t\t\t\t\t\t<li class=\"share\" onclick=\"loyaltyProgram(this, {{ product.id }},'{{ product.name }}',10,'Product','Share')\">
  1328. \t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Product','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/product/' ~ product.url}}' , '{{ \" share product info with your friends\"|trans }}')\">{{'Share'|trans}}</span>
  1329. \t\t\t\t\t\t\t</li>
  1330. \t\t\t\t\t\t\t<li class=\"download d-none\" onclick=\"loyaltyProgram(this, {{ product.id }},'{{ product.name }}',10,'Product','Download')\">{{'Download'|trans}}</li>
  1331. \t\t\t\t\t\t</ul>
  1332. \t\t\t\t\t{% else %}
  1333. \t\t\t\t\t\t<ul class=\"list-unstyled social-info recipe-info\">
  1334. \t\t\t\t\t\t\t<li class=\"like logged-out\">{{'Like'|trans}}</li>
  1335. \t\t\t\t\t\t\t<li class=\"share\" onclick=\"sharemodal('Product','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/product/' ~ product.url}}' , '{{ \" share product info with your friends\"|trans }}')\">{{'Share'|trans}}</li>
  1336. \t\t\t\t\t\t\t<li class=\"download d-none\">{{'Download'|trans}}</li>
  1337. \t\t\t\t\t\t</ul>
  1338. \t\t\t\t\t{% endif %}
  1339. \t\t\t\t\t<p>{{ product.description }}</p>
  1340. \t\t\t\t\t<div class=\"inline-info enjoy-with\">
  1341. \t\t\t\t\t\t<h5 class=\"title\">{{'Enjoy with'|trans}}:</h5>
  1342. \t\t\t\t\t\t<span class=\"text\">{{'Cooking'|trans}}</span>
  1343. \t\t\t\t\t\t<a href=\"/{{app.request.locale}}/recipes\" class=\"link d-none\">{{'View Recipes'|trans}}</a>
  1344. \t\t\t\t\t</div>
  1345. \t\t\t\t\t{% if product.size is defined  %}
  1346. \t\t\t\t\t\t<div class=\"inline-info available-in\">
  1347. \t\t\t\t\t\t\t<h5 class=\"title\">{{'Available in'|trans}}:</h5>
  1348. \t\t\t\t\t\t\t<ul class=\"list-unstyled portion-list\">
  1349. \t\t\t\t\t\t\t\t{% for variant in variants|sort  %}
  1350. \t\t\t\t\t\t\t\t\t<li class=\"{{ (variant.id == product.id) ? 'selected' : '' }}\">
  1351. \t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/product/{{ variant.url }}\">{{ variant.size }}</a>
  1352. \t\t\t\t\t\t\t\t\t</li>
  1353. \t\t\t\t\t\t\t\t{% endfor %}
  1354. \t\t\t\t\t\t\t</ul>
  1355. \t\t\t\t\t\t</div>
  1356. \t\t\t\t\t{% endif %}
  1357. \t\t\t\t\t<div class=\"inline-info price-info\">
  1358. \t\t\t\t\t\t{% if product.region[0]['price'].data is defined %}
  1359. \t\t\t\t\t\t\t<div class=\"price d-none\">{{ product.region[0]['price'].data }}
  1360. \t\t\t\t\t\t\t\t{{product.region[0]['currency_symbol'].data|trans}}</div>
  1361. \t\t\t\t\t\t\t{% set points =   (((product.region[0]['price'].data)/100)*10)|round %}
  1362. \t\t\t\t\t\t\t<div class=\"award d-none\">
  1363. \t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  1364. \t\t\t\t\t\t\t\t{{points}}
  1365. \t\t\t\t\t\t\t\t{{'Rewards Points'|trans}}</div>
  1366. \t\t\t\t\t\t{% endif %}
  1367. \t\t\t\t\t</div>
  1368. \t\t\t\t\t<div class=\"btn-holder\">
  1369. \t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green\" onclick=\"addCart(this, {{product.id}}, 1)\">{{'Add to Cart'|trans}}</a>
  1370. \t\t\t\t\t\t{% if app.session.get('loginUserName') is not null %}
  1371. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-lg-o-black d-none\" onclick=\"inventoryProgram(this,{{points}},{{product.id}})\">{{'Add to Inventory'|trans}}</a>
  1372. \t\t\t\t\t\t{% else %}
  1373. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green logged-out d-none\">{{'Add to Inventory'|trans}}</a>
  1374. \t\t\t\t\t\t{% endif %}
  1375. \t\t\t\t\t</div>
  1376. \t\t\t\t\t<div class=\"btn-lg-holder invisible\">
  1377. \t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-lg-white\">
  1378. \t\t\t\t\t\t\t<i><img src=\"/static/assets/images/inventory-manager.svg\" alt=\"inventory manager\"></i>TRY Inventory Manager
  1379. \t\t\t\t\t\t</a>
  1380. \t\t\t\t\t</div>
  1381. \t\t\t\t</div>
  1382. \t\t\t\t<div class=\"media-section\">
  1383. \t\t\t\t\t<div class=\"custom-slider singal-slider product-detail-slider\">
  1384. \t\t\t\t\t\t{% if product.attrimage.items is defined %}
  1385. \t\t\t\t\t\t\t{% for image_item in 0..product.attrimage.items|length - 1 %}
  1386. \t\t\t\t\t\t\t\t<div class=\"slide\">
  1387. \t\t\t\t\t\t\t\t\t{% if product.attrimage.items[image_item] is defined %}
  1388. \t\t\t\t\t\t\t\t\t\t<img src=\"{{ product.attrimage.items[image_item] }}\" alt=\"{{product.name}}\">
  1389. \t\t\t\t\t\t\t\t\t{% endif %}
  1390. \t\t\t\t\t\t\t\t</div>
  1391. \t\t\t\t\t\t\t{% endfor %}
  1392. \t\t\t\t\t\t{% endif %}
  1393. \t\t\t\t\t</div>
  1394. \t\t\t\t\t{% if product.brands.image is defined %}
  1395. \t\t\t\t\t\t<div class=\"brand-logo\">
  1396. \t\t\t\t\t\t\t<img src=\"{{ product.brands.image }}\" alt=\"Product-Brand-Logo\">
  1397. \t\t\t\t\t\t</div>
  1398. \t\t\t\t\t{% endif %}
  1399. \t\t\t\t</div>
  1400. \t\t\t</div>
  1401. \t\t\t<!--Start Frequently Bought Together-->
  1402. \t\t\t{% if product.bought_with[0] is defined %}
  1403. \t\t\t\t{% if product.bought_with[0].brands.id == 263 %}
  1404. \t\t\t\t\t{% set class = \"bg-dbrown\" %}
  1405. \t\t\t\t{% elseif product.bought_with[0].brands.id == 262 %}
  1406. \t\t\t\t\t{% set class = \"bg-blue\" %}
  1407. \t\t\t\t{% elseif product.bought_with[0].brands.id == 413 %}
  1408. \t\t\t\t\t{% set class = \"bg-purple\" %}
  1409. \t\t\t\t{% else %}
  1410. \t\t\t\t\t{% set class = \"bg-dgreen\" %}
  1411. \t\t\t\t{% endif %}
  1412. \t\t\t\t<div class=\"frequently-bought frequently-bought-inner\">
  1413. \t\t\t\t\t<div class=\"frequently-bought-box\">
  1414. \t\t\t\t\t\t<h5 class=\"title\">{{'Frequently Bought Together'|trans}}</h5>
  1415. \t\t\t\t\t\t{% for bought_with in product.bought_with %}
  1416. \t\t\t\t\t\t\t<div class=\"product-box product-box-horizon product-box-small\">
  1417. \t\t\t\t\t\t\t\t<figure class=\"slide-img slide-img-{{class}}\">
  1418. \t\t\t\t\t\t\t\t\t<img src=\"{{bought_with.attrimage.items[0]}}\" alt=\"{{bought_with.name}}\">
  1419. \t\t\t\t\t\t\t\t</figure>
  1420. \t\t\t\t\t\t\t\t<div class=\"slide-info\">
  1421. \t\t\t\t\t\t\t\t\t<h5 class=\"title\">{{ bought_with.name }}</h5>
  1422. \t\t\t\t\t\t\t\t\t<div class=\"kg\">{{ bought_with.size }}</div>
  1423. \t\t\t\t\t\t\t\t\t{% if bought_with.region[0]['price'].data is defined and product.region[0]['currency_symbol'].data is defined %}
  1424. \t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">{{ bought_with.region[0]['price'].data }}
  1425. \t\t\t\t\t\t\t\t\t\t\t{{product.region[0]['currency_symbol'].data|trans}}</div>
  1426. \t\t\t\t\t\t\t\t\t\t<div class=\"inline-info btn-holder\">
  1427. \t\t\t\t\t\t\t\t\t\t\t{% set points =   (((bought_with.region[0]['price'].data)/100)*10)|round %}
  1428. \t\t\t\t\t\t\t\t\t\t\t<div class=\"award \" style=\"opacity:0\">
  1429. \t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  1430. \t\t\t\t\t\t\t\t\t\t\t\t{{points}}
  1431. \t\t\t\t\t\t\t\t\t\t\t\t{{'Rewards Points'|trans}}
  1432. \t\t\t\t\t\t\t\t\t\t\t</div>
  1433. \t\t\t\t\t\t\t\t\t\t\t{% set totlaprice  = bought_with.region[0]['price'].data + product.region[0]['price'].data %}
  1434. \t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" onclick=\"addCart(this, {{bought_with.id}}, 1)\" class=\"btn btn-custom btn-primary \">
  1435. \t\t\t\t\t\t\t\t\t\t\t\t<span onclick=\"addCart(this, {{product.id}}, 1)\">{{'Add Both to Cart'|trans}}
  1436. \t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  1437. \t\t\t\t\t\t\t\t\t\t\t</a>
  1438. \t\t\t\t\t\t\t\t\t\t</div>
  1439. \t\t\t\t\t\t\t\t\t{% endif %}
  1440. \t\t\t\t\t\t\t\t</div>
  1441. \t\t\t\t\t\t\t</div>
  1442. \t\t\t\t\t\t{% endfor %}
  1443. \t\t\t\t\t</div>
  1444. \t\t\t\t</div>
  1445. \t\t\t{% endif %}
  1446. \t\t\t<!--End Frequently Bought Together-->
  1447. \t\t</div>
  1448. \t</section>
  1449. \t<!--End Product Detail Main-->
  1450. \t<!--Start Recipes Using Our Products Section-->
  1451. \t<!-- Class Added with-ellipses height-updatedbox-->
  1452. \t\t{% if product.recipes[0] is defined %}
  1453. \t\t\t<section class=\"featured-recipes-section inner-featured-recipe using-products with-ellipses height-updatedbox product-detail-similer\"> <div class=\"container container-sm\">
  1454. \t\t\t\t<h2 class=\"heading\">{{'Recipes Using Our Products'|trans}}</h2>
  1455. \t\t\t\t<div class=\"featured-recipes\">
  1456. \t\t\t\t\t<div class=\"custom-slider featured-recipes-slider\">
  1457. \t\t\t\t\t\t{% for recipe in product.recipes %}
  1458. \t\t\t\t\t\t\t<div class=\"slide\">
  1459. \t\t\t\t\t\t\t\t<div class=\"slide-holder\">
  1460. \t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{ recipe.url }}\" tabindex=\"0\">
  1461. \t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
  1462. \t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ recipe.featured_image}}\" alt=\"{{ recipe.name}}\">
  1463. \t\t\t\t\t\t\t\t\t\t\t{% if recipe.banner_video %}
  1464. \t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
  1465. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1466. \t\t\t\t\t\t\t\t\t\t</figure>
  1467. \t\t\t\t\t\t\t\t\t</a>
  1468. \t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
  1469. \t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{ recipe.url }}\" tabindex=\"0\">
  1470. \t\t\t\t\t\t\t\t\t\t\t<h3>{{ recipe.name }}</h3>
  1471. \t\t\t\t\t\t\t\t\t\t</a>
  1472. \t\t\t\t\t\t\t\t\t\t<p>{{ recipe.short_description }}</p>
  1473. \t\t\t\t\t\t\t\t\t\t<ul
  1474. \t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
  1475. \t\t\t\t\t\t\t\t\t\t\t{# <li class=\"mins\">{{ recipe.time}} {{\"mins\"|trans }}</li> #}
  1476. \t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">{{'No. Of'|trans}}
  1477. \t\t\t\t\t\t\t\t\t\t\t\t{{'Serving'|trans}}
  1478. \t\t\t\t\t\t\t\t\t\t\t\t{{ recipe.serves}}</li>
  1479. \t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">{{ recipe.typeofmeal|trans }}</li>
  1480. \t\t\t\t\t\t\t\t\t\t</ul>
  1481. \t\t\t\t\t\t\t\t\t</div>
  1482. \t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  1483. \t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{recipe.url}}\" class=\"btn btn-custom btn-green\" tabindex=\"0\">{{'View Recipe'|trans}}</a>
  1484. \t\t\t\t\t\t\t\t\t</div>
  1485. \t\t\t\t\t\t\t\t</div>
  1486. \t\t\t\t\t\t\t</div>
  1487. \t\t\t\t\t\t{% endfor %}
  1488. \t\t\t\t\t</div>
  1489. \t\t\t\t</div>
  1490. \t\t\t</div>
  1491. \t\t</section>
  1492. \t{% endif %}
  1493. \t<!--End Recipes Using Our Products Section-->
  1494. \t<!--Start Product Info Section-->
  1495. \t{% if product.ingredients is not empty 
  1496.     or product.nutrition is not empty 
  1497.     or product.product_info is not empty 
  1498.     or product.usage_info is not empty 
  1499. \t%}
  1500. \t<section class=\"product-infobox\">
  1501. \t\t<div class=\"container container-sm\">
  1502. \t\t\t<div class=\"row\">
  1503. \t\t\t\t<div class=\"col-12 col-md-6 infomation-tabs infomation-tabs-left\">
  1504. \t\t\t\t\t<ul class=\"nav nav-tabs\" id=\"myTab\" role=\"tablist\">
  1505. \t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
  1506. \t\t\t\t\t\t\t<a class=\"nav-link active\" id=\"ingredients-tab\" data-toggle=\"tab\" href=\"#ingredients\" role=\"tab\" aria-controls=\"ingredients\" aria-selected=\"true\">{{'Ingredients'|trans}}</a>
  1507. \t\t\t\t\t\t</li>
  1508. \t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
  1509. \t\t\t\t\t\t\t<a class=\"nav-link\" id=\"nutritional-tab\" data-toggle=\"tab\" href=\"#nutritional\" role=\"tab\" aria-controls=\"nutritional\" aria-selected=\"false\">{{'Nutritional Info'|trans}}</a>
  1510. \t\t\t\t\t\t</li>
  1511. \t\t\t\t\t</ul>
  1512. \t\t\t\t\t<div class=\"tab-content\" id=\"myTabContent\">
  1513. \t\t\t\t\t\t<div class=\"tab-pane fade show active\" id=\"ingredients\" role=\"tabpanel\" aria-labelledby=\"ingredients-tab\">
  1514. \t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list\">
  1515. \t\t\t\t\t\t\t\t<li>
  1516. \t\t\t\t\t\t\t\t\t{{product.ingredients}}
  1517. \t\t\t\t\t\t\t\t</li>
  1518. \t\t\t\t\t\t\t</ul>
  1519. \t\t\t\t\t\t</div>
  1520. \t\t\t\t\t\t<div class=\"tab-pane fade\" id=\"nutritional\" role=\"tabpanel\" aria-labelledby=\"nutritional-tab\">
  1521. \t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list nutri-list-singal\">
  1522. \t\t\t\t\t\t\t\t{% for nutrition in product.nutrition %}
  1523. \t\t\t\t\t\t\t\t\t{% if nutrition.localizedfields.data.getLocalizedValue('nutritions') is defined %}
  1524. \t\t\t\t\t\t\t\t\t\t<li>
  1525. \t\t\t\t\t\t\t\t\t\t\t<span>{{ nutrition.localizedfields.data.getLocalizedValue('nutritions')}}
  1526. \t\t\t\t\t\t\t\t\t\t\t</span>
  1527. \t\t\t\t\t\t\t\t\t\t\t<span>{{ nutrition.localizedfields.data.getLocalizedValue('qty') }}</span>
  1528. \t\t\t\t\t\t\t\t\t\t</li>
  1529. \t\t\t\t\t\t\t\t\t{% endif %}
  1530. \t\t\t\t\t\t\t\t{% endfor %}
  1531. \t\t\t\t\t\t\t</ul>
  1532. \t\t\t\t\t\t</div>
  1533. \t\t\t\t\t</div>
  1534. \t\t\t\t</div>
  1535. \t\t\t\t<div class=\"col-12 col-md-6 infomation-tabs infomation-tabs-right\">
  1536. \t\t\t\t\t<ul class=\"nav nav-tabs\" id=\"myTab2\" role=\"tablist\">
  1537. \t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
  1538. \t\t\t\t\t\t\t<a class=\"nav-link active\" id=\"productinfo-tab\" data-toggle=\"tab\" href=\"#productinfo\" role=\"tab\" aria-controls=\"productinfo\" aria-selected=\"true\">{{'Product Information'|trans}}</a>
  1539. \t\t\t\t\t\t</li>
  1540. \t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
  1541. \t\t\t\t\t\t\t<a class=\"nav-link\" id=\"usageinformation-tab\" data-toggle=\"tab\" href=\"#usageinformation\" role=\"tab\" aria-controls=\"usageinformation\" aria-selected=\"false\">{{'Usage Information'|trans}}</a>
  1542. \t\t\t\t\t\t</li>
  1543. \t\t\t\t\t</ul>
  1544. \t\t\t\t\t<div class=\"tab-content\" id=\"myTabContent2\">
  1545. \t\t\t\t\t\t<div class=\"tab-pane fade show active\" id=\"productinfo\" role=\"tabpanel\" aria-labelledby=\"productinfo-tab\">
  1546. \t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list nutri-list-singal\">
  1547. \t\t\t\t\t\t\t\t{% for pusageinfo in product.product_info %}
  1548. \t\t\t\t\t\t\t\t\t<li>
  1549. \t\t\t\t\t\t\t\t\t\t<span>{{ pusageinfo.localizedfields.data.getLocalizedValue('product_info_name')}}</span>
  1550. \t\t\t\t\t\t\t\t\t\t<span>{{ pusageinfo.localizedfields.data.getLocalizedValue('product_info_value')}}</span>
  1551. \t\t\t\t\t\t\t\t\t</li>
  1552. \t\t\t\t\t\t\t\t{% endfor %}
  1553. \t\t\t\t\t\t\t\t{# <li><span>Brand</span><span>{{product.brands.name}}</span></li>
  1554. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                  <li>
  1555. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                    <span>Region</span>
  1556. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                    <span>
  1557. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                      {% if product.region[0]['country'] is defined %}
  1558. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                      {{  product.region[0]['country'].data }}
  1559. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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 %}
  1560. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                    </span>
  1561. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                  </li> #}
  1562. \t\t\t\t\t\t\t</ul>
  1563. \t\t\t\t\t\t</div>
  1564. \t\t\t\t\t\t<div class=\"tab-pane fade\" id=\"usageinformation\" role=\"tabpanel\" aria-labelledby=\"usageinformation-tab\">
  1565. \t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list nutri-list-singal\">
  1566. \t\t\t\t\t\t\t\t{% for pusage in product.usage_info %}
  1567. \t\t\t\t\t\t\t\t\t<li>
  1568. \t\t\t\t\t\t\t\t\t\t<span>{{ pusage.localizedfields.data.getLocalizedValue('usage_property')}}
  1569. \t\t\t\t\t\t\t\t\t\t</span>
  1570. \t\t\t\t\t\t\t\t\t\t<span>{{ pusage.localizedfields.data.getLocalizedValue('usage_value') }}</span>
  1571. \t\t\t\t\t\t\t\t\t</li>
  1572. \t\t\t\t\t\t\t\t{% endfor %}
  1573. \t\t\t\t\t\t\t</ul>
  1574. \t\t\t\t\t\t</div>
  1575. \t\t\t\t\t</div>
  1576. \t\t\t\t</div>
  1577. \t\t\t</div>
  1578. \t\t</div>
  1579. \t</section>
  1580. \t{% endif %}
  1581. \t<!--End Product Info Section-->
  1582. \t<!--Start Resources Section-->
  1583. \t<section class=\"info-media info-resources product-training info-resources-product-detail\">
  1584. \t\t<div class=\"container container-sm\">
  1585. \t\t\t<div class=\"info-section\">
  1586. \t\t\t\t<h5>{{'Training for you'|trans}}</h5>
  1587. \t\t\t\t<h4>{{training.videoName}}</h4>
  1588. \t\t\t\t{# <h3>and kitchen safety</h3> #}
  1589. \t\t\t\t<p>{{training.details}}</p>
  1590. \t\t\t\t<div class=\"btn-holder\">
  1591. \t\t\t\t\t<div class=\"btn-border\">
  1592. \t\t\t\t\t\t<a href=\"/{{app.request.locale}}/professional-training\" class=\"btn btn-custom btn-xl btn-lg-o-wblack\">{{'Start Training Today!'|trans}}</a>
  1593. \t\t\t\t\t</div>
  1594. \t\t\t\t</div>
  1595. \t\t\t</div>
  1596. \t\t\t<div class=\"media-section\">
  1597. \t\t\t\t<img src=\"{{training.Videos[0].title_img.data}}\" alt=\"{{training.videoName}}\">
  1598. \t\t\t</div>
  1599. \t\t</div>
  1600. \t</section>
  1601. \t<!--End Resources Section-->
  1602. \t<!--Start Featured Section-->
  1603. \t{% if similar_products|length > 0 %}
  1604. \t\t<section class=\"featured-section product-similar-products featured-section-product-detail\">
  1605. \t\t\t<div class=\"container container-sm\">
  1606. \t\t\t\t<h2 class=\"heading\">{{'Similar Products'|trans}}</h2>
  1607. \t\t\t\t<div class=\"slide-grid\">
  1608. \t\t\t\t\t{% for Similar_products in similar_products %}
  1609. \t\t\t\t\t\t{% if Similar_products.brands.id == 263 %}
  1610. \t\t\t\t\t\t\t{% set class = \"slide-img-bg-brown\" %}
  1611. \t\t\t\t\t\t{% elseif Similar_products.brands.id == 262 %}
  1612. \t\t\t\t\t\t\t{% set class = \"slide-img-bg-blue\" %}
  1613. \t\t\t\t\t\t{% elseif Similar_products.brands.id == 413 %}
  1614. \t\t\t\t\t\t\t{% set class = \"lide-img-bg-purple\" %}
  1615. \t\t\t\t\t\t{% else %}
  1616. \t\t\t\t\t\t\t{% set class = \"slide-img-bg-green\" %}
  1617. \t\t\t\t\t\t{% endif %}
  1618. \t\t\t\t\t\t<div class=\"slide\">
  1619. \t\t\t\t\t\t\t<div
  1620. \t\t\t\t\t\t\t\tclass=\"slide-holder product-box\">
  1621. \t\t\t\t\t\t\t\t{# <div class=\"like\">
  1622. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                  {% if related_product.brands.image is defined %}
  1623. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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=\"{{ related_product.brands.image }}\" alt=\"\">
  1624. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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 %}</div> #}
  1625. \t\t\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
  1626. \t\t\t\t\t\t\t\t{% if user is not null %}
  1627. \t\t\t\t\t\t\t\t\t{% if Similar_products.id in Liked_simialr_products_ids %}
  1628. \t\t\t\t\t\t\t\t\t\t<div class=\"like\">
  1629. \t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\"><img src=\"/static/assets/images/Liked-01.svg\" alt=\"Liked\"></a>
  1630. \t\t\t\t\t\t\t\t\t\t</div>
  1631. \t\t\t\t\t\t\t\t\t{% else %}
  1632. \t\t\t\t\t\t\t\t\t\t<div class=\"like\">
  1633. \t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" onclick=\"loyaltyProgram(this ,{{ Similar_products.id }},'{{ Similar_products.name }}',10,'Product','Like')\"><img src=\"/static/assets/images/Group_1271.svg\" alt=\"Like\"></a>
  1634. \t\t\t\t\t\t\t\t\t\t</div>
  1635. \t\t\t\t\t\t\t\t\t{% endif %}
  1636. \t\t\t\t\t\t\t\t{% else %}
  1637. \t\t\t\t\t\t\t\t\t<div class=\"like logged-out\">
  1638. \t\t\t\t\t\t\t\t\t\t<a
  1639. \t\t\t\t\t\t\t\t\t\t\thref=\"javascript:void(0)\">
  1640. \t\t\t\t\t\t\t\t\t\t\t{# <img src=\"/static/assets/images/like.svg\" alt=\"\"> #}
  1641. \t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/Group_1271.svg\" alt=\"Like\">
  1642. \t\t\t\t\t\t\t\t\t\t</a>
  1643. \t\t\t\t\t\t\t\t\t</div>
  1644. \t\t\t\t\t\t\t\t{% endif %}
  1645. \t\t\t\t\t\t\t\t<figure class=\"slide-img {{class}}\">
  1646. \t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/product/{{ Similar_products.url }}\">
  1647. \t\t\t\t\t\t\t\t\t\t{% if Similar_products.attrimage.items[0] is defined %}
  1648. \t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ Similar_products.attrimage.items[0] }}\" alt=\"{{ Similar_products.name }}\">
  1649. \t\t\t\t\t\t\t\t\t\t{% endif %}
  1650. \t\t\t\t\t\t\t\t\t</a>
  1651. \t\t\t\t\t\t\t\t</figure>
  1652. \t\t\t\t\t\t\t\t<div class=\"slide-info\">
  1653. \t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/product/{{ Similar_products.url }}\">
  1654. \t\t\t\t\t\t\t\t\t\t<h5 class=\"title\">{{ Similar_products.name }}</h5>
  1655. \t\t\t\t\t\t\t\t\t</a>
  1656. \t\t\t\t\t\t\t\t\t<div class=\"kg\">{{ Similar_products.size }}</div>
  1657. \t\t\t\t\t\t\t\t\t{% if Similar_products.region[0]['price'].data is defined %}
  1658. \t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">{{ Similar_products.region[0]['price'].data }}
  1659. \t\t\t\t\t\t\t\t\t\t\t{{ Similar_products.region[0]['currency_symbol'].data|trans}}</div>
  1660. \t\t\t\t\t\t\t\t\t\t{% set points =   (((Similar_products.region[0]['price'].data)/100)*10)|round %}
  1661. \t\t\t\t\t\t\t\t\t\t<div class=\"award d-none\">
  1662. \t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  1663. \t\t\t\t\t\t\t\t\t\t\t{{points}}
  1664. \t\t\t\t\t\t\t\t\t\t\t{{'Rewards Points'|trans}}</div>
  1665. \t\t\t\t\t\t\t\t\t{% endif %}
  1666. \t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  1667. \t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" onclick=\"addCart(this, {{Similar_products.id}}, 1)\" class=\"btn btn-custom btn-green\">{{'Add to Cart'|trans}}</a>
  1668. \t\t\t\t\t\t\t\t\t\t{# <a href=\"javascript:void(0)\" class=\"btn btn-custom btn-p-outline\">Add to Inventory</a> #}
  1669. \t\t\t\t\t\t\t\t\t\t{% if app.session.get('loginUserName') is not null %}
  1670. \t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-p-outline-blue\" onclick=\"inventoryProgram(this,{{points}},{{Similar_products.id}})\">{{'Add to Inventory'|trans}}</a>
  1671. \t\t\t\t\t\t\t\t\t\t{% else %}
  1672. \t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-p-outline-blue product-detail-logged-out\">{{'Add to Inventory'|trans}}</a>
  1673. \t\t\t\t\t\t\t\t\t\t{% endif %}
  1674. \t\t\t\t\t\t\t\t\t</div>
  1675. \t\t\t\t\t\t\t\t\t<div class=\"product-detail-inventry-alert mt-2\"></div>
  1676. \t\t\t\t\t\t\t\t</div>
  1677. \t\t\t\t\t\t\t</div>
  1678. \t\t\t\t\t\t</div>
  1679. \t\t\t\t\t{% endfor %}
  1680. \t\t\t\t</div>
  1681. \t\t\t</div>
  1682. \t\t</section>
  1683. \t{% endif %}
  1684. \t<!--End Featured Section-->
  1685. \t<!--Start GFS Loyalty Program-->
  1686. \t<section class=\"info-media loyalty-program loyalty-program-product loyalty-program-inner loyalty-program-product-detail\">
  1687. \t\t<div class=\"container container-sm\">
  1688. \t\t\t<div class=\"info-section\">
  1689. \t\t\t\t<h5>{{'Loyalty Program'|trans}}</h5>
  1690. \t\t\t\t<h4>{{ loyaltybanner.sliders[0].localizedfields.data.getLocalizedValue('heading')}}</h4>
  1691. \t\t\t\t<h3>{{ loyaltybanner.sliders[0].localizedfields.data.getLocalizedValue('heading1')}}</h3>
  1692. \t\t\t\t<p>{{ loyaltybanner.sliders[0].localizedfields.data.getLocalizedValue('description')}}</p>
  1693. \t\t\t\t<div class=\"btn-holder\">
  1694. \t\t\t\t\t<div class=\"btn-border\">
  1695. \t\t\t\t\t\t<a href=\"/{{app.request.locale}}/loyalty-program\" class=\"btn btn-custom btn-green\">{{'Discover More'|trans}}</a>
  1696. \t\t\t\t\t</div>
  1697. \t\t\t\t\t<div class=\"newsletter-subscribe\">
  1698. \t\t\t\t\t\t<h4 class=\"cstmLP\">\"{{'Coming Soon'|trans}}\"</h4>
  1699. \t\t\t\t\t</div>
  1700. \t\t\t\t\t{% if app.session.get('loginUserName') is null %}
  1701. \t\t\t\t\t\t<div class=\"btn-border btn-border-black d-none\">
  1702. \t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/signup\" class=\"btn btn-custom btn-lg-o-black\">Sign-up Now!</a>
  1703. \t\t\t\t\t\t</div>
  1704. \t\t\t\t\t{% endif %}
  1705. \t\t\t\t</div>
  1706. \t\t\t</div>
  1707. \t\t\t<div class=\"media-section\">
  1708. \t\t\t\t<img src=\"{{ loyaltybanner.sliders[0].slider_image.data}}\" alt=\"loyalty banner slide image\">
  1709. \t\t\t</div>
  1710. \t\t</div>
  1711. \t</section>
  1712. \t<script type=\"application/ld+json\">
  1713. \t\t{
  1714. \t\t\t\t\t\t\t\t\t\"@context\": \"https://schema.org/\", 
  1715. \t\t\t\t\t\t\t\t\t\"@type\": \"Product\", 
  1716. \t\t\t\t\t\t\t\t\t\"name\": \"{{product.name}}\",
  1717. \t\t\t\t\t\t\t\t\t\"image\": \"{{app.request.getSchemeAndHttpHost() ~ product.attrimage.Items[0].image.path ~ product.attrimage.Items[0].image.filename}}\",
  1718. \t\t\t\t\t\t\t\t\t\"description\": \"{{product.description}}\",
  1719. \t\t\t\t\t\t\t\t\t\"brand\": {
  1720. \t\t\t\t\t\t\t\t\t\t\"@type\": \"Brand\",
  1721. \t\t\t\t\t\t\t\t\t\t\"name\": \"{{product.brands.name}}\"
  1722. \t\t\t\t\t\t\t\t\t},
  1723. \t\t\t\t\t\t\t\t\t\"sku\": \"{{product.code}}\",
  1724. \t\t\t\t\t\t\t\t\t\t\"aggregateRating\": {
  1725. \t\t\t\t\t\t\t\t\t\t\t\"@type\": \"AggregateRating\",
  1726. \t\t\t\t\t\t\t\t\t\t\t\"ratingValue\": \"5\",
  1727. \t\t\t\t\t\t\t\t\t\t\t\"bestRating\": \"5\",
  1728. \t\t\t\t\t\t\t\t\t\t\t\"worstRating\": \"1\",
  1729. \t\t\t\t\t\t\t\t\t\t\t\"ratingCount\": \"2\"
  1730. \t\t\t\t\t\t\t\t\t\t
  1731. \t\t\t\t\t\t\t\t\t\t}
  1732. \t\t\t\t\t\t\t\t\t}
  1733. \t</script>
  1734. \t<!--End GFS Loyalty Program-->
  1735. \t<!--Start Footer-->
  1736. \t{% if (app.request.locale =='ar') %}
  1737. \t\t{% set topMenu =\"/en/product/\" ~ product.url('en') %}
  1738. \t{% else %}
  1739. \t\t{% set topMenu =\"/ar/product/\" ~ product.url('ar') %}
  1740. \t{% endif %}
  1741. \t<script>
  1742. \t\tvar _TopMenuLink = \"{{ topMenu }}\";
  1743. \t</script>
  1744. {% endblock %}
  1745. {% block footer %}
  1746. \t{% include \"includes/footer.html.twig\" %}
  1747. {% endblock %}
  1748. ""Products/product.html.twig""/var/www/vhosts/centric.ae/gcs.centric.ae/templates/Products/product.html.twig");
  1749.     }
  1750. }