<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* Products/product.html.twig */
class __TwigTemplate_551ab81ada1f3c4d3eff9482f2af8e5f extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "layout/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Products/product.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Products/product.html.twig"));
$this->parent = $this->loadTemplate("layout/layout.html.twig", "Products/product.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 4
yield "\t";
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", false, false, false, 4), "html", null, true);
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 7
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 8
yield "
\t";
// line 9
if ((CoreExtension::getAttribute($this->env, $this->source, 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.', 9, $this->source); })()), "brands", [], "any", false, false, false, 9), "id", [], "any", false, false, false, 9) == 263)) {
// line 10
yield "\t\t";
$context["class"] = "media-bg-brown";
// line 11
yield "\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, 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.', 11, $this->source); })()), "brands", [], "any", false, false, false, 11), "id", [], "any", false, false, false, 11) == 262)) {
// line 12
yield "\t\t";
$context["class"] = "media-bg-blue";
// line 13
yield "\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, 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.', 13, $this->source); })()), "brands", [], "any", false, false, false, 13), "id", [], "any", false, false, false, 13) == 413)) {
// line 14
yield "\t\t";
$context["class"] = "media-bg-purple";
// line 15
yield "\t";
} else {
// line 16
yield "\t\t";
$context["class"] = "media-bg-green";
// line 17
yield "\t";
}
// line 18
yield "\t<!--Start Product Detail Main-->
\t<section class=\"info-media media-bg-right product-detail-main product-detail-revised ";
// line 19
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", null, true);
yield "\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\" product-detail-holder\">
\t\t\t\t<div
\t\t\t\t\tclass=\"info-section\">
\t\t\t\t\t<!--Start Breadcrumbs-->
\t\t\t\t\t";
// line 27
if ((CoreExtension::getAttribute($this->env, $this->source, 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.', 27, $this->source); })()), "brands", [], "any", false, false, false, 27), "id", [], "any", false, false, false, 27) == 263)) {
// line 28
yield "\t\t\t\t\t\t";
$context["class"] = "breadcrumb-dbrown";
// line 29
yield "\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, 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.', 29, $this->source); })()), "brands", [], "any", false, false, false, 29), "id", [], "any", false, false, false, 29) == 262)) {
// line 30
yield "\t\t\t\t\t\t";
$context["class"] = "breadcrumb-blue";
// line 31
yield "\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, 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.', 31, $this->source); })()), "brands", [], "any", false, false, false, 31), "id", [], "any", false, false, false, 31) == 413)) {
// line 32
yield "\t\t\t\t\t\t";
$context["class"] = "breadcrumb-purple";
// line 33
yield "\t\t\t\t\t";
} else {
// line 34
yield "\t\t\t\t\t\t";
$context["class"] = "breadcrumb-dgreen";
// line 35
yield "\t\t\t\t\t";
}
// line 36
yield "
\t\t\t\t\t<div class=\"breadcrumb-holder ";
// line 37
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", null, true);
yield " breadcrumb-fixed\">
\t\t\t\t\t\t<ol class=\"breadcrumb\">
\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t<a href=\"/";
// line 40
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 40), "locale", [], "any", false, false, false, 40), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t<a href=\"/";
// line 43
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 43), "locale", [], "any", false, false, false, 43), "html", null, true);
yield "/products/\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Products"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t";
// line 48
yield "
\t\t\t\t\t\t\t";
// line 49
if (CoreExtension::getAttribute($this->env, $this->source, ($context["product"] ?? null), "categories", [], "any", true, true, false, 49)) {
// line 50
yield "\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 51
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 51), "locale", [], "any", false, false, false, 51), "html", null, true);
yield "/products/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 51, $this->source); })()), "categories", [], "any", false, false, false, 51), 0, [], "array", false, false, false, 51), "url", [], "any", false, false, false, 51), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 51, $this->source); })()), "categories", [], "any", false, false, false, 51), 0, [], "array", false, false, false, 51), "name", [], "any", false, false, false, 51), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t";
}
// line 54
yield "\t\t\t\t\t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">";
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", false, false, false, 54), "html", null, true);
yield "</li>
\t\t\t\t\t\t</ol>
\t\t\t\t\t</div>
\t\t\t\t\t<!--End Breadcrumbs-->
\t\t\t\t\t<h1 class=\"product-name\">";
// line 59
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", false, false, false, 59), "html", null, true);
yield "</h1>
\t\t\t\t\t<h6 class=\"product-code\">";
// line 60
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Product Code"), "html", null, true);
yield ":
\t\t\t\t\t\t";
// line 61
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", false, false, false, 61), "html", null, true);
yield "</h6>
\t\t\t\t\t";
// line 62
$context["user"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 62), "get", ["loginUserName"], "method", false, false, false, 62);
// line 63
yield "\t\t\t\t\t";
if ( !(null === (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 63, $this->source); })()))) {
// line 64
yield "\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info social-info recipe-info social-info-small\">
\t\t\t\t\t\t\t";
// line 65
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)) {
// line 66
yield "\t\t\t\t\t\t\t\t<li class=\"liked\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t";
} else {
// line 68
yield "\t\t\t\t\t\t\t\t<li class=\"like\" onclick=\"loyaltyProgram(this, ";
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", false, false, false, 68), "html", null, true);
yield ",'";
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", false, false, false, 68), "html", null, true);
yield "',10,'Product','Like')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t";
}
// line 70
yield "
\t\t\t\t\t\t\t<li class=\"share\" onclick=\"loyaltyProgram(this, ";
// line 71
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", false, false, false, 71), "html", null, true);
yield ",'";
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", false, false, false, 71), "html", null, true);
yield "',10,'Product','Share')\">
\t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Product','";
// line 72
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 72), "getSchemeAndHttpHost", [], "method", false, false, false, 72) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 72), "locale", [], "any", false, false, false, 72)) . "/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", false, false, false, 72)), "html", null, true);
yield "' , '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share product info with your friends"), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li class=\"download d-none\" onclick=\"loyaltyProgram(this, ";
// line 74
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", false, false, false, 74), "html", null, true);
yield ",'";
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", false, false, false, 74), "html", null, true);
yield "',10,'Product','Download')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html", null, true);
yield "</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t";
} else {
// line 77
yield "\t\t\t\t\t\t<ul class=\"list-unstyled social-info recipe-info\">
\t\t\t\t\t\t\t<li class=\"like logged-out\">";
// line 78
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t<li class=\"share\" onclick=\"sharemodal('Product','";
// line 79
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 79), "getSchemeAndHttpHost", [], "method", false, false, false, 79) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 79), "locale", [], "any", false, false, false, 79)) . "/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", false, false, false, 79)), "html", null, true);
yield "' , '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share product info with your friends"), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t<li class=\"download d-none\">";
// line 80
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html", null, true);
yield "</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t";
}
// line 83
yield "\t\t\t\t\t<p>";
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", false, false, false, 83), "html", null, true);
yield "</p>
\t\t\t\t\t<div class=\"inline-info enjoy-with\">
\t\t\t\t\t\t<h5 class=\"title\">";
// line 85
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enjoy with"), "html", null, true);
yield ":</h5>
\t\t\t\t\t\t<span class=\"text\">";
// line 86
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cooking"), "html", null, true);
yield "</span>
\t\t\t\t\t\t<a href=\"/";
// line 87
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 87), "locale", [], "any", false, false, false, 87), "html", null, true);
yield "/recipes\" class=\"link d-none\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("View Recipes"), "html", null, true);
yield "</a>
\t\t\t\t\t</div>
\t\t\t\t\t";
// line 90
if (CoreExtension::getAttribute($this->env, $this->source, ($context["product"] ?? null), "size", [], "any", true, true, false, 90)) {
// line 91
yield "\t\t\t\t\t\t<div class=\"inline-info available-in\">
\t\t\t\t\t\t\t<h5 class=\"title\">";
// line 92
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Available in"), "html", null, true);
yield ":</h5>
\t\t\t\t\t\t\t<ul class=\"list-unstyled portion-list\">
\t\t\t\t\t\t\t\t";
// line 94
$context['_parent'] = $context;
$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); })())));
foreach ($context['_seq'] as $context["_key"] => $context["variant"]) {
// line 95
yield "\t\t\t\t\t\t\t\t\t<li class=\"";
yield (((CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "id", [], "any", false, false, false, 95) == 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", false, false, false, 95))) ? ("selected") : (""));
yield "\">
\t\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 96
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 96), "locale", [], "any", false, false, false, 96), "html", null, true);
yield "/product/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "url", [], "any", false, false, false, 96), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "size", [], "any", false, false, false, 96), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['variant'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 99
yield "\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 102
yield "
\t\t\t\t\t<div class=\"inline-info price-info\">
\t\t\t\t\t\t";
// line 104
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["product"] ?? null), "region", [], "any", false, true, false, 104), 0, [], "array", false, true, false, 104), "price", [], "array", false, true, false, 104), "data", [], "any", true, true, false, 104)) {
// line 105
yield "\t\t\t\t\t\t\t<div class=\"price d-none\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 105, $this->source); })()), "region", [], "any", false, false, false, 105), 0, [], "array", false, false, false, 105), "price", [], "array", false, false, false, 105), "data", [], "any", false, false, false, 105), "html", null, true);
yield "
\t\t\t\t\t\t\t\t";
// line 106
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 106, $this->source); })()), "region", [], "any", false, false, false, 106), 0, [], "array", false, false, false, 106), "currency_symbol", [], "array", false, false, false, 106), "data", [], "any", false, false, false, 106)), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t";
// line 108
$context["points"] = Twig\Extension\CoreExtension::round(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 108, $this->source); })()), "region", [], "any", false, false, false, 108), 0, [], "array", false, false, false, 108), "price", [], "array", false, false, false, 108), "data", [], "any", false, false, false, 108) / 100) * 10));
// line 109
yield "\t\t\t\t\t\t\t<div class=\"award d-none\">
\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
\t\t\t\t\t\t\t\t";
// line 111
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", null, true);
yield "
\t\t\t\t\t\t\t\t";
// line 112
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rewards Points"), "html", null, true);
yield "</div>
\t\t\t\t\t\t";
}
// line 114
yield "\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green\" onclick=\"addCart(this, ";
// line 117
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", false, false, false, 117), "html", null, true);
yield ", 1)\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Cart"), "html", null, true);
yield "</a>
\t\t\t\t\t\t";
// line 119
if ( !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 119), "get", ["loginUserName"], "method", false, false, false, 119))) {
// line 120
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,";
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", null, true);
yield ",";
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", false, false, false, 120), "html", null, true);
yield ")\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Inventory"), "html", null, true);
yield "</a>
\t\t\t\t\t\t";
} else {
// line 122
yield "\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-green logged-out d-none\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Inventory"), "html", null, true);
yield "</a>
\t\t\t\t\t\t";
}
// line 124
yield "\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"btn-lg-holder invisible\">
\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-lg-white\">
\t\t\t\t\t\t\t<i><img src=\"/static/assets/images/inventory-manager.svg\" alt=\"inventory manager\"></i>TRY Inventory Manager
\t\t\t\t\t\t</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t<div class=\"custom-slider singal-slider product-detail-slider\">
\t\t\t\t\t\t";
// line 135
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["product"] ?? null), "attrimage", [], "any", false, true, false, 135), "items", [], "any", true, true, false, 135)) {
// line 136
yield "\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, 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.', 136, $this->source); })()), "attrimage", [], "any", false, false, false, 136), "items", [], "any", false, false, false, 136)) - 1)));
foreach ($context['_seq'] as $context["_key"] => $context["image_item"]) {
// line 137
yield "\t\t\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t\t\t";
// line 138
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["product"] ?? null), "attrimage", [], "any", false, true, false, 138), "items", [], "any", false, true, false, 138), $context["image_item"], [], "array", true, true, false, 138)) {
// line 139
yield "\t\t\t\t\t\t\t\t\t\t<img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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); })()), "attrimage", [], "any", false, false, false, 139), "items", [], "any", false, false, false, 139), $context["image_item"], [], "array", false, false, false, 139), "html", null, true);
yield "\" alt=\"";
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", false, false, false, 139), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t";
}
// line 141
yield "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image_item'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 143
yield "\t\t\t\t\t\t";
}
// line 144
yield "\t\t\t\t\t</div>
\t\t\t\t\t";
// line 145
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["product"] ?? null), "brands", [], "any", false, true, false, 145), "image", [], "any", true, true, false, 145)) {
// line 146
yield "\t\t\t\t\t\t<div class=\"brand-logo\">
\t\t\t\t\t\t\t<img src=\"";
// line 147
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 147, $this->source); })()), "brands", [], "any", false, false, false, 147), "image", [], "any", false, false, false, 147), "html", null, true);
yield "\" alt=\"Product-Brand-Logo\">
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 150
yield "\t\t\t\t</div>
\t\t\t</div>
\t\t\t<!--Start Frequently Bought Together-->
\t\t\t";
// line 154
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["product"] ?? null), "bought_with", [], "any", false, true, false, 154), 0, [], "array", true, true, false, 154)) {
// line 155
yield "\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 155, $this->source); })()), "bought_with", [], "any", false, false, false, 155), 0, [], "array", false, false, false, 155), "brands", [], "any", false, false, false, 155), "id", [], "any", false, false, false, 155) == 263)) {
// line 156
yield "\t\t\t\t\t";
$context["class"] = "bg-dbrown";
// line 157
yield "\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 157, $this->source); })()), "bought_with", [], "any", false, false, false, 157), 0, [], "array", false, false, false, 157), "brands", [], "any", false, false, false, 157), "id", [], "any", false, false, false, 157) == 262)) {
// line 158
yield "\t\t\t\t\t";
$context["class"] = "bg-blue";
// line 159
yield "\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 159, $this->source); })()), "bought_with", [], "any", false, false, false, 159), 0, [], "array", false, false, false, 159), "brands", [], "any", false, false, false, 159), "id", [], "any", false, false, false, 159) == 413)) {
// line 160
yield "\t\t\t\t\t";
$context["class"] = "bg-purple";
// line 161
yield "\t\t\t\t";
} else {
// line 162
yield "\t\t\t\t\t";
$context["class"] = "bg-dgreen";
// line 163
yield "\t\t\t\t";
}
// line 164
yield "\t\t\t\t<div class=\"frequently-bought frequently-bought-inner\">
\t\t\t\t\t<div class=\"frequently-bought-box\">
\t\t\t\t\t\t<h5 class=\"title\">";
// line 166
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Frequently Bought Together"), "html", null, true);
yield "</h5>
\t\t\t\t\t\t";
// line 167
$context['_parent'] = $context;
$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", false, false, false, 167));
foreach ($context['_seq'] as $context["_key"] => $context["bought_with"]) {
// line 168
yield "\t\t\t\t\t\t\t<div class=\"product-box product-box-horizon product-box-small\">
\t\t\t\t\t\t\t\t<figure class=\"slide-img slide-img-";
// line 169
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", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t<img src=\"";
// line 170
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["bought_with"], "attrimage", [], "any", false, false, false, 170), "items", [], "any", false, false, false, 170), 0, [], "array", false, false, false, 170), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["bought_with"], "name", [], "any", false, false, false, 170), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t<div class=\"slide-info\">
\t\t\t\t\t\t\t\t\t<h5 class=\"title\">";
// line 173
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["bought_with"], "name", [], "any", false, false, false, 173), "html", null, true);
yield "</h5>
\t\t\t\t\t\t\t\t\t<div class=\"kg\">";
// line 174
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["bought_with"], "size", [], "any", false, false, false, 174), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t";
// line 175
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["bought_with"], "region", [], "any", false, true, false, 175), 0, [], "array", false, true, false, 175), "price", [], "array", false, true, false, 175), "data", [], "any", true, true, false, 175) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["product"] ?? null), "region", [], "any", false, true, false, 175), 0, [], "array", false, true, false, 175), "currency_symbol", [], "array", false, true, false, 175), "data", [], "any", true, true, false, 175))) {
// line 176
yield "\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["bought_with"], "region", [], "any", false, false, false, 176), 0, [], "array", false, false, false, 176), "price", [], "array", false, false, false, 176), "data", [], "any", false, false, false, 176), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t";
// line 177
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 177, $this->source); })()), "region", [], "any", false, false, false, 177), 0, [], "array", false, false, false, 177), "currency_symbol", [], "array", false, false, false, 177), "data", [], "any", false, false, false, 177)), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"inline-info btn-holder\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 180
$context["points"] = Twig\Extension\CoreExtension::round(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["bought_with"], "region", [], "any", false, false, false, 180), 0, [], "array", false, false, false, 180), "price", [], "array", false, false, false, 180), "data", [], "any", false, false, false, 180) / 100) * 10));
// line 181
yield "\t\t\t\t\t\t\t\t\t\t\t<div class=\"award \" style=\"opacity:0\">
\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 183
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", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 184
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rewards Points"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t";
// line 186
$context["totlaprice"] = (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["bought_with"], "region", [], "any", false, false, false, 186), 0, [], "array", false, false, false, 186), "price", [], "array", false, false, false, 186), "data", [], "any", false, false, false, 186) + CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 186, $this->source); })()), "region", [], "any", false, false, false, 186), 0, [], "array", false, false, false, 186), "price", [], "array", false, false, false, 186), "data", [], "any", false, false, false, 186));
// line 187
yield "\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" onclick=\"addCart(this, ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["bought_with"], "id", [], "any", false, false, false, 187), "html", null, true);
yield ", 1)\" class=\"btn btn-custom btn-primary \">
\t\t\t\t\t\t\t\t\t\t\t\t<span onclick=\"addCart(this, ";
// line 188
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", false, false, false, 188), "html", null, true);
yield ", 1)\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add Both to Cart"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 193
yield "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['bought_with'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 196
yield "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t";
}
// line 199
yield "\t\t\t<!--End Frequently Bought Together-->
\t\t</div>
\t</section>
\t<!--End Product Detail Main-->
\t<!--Start Recipes Using Our Products Section-->
\t<!-- Class Added with-ellipses height-updatedbox-->
\t\t";
// line 207
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["product"] ?? null), "recipes", [], "any", false, true, false, 207), 0, [], "array", true, true, false, 207)) {
// line 208
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\">
\t\t\t\t<h2 class=\"heading\">";
// line 209
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Recipes Using Our Products"), "html", null, true);
yield "</h2>
\t\t\t\t<div class=\"featured-recipes\">
\t\t\t\t\t<div class=\"custom-slider featured-recipes-slider\">
\t\t\t\t\t\t";
// line 212
$context['_parent'] = $context;
$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", false, false, false, 212));
foreach ($context['_seq'] as $context["_key"] => $context["recipe"]) {
// line 213
yield "\t\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 215
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 215), "locale", [], "any", false, false, false, 215), "html", null, true);
yield "/all-recipes/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe"], "url", [], "any", false, false, false, 215), "html", null, true);
yield "\" tabindex=\"0\">
\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
// line 217
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe"], "featured_image", [], "any", false, false, false, 217), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe"], "name", [], "any", false, false, false, 217), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 218
if (CoreExtension::getAttribute($this->env, $this->source, $context["recipe"], "banner_video", [], "any", false, false, false, 218)) {
// line 219
yield "\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 221
yield "\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 224
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 224), "locale", [], "any", false, false, false, 224), "html", null, true);
yield "/all-recipes/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe"], "url", [], "any", false, false, false, 224), "html", null, true);
yield "\" tabindex=\"0\">
\t\t\t\t\t\t\t\t\t\t\t<h3>";
// line 225
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe"], "name", [], "any", false, false, false, 225), "html", null, true);
yield "</h3>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t<p>";
// line 227
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe"], "short_description", [], "any", false, false, false, 227), "html", null, true);
yield "</p>
\t\t\t\t\t\t\t\t\t\t<ul
\t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 232
yield "\t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No. Of"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 233
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Serving"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 234
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe"], "serves", [], "any", false, false, false, 234), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">";
// line 235
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", false, false, false, 235)), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 240
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 240), "locale", [], "any", false, false, false, 240), "html", null, true);
yield "/all-recipes/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["recipe"], "url", [], "any", false, false, false, 240), "html", null, true);
yield "\" class=\"btn btn-custom btn-green\" tabindex=\"0\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("View Recipe"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['recipe'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 245
yield "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t";
}
// line 251
yield "\t<!--End Recipes Using Our Products Section-->
\t<!--Start Product Info Section-->
\t";
// line 255
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", false, false, false, 255)) || !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, // line 256
(isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 256, $this->source); })()), "nutrition", [], "any", false, false, false, 256))) || !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, // line 257
(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", false, false, false, 257))) || !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, // line 258
(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", false, false, false, 258)))) {
// line 260
yield "\t<section class=\"product-infobox\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12 col-md-6 infomation-tabs infomation-tabs-left\">
\t\t\t\t\t<ul class=\"nav nav-tabs\" id=\"myTab\" role=\"tablist\">
\t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
\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\">";
// line 267
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ingredients"), "html", null, true);
yield "</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
\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\">";
// line 270
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nutritional Info"), "html", null, true);
yield "</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t</ul>
\t\t\t\t\t<div class=\"tab-content\" id=\"myTabContent\">
\t\t\t\t\t\t<div class=\"tab-pane fade show active\" id=\"ingredients\" role=\"tabpanel\" aria-labelledby=\"ingredients-tab\">
\t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list\">
\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t";
// line 277
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", false, false, false, 277), "html", null, true);
yield "
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"tab-pane fade\" id=\"nutritional\" role=\"tabpanel\" aria-labelledby=\"nutritional-tab\">
\t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list nutri-list-singal\">
\t\t\t\t\t\t\t\t";
// line 283
$context['_parent'] = $context;
$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", false, false, false, 283));
foreach ($context['_seq'] as $context["_key"] => $context["nutrition"]) {
// line 284
yield "\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["nutrition"], "localizedfields", [], "any", false, true, false, 284), "data", [], "any", false, true, false, 284), "getLocalizedValue", ["nutritions"], "method", true, true, false, 284)) {
// line 285
yield "\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<span>";
// line 286
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["nutrition"], "localizedfields", [], "any", false, false, false, 286), "data", [], "any", false, false, false, 286), "getLocalizedValue", ["nutritions"], "method", false, false, false, 286), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t<span>";
// line 288
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["nutrition"], "localizedfields", [], "any", false, false, false, 288), "data", [], "any", false, false, false, 288), "getLocalizedValue", ["qty"], "method", false, false, false, 288), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t";
}
// line 291
yield "\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['nutrition'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 292
yield "\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-12 col-md-6 infomation-tabs infomation-tabs-right\">
\t\t\t\t\t<ul class=\"nav nav-tabs\" id=\"myTab2\" role=\"tablist\">
\t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
\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\">";
// line 299
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Product Information"), "html", null, true);
yield "</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
\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\">";
// line 302
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Usage Information"), "html", null, true);
yield "</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t</ul>
\t\t\t\t\t<div class=\"tab-content\" id=\"myTabContent2\">
\t\t\t\t\t\t<div class=\"tab-pane fade show active\" id=\"productinfo\" role=\"tabpanel\" aria-labelledby=\"productinfo-tab\">
\t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list nutri-list-singal\">
\t\t\t\t\t\t\t\t";
// line 308
$context['_parent'] = $context;
$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", false, false, false, 308));
foreach ($context['_seq'] as $context["_key"] => $context["pusageinfo"]) {
// line 309
yield "\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t<span>";
// line 310
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["pusageinfo"], "localizedfields", [], "any", false, false, false, 310), "data", [], "any", false, false, false, 310), "getLocalizedValue", ["product_info_name"], "method", false, false, false, 310), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t<span>";
// line 311
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["pusageinfo"], "localizedfields", [], "any", false, false, false, 311), "data", [], "any", false, false, false, 311), "getLocalizedValue", ["product_info_value"], "method", false, false, false, 311), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['pusageinfo'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 314
yield "\t\t\t\t\t\t\t\t";
// line 323
yield "\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"tab-pane fade\" id=\"usageinformation\" role=\"tabpanel\" aria-labelledby=\"usageinformation-tab\">
\t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list nutri-list-singal\">
\t\t\t\t\t\t\t\t";
// line 327
$context['_parent'] = $context;
$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", false, false, false, 327));
foreach ($context['_seq'] as $context["_key"] => $context["pusage"]) {
// line 328
yield "\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t<span>";
// line 329
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["pusage"], "localizedfields", [], "any", false, false, false, 329), "data", [], "any", false, false, false, 329), "getLocalizedValue", ["usage_property"], "method", false, false, false, 329), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t<span>";
// line 331
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["pusage"], "localizedfields", [], "any", false, false, false, 331), "data", [], "any", false, false, false, 331), "getLocalizedValue", ["usage_value"], "method", false, false, false, 331), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['pusage'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 334
yield "\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t";
}
// line 343
yield "\t<!--End Product Info Section-->
\t<!--Start Resources Section-->
\t<section class=\"info-media info-resources product-training info-resources-product-detail\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"info-section\">
\t\t\t\t<h5>";
// line 350
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Training for you"), "html", null, true);
yield "</h5>
\t\t\t\t<h4>";
// line 351
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", false, false, false, 351), "html", null, true);
yield "</h4>
\t\t\t\t";
// line 353
yield "\t\t\t\t<p>";
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", false, false, false, 353), "html", null, true);
yield "</p>
\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t\t<a href=\"/";
// line 356
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 356), "locale", [], "any", false, false, false, 356), "html", null, true);
yield "/professional-training\" class=\"btn btn-custom btn-xl btn-lg-o-wblack\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Start Training Today!"), "html", null, true);
yield "</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"media-section\">
\t\t\t\t<img src=\"";
// line 363
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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); })()), "Videos", [], "any", false, false, false, 363), 0, [], "array", false, false, false, 363), "title_img", [], "any", false, false, false, 363), "data", [], "any", false, false, false, 363), "html", null, true);
yield "\" alt=\"";
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", false, false, false, 363), "html", null, true);
yield "\">
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Resources Section-->
\t<!--Start Featured Section-->
\t";
// line 372
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)) {
// line 373
yield "\t\t<section class=\"featured-section product-similar-products featured-section-product-detail\">
\t\t\t<div class=\"container container-sm\">
\t\t\t\t<h2 class=\"heading\">";
// line 377
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Similar Products"), "html", null, true);
yield "</h2>
\t\t\t\t<div class=\"slide-grid\">
\t\t\t\t\t";
// line 380
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Similar_products"]) {
// line 381
yield "
\t\t\t\t\t\t";
// line 382
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "brands", [], "any", false, false, false, 382), "id", [], "any", false, false, false, 382) == 263)) {
// line 383
yield "\t\t\t\t\t\t\t";
$context["class"] = "slide-img-bg-brown";
// line 384
yield "\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "brands", [], "any", false, false, false, 384), "id", [], "any", false, false, false, 384) == 262)) {
// line 385
yield "\t\t\t\t\t\t\t";
$context["class"] = "slide-img-bg-blue";
// line 386
yield "\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "brands", [], "any", false, false, false, 386), "id", [], "any", false, false, false, 386) == 413)) {
// line 387
yield "\t\t\t\t\t\t\t";
$context["class"] = "lide-img-bg-purple";
// line 388
yield "\t\t\t\t\t\t";
} else {
// line 389
yield "\t\t\t\t\t\t\t";
$context["class"] = "slide-img-bg-green";
// line 390
yield "\t\t\t\t\t\t";
}
// line 391
yield "
\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t<div
\t\t\t\t\t\t\t\tclass=\"slide-holder product-box\">
\t\t\t\t\t\t\t\t";
// line 400
yield "\t\t\t\t\t\t\t\t";
$context["user"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 400), "get", ["loginUserName"], "method", false, false, false, 400);
// line 401
yield "\t\t\t\t\t\t\t\t";
if ( !(null === (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 401, $this->source); })()))) {
// line 402
yield "\t\t\t\t\t\t\t\t\t";
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "id", [], "any", false, false, false, 402), (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); })()))) {
// line 403
yield "\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
\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>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
} else {
// line 407
yield "\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" onclick=\"loyaltyProgram(this ,";
// line 408
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "id", [], "any", false, false, false, 408), "html", null, true);
yield ",'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "name", [], "any", false, false, false, 408), "html", null, true);
yield "',10,'Product','Like')\"><img src=\"/static/assets/images/Group_1271.svg\" alt=\"Like\"></a>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 411
yield "\t\t\t\t\t\t\t\t";
} else {
// line 412
yield "\t\t\t\t\t\t\t\t\t<div class=\"like logged-out\">
\t\t\t\t\t\t\t\t\t\t<a
\t\t\t\t\t\t\t\t\t\t\thref=\"javascript:void(0)\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 416
yield "\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/Group_1271.svg\" alt=\"Like\">
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 420
yield "
\t\t\t\t\t\t\t\t<figure class=\"slide-img ";
// line 421
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", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 422
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 422), "locale", [], "any", false, false, false, 422), "html", null, true);
yield "/product/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "url", [], "any", false, false, false, 422), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t";
// line 423
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "attrimage", [], "any", false, true, false, 423), "items", [], "any", false, true, false, 423), 0, [], "array", true, true, false, 423)) {
// line 424
yield "\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "attrimage", [], "any", false, false, false, 424), "items", [], "any", false, false, false, 424), 0, [], "array", false, false, false, 424), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "name", [], "any", false, false, false, 424), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t";
}
// line 426
yield "\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t<div class=\"slide-info\">
\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 429
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 429), "locale", [], "any", false, false, false, 429), "html", null, true);
yield "/product/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "url", [], "any", false, false, false, 429), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t<h5 class=\"title\">";
// line 430
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "name", [], "any", false, false, false, 430), "html", null, true);
yield "</h5>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<div class=\"kg\">";
// line 432
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "size", [], "any", false, false, false, 432), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t";
// line 433
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "region", [], "any", false, true, false, 433), 0, [], "array", false, true, false, 433), "price", [], "array", false, true, false, 433), "data", [], "any", true, true, false, 433)) {
// line 434
yield "\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "region", [], "any", false, false, false, 434), 0, [], "array", false, false, false, 434), "price", [], "array", false, false, false, 434), "data", [], "any", false, false, false, 434), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t";
// line 435
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "region", [], "any", false, false, false, 435), 0, [], "array", false, false, false, 435), "currency_symbol", [], "array", false, false, false, 435), "data", [], "any", false, false, false, 435)), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t";
// line 437
$context["points"] = Twig\Extension\CoreExtension::round(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "region", [], "any", false, false, false, 437), 0, [], "array", false, false, false, 437), "price", [], "array", false, false, false, 437), "data", [], "any", false, false, false, 437) / 100) * 10));
// line 438
yield "\t\t\t\t\t\t\t\t\t\t<div class=\"award d-none\">
\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
\t\t\t\t\t\t\t\t\t\t\t";
// line 440
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", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t";
// line 441
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rewards Points"), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t";
}
// line 443
yield "\t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" onclick=\"addCart(this, ";
// line 444
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "id", [], "any", false, false, false, 444), "html", null, true);
yield ", 1)\" class=\"btn btn-custom btn-green\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Cart"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t";
// line 446
yield "\t\t\t\t\t\t\t\t\t\t";
if ( !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 446), "get", ["loginUserName"], "method", false, false, false, 446))) {
// line 447
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,";
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", null, true);
yield ",";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["Similar_products"], "id", [], "any", false, false, false, 447), "html", null, true);
yield ")\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Inventory"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t";
} else {
// line 449
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\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Inventory"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t";
}
// line 451
yield "\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"product-detail-inventry-alert mt-2\"></div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['Similar_products'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 457
yield "\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t";
}
// line 463
yield "\t<!--End Featured Section-->
\t<!--Start GFS Loyalty Program-->
\t<section class=\"info-media loyalty-program loyalty-program-product loyalty-program-inner loyalty-program-product-detail\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"info-section\">
\t\t\t\t<h5>";
// line 469
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Loyalty Program"), "html", null, true);
yield "</h5>
\t\t\t\t<h4>";
// line 470
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 470), 0, [], "array", false, false, false, 470), "localizedfields", [], "any", false, false, false, 470), "data", [], "any", false, false, false, 470), "getLocalizedValue", ["heading"], "method", false, false, false, 470), "html", null, true);
yield "</h4>
\t\t\t\t<h3>";
// line 471
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 471), 0, [], "array", false, false, false, 471), "localizedfields", [], "any", false, false, false, 471), "data", [], "any", false, false, false, 471), "getLocalizedValue", ["heading1"], "method", false, false, false, 471), "html", null, true);
yield "</h3>
\t\t\t\t<p>";
// line 472
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 472), 0, [], "array", false, false, false, 472), "localizedfields", [], "any", false, false, false, 472), "data", [], "any", false, false, false, 472), "getLocalizedValue", ["description"], "method", false, false, false, 472), "html", null, true);
yield "</p>
\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t\t<a href=\"/";
// line 477
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 477), "locale", [], "any", false, false, false, 477), "html", null, true);
yield "/loyalty-program\" class=\"btn btn-custom btn-green\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Discover More"), "html", null, true);
yield "</a>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"newsletter-subscribe\">
\t\t\t\t\t\t<h4 class=\"cstmLP\">\"";
// line 480
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Coming Soon"), "html", null, true);
yield "\"</h4>
\t\t\t\t\t</div>
\t\t\t\t\t";
// line 483
if ((null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 483), "get", ["loginUserName"], "method", false, false, false, 483))) {
// line 484
yield "\t\t\t\t\t\t<div class=\"btn-border btn-border-black d-none\">
\t\t\t\t\t\t\t<a href=\"/";
// line 485
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 485), "locale", [], "any", false, false, false, 485), "html", null, true);
yield "/signup\" class=\"btn btn-custom btn-lg-o-black\">Sign-up Now!</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 488
yield "\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"media-section\">
\t\t\t\t<img src=\"";
// line 492
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 492), 0, [], "array", false, false, false, 492), "slider_image", [], "any", false, false, false, 492), "data", [], "any", false, false, false, 492), "html", null, true);
yield "\" alt=\"loyalty banner slide image\">
\t\t\t</div>
\t\t</div>
\t</section>
\t<script type=\"application/ld+json\">
\t\t{
\t\t\t\t\t\t\t\t\t\"@context\": \"https://schema.org/\",
\t\t\t\t\t\t\t\t\t\"@type\": \"Product\",
\t\t\t\t\t\t\t\t\t\"name\": \"";
// line 501
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", false, false, false, 501), "html", null, true);
yield "\",
\t\t\t\t\t\t\t\t\t\"image\": \"";
// line 502
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 502), "getSchemeAndHttpHost", [], "method", false, false, false, 502) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 502, $this->source); })()), "attrimage", [], "any", false, false, false, 502), "Items", [], "any", false, false, false, 502), 0, [], "array", false, false, false, 502), "image", [], "any", false, false, false, 502), "path", [], "any", false, false, false, 502)) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 502, $this->source); })()), "attrimage", [], "any", false, false, false, 502), "Items", [], "any", false, false, false, 502), 0, [], "array", false, false, false, 502), "image", [], "any", false, false, false, 502), "filename", [], "any", false, false, false, 502)), "html", null, true);
yield "\",
\t\t\t\t\t\t\t\t\t\"description\": \"";
// line 503
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", false, false, false, 503), "html", null, true);
yield "\",
\t\t\t\t\t\t\t\t\t\"brand\": {
\t\t\t\t\t\t\t\t\t\t\"@type\": \"Brand\",
\t\t\t\t\t\t\t\t\t\t\"name\": \"";
// line 506
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 506, $this->source); })()), "brands", [], "any", false, false, false, 506), "name", [], "any", false, false, false, 506), "html", null, true);
yield "\"
\t\t\t\t\t\t\t\t\t},
\t\t\t\t\t\t\t\t\t\"sku\": \"";
// line 508
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", false, false, false, 508), "html", null, true);
yield "\",
\t\t\t\t\t\t\t\t\t\t\"aggregateRating\": {
\t\t\t\t\t\t\t\t\t\t\t\"@type\": \"AggregateRating\",
\t\t\t\t\t\t\t\t\t\t\t\"ratingValue\": \"5\",
\t\t\t\t\t\t\t\t\t\t\t\"bestRating\": \"5\",
\t\t\t\t\t\t\t\t\t\t\t\"worstRating\": \"1\",
\t\t\t\t\t\t\t\t\t\t\t\"ratingCount\": \"2\"
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t}
\t\t\t\t\t\t\t\t\t}
\t</script>
\t<!--End GFS Loyalty Program-->
\t<!--Start Footer-->
\t";
// line 523
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 523), "locale", [], "any", false, false, false, 523) == "ar")) {
// line 524
yield "\t\t";
$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", false, false, false, 524));
// line 525
yield "\t";
} else {
// line 526
yield "\t\t";
$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", false, false, false, 526));
// line 527
yield "\t";
}
// line 528
yield "\t<script>
\t\tvar _TopMenuLink = \"";
// line 529
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", null, true);
yield "\";
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 533
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 534
yield "\t";
yield from $this->loadTemplate("includes/footer.html.twig", "Products/product.html.twig", 534)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "Products/product.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"layout/layout.html.twig\" %}
{% block title %}
\t{{ product.name }}
{% endblock %}
{% block content %}
\t{% if product.brands.id == 263 %}
\t\t{% set class = \"media-bg-brown\" %}
\t{% elseif product.brands.id == 262 %}
\t\t{% set class = \"media-bg-blue\" %}
\t{% elseif product.brands.id == 413 %}
\t\t{% set class = \"media-bg-purple\" %}
\t{% else %}
\t\t{% set class = \"media-bg-green\" %}
\t{% endif %}
\t<!--Start Product Detail Main-->
\t<section class=\"info-media media-bg-right product-detail-main product-detail-revised {{class}}\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\" product-detail-holder\">
\t\t\t\t<div
\t\t\t\t\tclass=\"info-section\">
\t\t\t\t\t<!--Start Breadcrumbs-->
\t\t\t\t\t{% if product.brands.id == 263 %}
\t\t\t\t\t\t{% set class = \"breadcrumb-dbrown\" %}
\t\t\t\t\t{% elseif product.brands.id == 262 %}
\t\t\t\t\t\t{% set class = \"breadcrumb-blue\" %}
\t\t\t\t\t{% elseif product.brands.id == 413 %}
\t\t\t\t\t\t{% set class = \"breadcrumb-purple\" %}
\t\t\t\t\t{% else %}
\t\t\t\t\t\t{% set class = \"breadcrumb-dgreen\" %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t<div class=\"breadcrumb-holder {{class}} breadcrumb-fixed\">
\t\t\t\t\t\t<ol class=\"breadcrumb\">
\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}\">{{'Home'|trans}}</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/products/\">{{'Products'|trans}}</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t{# {% if product.brands is defined %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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 %} #}
\t\t\t\t\t\t\t{% if product.categories is defined %}
\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/products/{{product.categories[0].url}}\">{{product.categories[0].name}}</a>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">{{product.name}}</li>
\t\t\t\t\t\t</ol>
\t\t\t\t\t</div>
\t\t\t\t\t<!--End Breadcrumbs-->
\t\t\t\t\t<h1 class=\"product-name\">{{ product.name }}</h1>
\t\t\t\t\t<h6 class=\"product-code\">{{'Product Code'|trans}}:
\t\t\t\t\t\t{{ product.code }}</h6>
\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
\t\t\t\t\t{% if user is not null %}
\t\t\t\t\t\t<ul class=\"list-unstyled recipe-info social-info recipe-info social-info-small\">
\t\t\t\t\t\t\t{% if Liked|length > 0 %}
\t\t\t\t\t\t\t\t<li class=\"liked\">{{'Like'|trans}}</li>
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<li class=\"like\" onclick=\"loyaltyProgram(this, {{ product.id }},'{{ product.name }}',10,'Product','Like')\">{{'Like'|trans}}</li>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<li class=\"share\" onclick=\"loyaltyProgram(this, {{ product.id }},'{{ product.name }}',10,'Product','Share')\">
\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>
\t\t\t\t\t\t\t</li>
\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>
\t\t\t\t\t\t</ul>
\t\t\t\t\t{% else %}
\t\t\t\t\t\t<ul class=\"list-unstyled social-info recipe-info\">
\t\t\t\t\t\t\t<li class=\"like logged-out\">{{'Like'|trans}}</li>
\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>
\t\t\t\t\t\t\t<li class=\"download d-none\">{{'Download'|trans}}</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t{% endif %}
\t\t\t\t\t<p>{{ product.description }}</p>
\t\t\t\t\t<div class=\"inline-info enjoy-with\">
\t\t\t\t\t\t<h5 class=\"title\">{{'Enjoy with'|trans}}:</h5>
\t\t\t\t\t\t<span class=\"text\">{{'Cooking'|trans}}</span>
\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/recipes\" class=\"link d-none\">{{'View Recipes'|trans}}</a>
\t\t\t\t\t</div>
\t\t\t\t\t{% if product.size is defined %}
\t\t\t\t\t\t<div class=\"inline-info available-in\">
\t\t\t\t\t\t\t<h5 class=\"title\">{{'Available in'|trans}}:</h5>
\t\t\t\t\t\t\t<ul class=\"list-unstyled portion-list\">
\t\t\t\t\t\t\t\t{% for variant in variants|sort %}
\t\t\t\t\t\t\t\t\t<li class=\"{{ (variant.id == product.id) ? 'selected' : '' }}\">
\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/product/{{ variant.url }}\">{{ variant.size }}</a>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t\t<div class=\"inline-info price-info\">
\t\t\t\t\t\t{% if product.region[0]['price'].data is defined %}
\t\t\t\t\t\t\t<div class=\"price d-none\">{{ product.region[0]['price'].data }}
\t\t\t\t\t\t\t\t{{product.region[0]['currency_symbol'].data|trans}}</div>
\t\t\t\t\t\t\t{% set points = (((product.region[0]['price'].data)/100)*10)|round %}
\t\t\t\t\t\t\t<div class=\"award d-none\">
\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
\t\t\t\t\t\t\t\t{{points}}
\t\t\t\t\t\t\t\t{{'Rewards Points'|trans}}</div>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"btn-holder\">
\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>
\t\t\t\t\t\t{% if app.session.get('loginUserName') is not null %}
\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>
\t\t\t\t\t\t{% else %}
\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>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"btn-lg-holder invisible\">
\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-lg-white\">
\t\t\t\t\t\t\t<i><img src=\"/static/assets/images/inventory-manager.svg\" alt=\"inventory manager\"></i>TRY Inventory Manager
\t\t\t\t\t\t</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"media-section\">
\t\t\t\t\t<div class=\"custom-slider singal-slider product-detail-slider\">
\t\t\t\t\t\t{% if product.attrimage.items is defined %}
\t\t\t\t\t\t\t{% for image_item in 0..product.attrimage.items|length - 1 %}
\t\t\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t\t\t{% if product.attrimage.items[image_item] is defined %}
\t\t\t\t\t\t\t\t\t\t<img src=\"{{ product.attrimage.items[image_item] }}\" alt=\"{{product.name}}\">
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</div>
\t\t\t\t\t{% if product.brands.image is defined %}
\t\t\t\t\t\t<div class=\"brand-logo\">
\t\t\t\t\t\t\t<img src=\"{{ product.brands.image }}\" alt=\"Product-Brand-Logo\">
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<!--Start Frequently Bought Together-->
\t\t\t{% if product.bought_with[0] is defined %}
\t\t\t\t{% if product.bought_with[0].brands.id == 263 %}
\t\t\t\t\t{% set class = \"bg-dbrown\" %}
\t\t\t\t{% elseif product.bought_with[0].brands.id == 262 %}
\t\t\t\t\t{% set class = \"bg-blue\" %}
\t\t\t\t{% elseif product.bought_with[0].brands.id == 413 %}
\t\t\t\t\t{% set class = \"bg-purple\" %}
\t\t\t\t{% else %}
\t\t\t\t\t{% set class = \"bg-dgreen\" %}
\t\t\t\t{% endif %}
\t\t\t\t<div class=\"frequently-bought frequently-bought-inner\">
\t\t\t\t\t<div class=\"frequently-bought-box\">
\t\t\t\t\t\t<h5 class=\"title\">{{'Frequently Bought Together'|trans}}</h5>
\t\t\t\t\t\t{% for bought_with in product.bought_with %}
\t\t\t\t\t\t\t<div class=\"product-box product-box-horizon product-box-small\">
\t\t\t\t\t\t\t\t<figure class=\"slide-img slide-img-{{class}}\">
\t\t\t\t\t\t\t\t\t<img src=\"{{bought_with.attrimage.items[0]}}\" alt=\"{{bought_with.name}}\">
\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t<div class=\"slide-info\">
\t\t\t\t\t\t\t\t\t<h5 class=\"title\">{{ bought_with.name }}</h5>
\t\t\t\t\t\t\t\t\t<div class=\"kg\">{{ bought_with.size }}</div>
\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 %}
\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">{{ bought_with.region[0]['price'].data }}
\t\t\t\t\t\t\t\t\t\t\t{{product.region[0]['currency_symbol'].data|trans}}</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"inline-info btn-holder\">
\t\t\t\t\t\t\t\t\t\t\t{% set points = (((bought_with.region[0]['price'].data)/100)*10)|round %}
\t\t\t\t\t\t\t\t\t\t\t<div class=\"award \" style=\"opacity:0\">
\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
\t\t\t\t\t\t\t\t\t\t\t\t{{points}}
\t\t\t\t\t\t\t\t\t\t\t\t{{'Rewards Points'|trans}}
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t{% set totlaprice = bought_with.region[0]['price'].data + product.region[0]['price'].data %}
\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 \">
\t\t\t\t\t\t\t\t\t\t\t\t<span onclick=\"addCart(this, {{product.id}}, 1)\">{{'Add Both to Cart'|trans}}
\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t<!--End Frequently Bought Together-->
\t\t</div>
\t</section>
\t<!--End Product Detail Main-->
\t<!--Start Recipes Using Our Products Section-->
\t<!-- Class Added with-ellipses height-updatedbox-->
\t\t{% if product.recipes[0] is defined %}
\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\">
\t\t\t\t<h2 class=\"heading\">{{'Recipes Using Our Products'|trans}}</h2>
\t\t\t\t<div class=\"featured-recipes\">
\t\t\t\t\t<div class=\"custom-slider featured-recipes-slider\">
\t\t\t\t\t\t{% for recipe in product.recipes %}
\t\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{ recipe.url }}\" tabindex=\"0\">
\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ recipe.featured_image}}\" alt=\"{{ recipe.name}}\">
\t\t\t\t\t\t\t\t\t\t\t{% if recipe.banner_video %}
\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{ recipe.url }}\" tabindex=\"0\">
\t\t\t\t\t\t\t\t\t\t\t<h3>{{ recipe.name }}</h3>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t<p>{{ recipe.short_description }}</p>
\t\t\t\t\t\t\t\t\t\t<ul
\t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t\t{# <li class=\"mins\">{{ recipe.time}} {{\"mins\"|trans }}</li> #}
\t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">{{'No. Of'|trans}}
\t\t\t\t\t\t\t\t\t\t\t\t{{'Serving'|trans}}
\t\t\t\t\t\t\t\t\t\t\t\t{{ recipe.serves}}</li>
\t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">{{ recipe.typeofmeal|trans }}</li>
\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
\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>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t{% endif %}
\t<!--End Recipes Using Our Products Section-->
\t<!--Start Product Info Section-->
\t{% if product.ingredients is not empty
or product.nutrition is not empty
or product.product_info is not empty
or product.usage_info is not empty
\t%}
\t<section class=\"product-infobox\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12 col-md-6 infomation-tabs infomation-tabs-left\">
\t\t\t\t\t<ul class=\"nav nav-tabs\" id=\"myTab\" role=\"tablist\">
\t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
\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>
\t\t\t\t\t\t</li>
\t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
\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>
\t\t\t\t\t\t</li>
\t\t\t\t\t</ul>
\t\t\t\t\t<div class=\"tab-content\" id=\"myTabContent\">
\t\t\t\t\t\t<div class=\"tab-pane fade show active\" id=\"ingredients\" role=\"tabpanel\" aria-labelledby=\"ingredients-tab\">
\t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list\">
\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t{{product.ingredients}}
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"tab-pane fade\" id=\"nutritional\" role=\"tabpanel\" aria-labelledby=\"nutritional-tab\">
\t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list nutri-list-singal\">
\t\t\t\t\t\t\t\t{% for nutrition in product.nutrition %}
\t\t\t\t\t\t\t\t\t{% if nutrition.localizedfields.data.getLocalizedValue('nutritions') is defined %}
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<span>{{ nutrition.localizedfields.data.getLocalizedValue('nutritions')}}
\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t<span>{{ nutrition.localizedfields.data.getLocalizedValue('qty') }}</span>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-12 col-md-6 infomation-tabs infomation-tabs-right\">
\t\t\t\t\t<ul class=\"nav nav-tabs\" id=\"myTab2\" role=\"tablist\">
\t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
\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>
\t\t\t\t\t\t</li>
\t\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">
\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>
\t\t\t\t\t\t</li>
\t\t\t\t\t</ul>
\t\t\t\t\t<div class=\"tab-content\" id=\"myTabContent2\">
\t\t\t\t\t\t<div class=\"tab-pane fade show active\" id=\"productinfo\" role=\"tabpanel\" aria-labelledby=\"productinfo-tab\">
\t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list nutri-list-singal\">
\t\t\t\t\t\t\t\t{% for pusageinfo in product.product_info %}
\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t<span>{{ pusageinfo.localizedfields.data.getLocalizedValue('product_info_name')}}</span>
\t\t\t\t\t\t\t\t\t\t<span>{{ pusageinfo.localizedfields.data.getLocalizedValue('product_info_value')}}</span>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t{# <li><span>Brand</span><span>{{product.brands.name}}</span></li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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 }}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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> #}
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"tab-pane fade\" id=\"usageinformation\" role=\"tabpanel\" aria-labelledby=\"usageinformation-tab\">
\t\t\t\t\t\t\t<ul class=\"list-unstyled nutri-list nutri-list-singal\">
\t\t\t\t\t\t\t\t{% for pusage in product.usage_info %}
\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t<span>{{ pusage.localizedfields.data.getLocalizedValue('usage_property')}}
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t<span>{{ pusage.localizedfields.data.getLocalizedValue('usage_value') }}</span>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t{% endif %}
\t<!--End Product Info Section-->
\t<!--Start Resources Section-->
\t<section class=\"info-media info-resources product-training info-resources-product-detail\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"info-section\">
\t\t\t\t<h5>{{'Training for you'|trans}}</h5>
\t\t\t\t<h4>{{training.videoName}}</h4>
\t\t\t\t{# <h3>and kitchen safety</h3> #}
\t\t\t\t<p>{{training.details}}</p>
\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t<div class=\"btn-border\">
\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>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"media-section\">
\t\t\t\t<img src=\"{{training.Videos[0].title_img.data}}\" alt=\"{{training.videoName}}\">
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Resources Section-->
\t<!--Start Featured Section-->
\t{% if similar_products|length > 0 %}
\t\t<section class=\"featured-section product-similar-products featured-section-product-detail\">
\t\t\t<div class=\"container container-sm\">
\t\t\t\t<h2 class=\"heading\">{{'Similar Products'|trans}}</h2>
\t\t\t\t<div class=\"slide-grid\">
\t\t\t\t\t{% for Similar_products in similar_products %}
\t\t\t\t\t\t{% if Similar_products.brands.id == 263 %}
\t\t\t\t\t\t\t{% set class = \"slide-img-bg-brown\" %}
\t\t\t\t\t\t{% elseif Similar_products.brands.id == 262 %}
\t\t\t\t\t\t\t{% set class = \"slide-img-bg-blue\" %}
\t\t\t\t\t\t{% elseif Similar_products.brands.id == 413 %}
\t\t\t\t\t\t\t{% set class = \"lide-img-bg-purple\" %}
\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t{% set class = \"slide-img-bg-green\" %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t\t<div
\t\t\t\t\t\t\t\tclass=\"slide-holder product-box\">
\t\t\t\t\t\t\t\t{# <div class=\"like\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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=\"\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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> #}
\t\t\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
\t\t\t\t\t\t\t\t{% if user is not null %}
\t\t\t\t\t\t\t\t\t{% if Similar_products.id in Liked_simialr_products_ids %}
\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
\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>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
\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>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t<div class=\"like logged-out\">
\t\t\t\t\t\t\t\t\t\t<a
\t\t\t\t\t\t\t\t\t\t\thref=\"javascript:void(0)\">
\t\t\t\t\t\t\t\t\t\t\t{# <img src=\"/static/assets/images/like.svg\" alt=\"\"> #}
\t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/Group_1271.svg\" alt=\"Like\">
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t<figure class=\"slide-img {{class}}\">
\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/product/{{ Similar_products.url }}\">
\t\t\t\t\t\t\t\t\t\t{% if Similar_products.attrimage.items[0] is defined %}
\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ Similar_products.attrimage.items[0] }}\" alt=\"{{ Similar_products.name }}\">
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t<div class=\"slide-info\">
\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/product/{{ Similar_products.url }}\">
\t\t\t\t\t\t\t\t\t\t<h5 class=\"title\">{{ Similar_products.name }}</h5>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<div class=\"kg\">{{ Similar_products.size }}</div>
\t\t\t\t\t\t\t\t\t{% if Similar_products.region[0]['price'].data is defined %}
\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">{{ Similar_products.region[0]['price'].data }}
\t\t\t\t\t\t\t\t\t\t\t{{ Similar_products.region[0]['currency_symbol'].data|trans}}</div>
\t\t\t\t\t\t\t\t\t\t{% set points = (((Similar_products.region[0]['price'].data)/100)*10)|round %}
\t\t\t\t\t\t\t\t\t\t<div class=\"award d-none\">
\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
\t\t\t\t\t\t\t\t\t\t\t{{points}}
\t\t\t\t\t\t\t\t\t\t\t{{'Rewards Points'|trans}}</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
\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>
\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> #}
\t\t\t\t\t\t\t\t\t\t{% if app.session.get('loginUserName') is not null %}
\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>
\t\t\t\t\t\t\t\t\t\t{% else %}
\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>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"product-detail-inventry-alert mt-2\"></div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t{% endif %}
\t<!--End Featured Section-->
\t<!--Start GFS Loyalty Program-->
\t<section class=\"info-media loyalty-program loyalty-program-product loyalty-program-inner loyalty-program-product-detail\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"info-section\">
\t\t\t\t<h5>{{'Loyalty Program'|trans}}</h5>
\t\t\t\t<h4>{{ loyaltybanner.sliders[0].localizedfields.data.getLocalizedValue('heading')}}</h4>
\t\t\t\t<h3>{{ loyaltybanner.sliders[0].localizedfields.data.getLocalizedValue('heading1')}}</h3>
\t\t\t\t<p>{{ loyaltybanner.sliders[0].localizedfields.data.getLocalizedValue('description')}}</p>
\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/loyalty-program\" class=\"btn btn-custom btn-green\">{{'Discover More'|trans}}</a>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"newsletter-subscribe\">
\t\t\t\t\t\t<h4 class=\"cstmLP\">\"{{'Coming Soon'|trans}}\"</h4>
\t\t\t\t\t</div>
\t\t\t\t\t{% if app.session.get('loginUserName') is null %}
\t\t\t\t\t\t<div class=\"btn-border btn-border-black d-none\">
\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>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"media-section\">
\t\t\t\t<img src=\"{{ loyaltybanner.sliders[0].slider_image.data}}\" alt=\"loyalty banner slide image\">
\t\t\t</div>
\t\t</div>
\t</section>
\t<script type=\"application/ld+json\">
\t\t{
\t\t\t\t\t\t\t\t\t\"@context\": \"https://schema.org/\",
\t\t\t\t\t\t\t\t\t\"@type\": \"Product\",
\t\t\t\t\t\t\t\t\t\"name\": \"{{product.name}}\",
\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}}\",
\t\t\t\t\t\t\t\t\t\"description\": \"{{product.description}}\",
\t\t\t\t\t\t\t\t\t\"brand\": {
\t\t\t\t\t\t\t\t\t\t\"@type\": \"Brand\",
\t\t\t\t\t\t\t\t\t\t\"name\": \"{{product.brands.name}}\"
\t\t\t\t\t\t\t\t\t},
\t\t\t\t\t\t\t\t\t\"sku\": \"{{product.code}}\",
\t\t\t\t\t\t\t\t\t\t\"aggregateRating\": {
\t\t\t\t\t\t\t\t\t\t\t\"@type\": \"AggregateRating\",
\t\t\t\t\t\t\t\t\t\t\t\"ratingValue\": \"5\",
\t\t\t\t\t\t\t\t\t\t\t\"bestRating\": \"5\",
\t\t\t\t\t\t\t\t\t\t\t\"worstRating\": \"1\",
\t\t\t\t\t\t\t\t\t\t\t\"ratingCount\": \"2\"
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t}
\t\t\t\t\t\t\t\t\t}
\t</script>
\t<!--End GFS Loyalty Program-->
\t<!--Start Footer-->
\t{% if (app.request.locale =='ar') %}
\t\t{% set topMenu =\"/en/product/\" ~ product.url('en') %}
\t{% else %}
\t\t{% set topMenu =\"/ar/product/\" ~ product.url('ar') %}
\t{% endif %}
\t<script>
\t\tvar _TopMenuLink = \"{{ topMenu }}\";
\t</script>
{% endblock %}
{% block footer %}
\t{% include \"includes/footer.html.twig\" %}
{% endblock %}
", "Products/product.html.twig", "/var/www/vhosts/centric.ae/gcs.centric.ae/templates/Products/product.html.twig");
}
}