<?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;
/* @FactorySupport/product/show.html.twig */
class __TwigTemplate_84822e5dbe6c01c757dbe9a3799293f9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'headScript' => [$this, 'block_headScript'],
'metaTags' => [$this, 'block_metaTags'],
'contentBlock' => [$this, 'block_contentBlock'],
'afterScripts' => [$this, 'block_afterScripts'],
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "layout/default.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FactorySupport/product/show.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FactorySupport/product/show.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FactorySupport/product/show.html.twig"));
$this->parent = $this->loadTemplate("layout/default.html.twig", "@FactorySupport/product/show.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_headScript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headScript"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headScript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headScript"));
// line 4
yield "<!--Should be included only in product templates-->
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
// line 7
public function block_metaTags($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaTags"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaTags"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaTags"));
// line 8
yield " <title>";
((array_key_exists("product", $context)) ? (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.', 8, $this->source); })()), "metaTitle", [], "any", false, false, true, 8), "html", null, true)) : (yield ""));
yield "</title>
<meta name=\"description\" content=\"";
// line 9
((array_key_exists("product", $context)) ? (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.', 9, $this->source); })()), "metaDescription", [], "any", false, false, true, 9), "html", null, true)) : (yield ""));
yield "\"></meta>
<meta name=\"keywords\" content=\"";
// line 10
((array_key_exists("product", $context)) ? (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.', 10, $this->source); })()), "metaKeywords", [], "any", false, false, true, 10), "html", null, true)) : (yield ""));
yield "\"></meta>
<meta property=\"og:url\" content=\"";
// line 12
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(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.', 12, $this->source); })()), "request", [], "any", false, false, true, 12), "uri", [], "any", false, false, true, 12), 12, $this->source), "html", null, true);
yield "\" />
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:title\" content=\"";
// line 14
((array_key_exists("product", $context)) ? (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.', 14, $this->source); })()), "ogTitle", [], "any", false, false, true, 14), "html", null, true)) : (yield ""));
yield "\" />
<meta property=\"og:description\" content=\"";
// line 15
((array_key_exists("product", $context)) ? (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.', 15, $this->source); })()), "ogDescription", [], "any", false, false, true, 15), "html", null, true)) : (yield ""));
yield "\" />
<meta property=\"og:image\" content=\"";
// line 16
(((array_key_exists("product", $context) && 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.', 16, $this->source); })()), "ogImage", [], "any", false, false, true, 16))) ? (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.', 16, $this->source); })()), "ogImage", [], "any", false, false, true, 16), "html", null, true)) : (yield ""));
yield "\" />
<meta name=\"twitter:card\" content=\"summary\" />
<meta name=\"twitter:site\" content=\"";
// line 19
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(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.', 19, $this->source); })()), "request", [], "any", false, false, true, 19), "uri", [], "any", false, false, true, 19), 19, $this->source), "html", null, true);
yield "\" />
<meta name=\"twitter:title\" content=\"";
// line 20
((array_key_exists("product", $context)) ? (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.', 20, $this->source); })()), "ogTitle", [], "any", false, false, true, 20), "html", null, true)) : (yield ""));
yield "\" />
<meta name=\"twitter:description\" content=\"";
// line 21
((array_key_exists("product", $context)) ? (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.', 21, $this->source); })()), "ogDescription", [], "any", false, false, true, 21), "html", null, true)) : (yield ""));
yield "\" />
<meta name=\"twitter:image\" content=\"";
// line 22
(((array_key_exists("product", $context) && 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.', 22, $this->source); })()), "ogImage", [], "any", false, false, true, 22))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl(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.', 22, $this->source); })()), "ogImage", [], "any", false, false, true, 22)), "html", null, true)) : (yield ""));
yield "\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
// line 25
public function block_contentBlock($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentBlock"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentBlock"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentBlock"));
// line 26
$context["anyMaze"] = CoreExtension::inFilter("any-maze", Twig\Extension\CoreExtension::lower($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(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.', 26, $this->source); })()), "name", [], "any", false, false, true, 26), 26, $this->source)));
// line 27
yield "
<main class=\"productPage mt-5 mt-lg-5 mt-md-5\">
";
// line 29
yield from $this->loadTemplate("Components/info-message.html.twig", "@FactorySupport/product/show.html.twig", 29)->unwrap()->yield(CoreExtension::merge($context, ["message" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("alert.no.quantity"), "show" => false, "color" => "text-ice", "icon" => "info.svg"]));
// line 30
yield " <div class=\"container mt-3 mt-lg-3 mt-md-3 mb-5 mb-lg-5 mb-md-5\">
<div class=\"row\">
<!-- * Desktop version-->
<div class=\"product-breadcrumb-heading d-none d-md-block col-lg-12 border-2 border-bottom border-indigo custom-bradcrumb-padding-product\" style=\"margin-top: -4px;\">
<div class=\"d-flex align-items-center flex-wrap\">
<h2 class=\"font-weight-bold mb-0\" style=\"max-width: 60%;\">";
// line 35
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(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.', 35, $this->source); })()), "name", [], "any", false, false, true, 35), 35, $this->source), "html", null, true);
yield "</h2>
<div class=\"d-flex ml-auto breadcrumb-links\">
<small class=\"font-weight-bold text-uppercase mb-0\">
<div class=\"d-flex align-items-center flex-wrap\">
<a href=\"";
// line 39
((CoreExtension::getAttribute($this->env, $this->source, ($context["breadcrumbs"] ?? null), "parentCategory", [], "any", true, true, true, 39)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 39, $this->source); })()), "parentCategory", [], "any", false, false, true, 39), "href", [], "any", false, false, true, 39), "html", null, true)) : (yield ""));
yield "\" class=\"font-weight-bold\">
<span class=\"\">";
// line 40
if (CoreExtension::getAttribute($this->env, $this->source, ($context["breadcrumbs"] ?? null), "parentCategory", [], "any", true, true, true, 40)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 40, $this->source); })()), "parentCategory", [], "any", false, false, true, 40), "name", [], "any", false, false, true, 40), 40, $this->source), "html", null, true);
}
yield "</span>
</a>
<svg class=\"mx-2 mx-lg-2 mx-md-2\" width=\"11\" height=\"16\" viewBox=\"0 0 11 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<line y1=\"-1\" x2=\"11.7434\" y2=\"-1\" transform=\"matrix(-0.733639 0.679539 0.733639 0.679539 10.6155 8.02002)\" stroke=\"#405CCA\" stroke-width=\"2\"/>
<line y1=\"-1\" x2=\"11.7434\" y2=\"-1\" transform=\"matrix(-0.733639 -0.679539 0.733639 -0.679539 10.6155 7.98004)\" stroke=\"#405CCA\" stroke-width=\"2\"/>
</svg>
<a href=\"";
// line 48
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 48, $this->source); })()), "category", [], "any", false, false, true, 48), "href", [], "any", false, false, true, 48), 48, $this->source), "html", null, true);
yield "\" class=\"font-weight-bold\">
<span class=\"text-navyBlue\">";
// line 49
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 49, $this->source); })()), "category", [], "any", false, false, true, 49), "name", [], "any", false, false, true, 49), 49, $this->source), "html", null, true);
yield "</span>
</a>
</div>
</small>
</div>
</div>
</div>
<!-- * Mobile version-->
<div class=\"d-block d-md-none col-lg-12 pb-3 pb-lg-3 pb-md-3\">
<div class=\"d-flex align-items-center flex-wrap\">
<div class=\"d-flex breadcrumb-links\">
<small class=\"font-weight-bold text-uppercase\">
<div class=\"d-flex align-items-center flex-wrap\">
<a href=\"";
// line 62
((CoreExtension::getAttribute($this->env, $this->source, ($context["breadcrumbs"] ?? null), "parentCategory", [], "any", true, true, true, 62)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 62, $this->source); })()), "parentCategory", [], "any", false, false, true, 62), "href", [], "any", false, false, true, 62), "html", null, true)) : (yield ""));
yield "\" class=\"font-weight-bold\">
<span class=\"\">";
// line 63
if (CoreExtension::getAttribute($this->env, $this->source, ($context["breadcrumbs"] ?? null), "parentCategory", [], "any", true, true, true, 63)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 63, $this->source); })()), "parentCategory", [], "any", false, false, true, 63), "name", [], "any", false, false, true, 63), 63, $this->source), "html", null, true);
}
yield "</span>
</a>
<svg class=\"mx-2 mx-lg-2 mx-md-2\" width=\"11\" height=\"16\" viewBox=\"0 0 11 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<line y1=\"-1\" x2=\"11.7434\" y2=\"-1\" transform=\"matrix(-0.733639 0.679539 0.733639 0.679539 10.6155 8.02002)\" stroke=\"#405CCA\" stroke-width=\"2\"/>
<line y1=\"-1\" x2=\"11.7434\" y2=\"-1\" transform=\"matrix(-0.733639 -0.679539 0.733639 -0.679539 10.6155 7.98004)\" stroke=\"#405CCA\" stroke-width=\"2\"/>
</svg>
<a href=\"";
// line 71
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 71, $this->source); })()), "category", [], "any", false, false, true, 71), "href", [], "any", false, false, true, 71), 71, $this->source), "html", null, true);
yield "\" class=\"font-weight-bold\">
<span class=\"text-navyBlue\">";
// line 72
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 72, $this->source); })()), "category", [], "any", false, false, true, 72), "name", [], "any", false, false, true, 72), 72, $this->source), "html", null, true);
yield "</span>
</a>
</div>
</small>
</div>
</div>
</div>
</div>
<!--*PRODUCT GALLERY AND DATA-->
<div class=\"row mt-4 mt-lg-4 mt-md-4\">
<div class=\"col-xl-5 offset-xl-1 col-lg-6\">
<div class=\"d-flex justify-content-md-center flex-sm-column flex-md-row main-gallery main-gallery-initial\">
<div class=\"d-none d-md-block product-images-scroll order-sm-2 order-md-1\">
<button class=\"product-images-scroll-btn product-images-scroll-btn--up d-none\">
</button>
<div class=\"d-flex flex-sm-row flex-md-column product-images-scroll-inside product-images-scroll-inside--desktop\">
";
// line 91
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["variants"]) || array_key_exists("variants", $context) ? $context["variants"] : (function () { throw new RuntimeError('Variable "variants" does not exist.', 91, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["index"] => $context["variantsImage"]) {
// line 92
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 92) != null)) {
// line 93
yield " <div data-product-gallery-index=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 93), 93, $this->source), "html", null, true);
yield "\"
data-product-sku=\"";
// line 94
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "sku", [], "any", false, false, true, 94), 94, $this->source), "html", null, true);
yield "\"
href=\"";
// line 95
(((CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 95) != null)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 95), "getThumbnail", ["Stoelting_gallery_small"], "method", false, false, true, 95), "html", null, true)) : (yield ""));
yield "\"
class=\"product-small-image mb-2 mb-lg-2 mb-md-2\">
<img src=\"";
// line 97
(((CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 97) != null)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 97), "getThumbnail", ["Stoelting_gallery_small"], "method", false, false, true, 97), "html", null, true)) : (yield ""));
yield "\"
alt=\"Product small image\" class=\"img-fluid\">
</div>
";
}
// line 101
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['index'], $context['variantsImage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 102
yield " </div>
<button class=\"product-images-scroll-btn product-images-scroll-btn--down d-none\">
</button>
</div>
<!-- * Mobile -->
<div class=\"product-images-scroll--mobile-wrapper d-block d-md-none order-sm-2 order-md-1 position-relative\">
<button class=\"product-images-scroll-btn product-images-scroll-btn--up d-none\">
</button>
<div class=\"product-images-scroll product-images-scroll--mobile\">
<div class=\"d-flex flex-sm-row flex-md-column product-images-scroll-inside product-images-scroll-inside--mobile\">
";
// line 114
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["variants"]) || array_key_exists("variants", $context) ? $context["variants"] : (function () { throw new RuntimeError('Variable "variants" does not exist.', 114, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["index"] => $context["variantsImage"]) {
// line 115
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 115) != null)) {
// line 116
yield " <div data-product-gallery-index=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 116), 116, $this->source), "html", null, true);
yield "\"
data-product-sku=\"";
// line 117
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "sku", [], "any", false, false, true, 117), 117, $this->source), "html", null, true);
yield "\"
href=\"";
// line 118
(((CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 118) != null)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 118), "getThumbnail", ["Stoelting_gallery_small"], "method", false, false, true, 118), "html", null, true)) : (yield ""));
yield "\"
class=\"product-small-image mb-2 mb-lg-2 mb-md-2\">
<img src=\"";
// line 120
(((CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 120) != null)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 120), "getThumbnail", ["Stoelting_gallery_small"], "method", false, false, true, 120), "html", null, true)) : (yield ""));
yield "\"
alt=\"Product small image\" class=\"img-fluid\">
</div>
";
}
// line 124
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['index'], $context['variantsImage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 125
yield " </div>
</div>
<button class=\"product-images-scroll-btn product-images-scroll-btn--down d-none\">
</button>
</div>
<div class=\"d-none hidden-gallery-images\">
";
// line 135
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["variants"]) || array_key_exists("variants", $context) ? $context["variants"] : (function () { throw new RuntimeError('Variable "variants" does not exist.', 135, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["variantsImage"]) {
// line 136
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 136) != null)) {
// line 137
yield " <div data-product-gallery-index=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 137), 137, $this->source), "html", null, true);
yield "\" data-fancybox=\"gallery\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 137), "getThumbnail", ["Stoelting_gallery_main"], "method", false, false, true, 137), 137, $this->source), "html", null, true);
yield "\" class=\"lazyload product-small-image mb-2 mb-lg-2 mb-md-2\">
<img data-src=\"";
// line 138
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 138), "getThumbnail", ["Stoelting_gallery_main"], "method", false, false, true, 138), 138, $this->source), "html", null, true);
yield "\" alt=\"Product small image\">
</div>
";
}
// line 141
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['variantsImage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 142
yield "
</div>
<div class=\"product-big-image order-sm-1 order-md-2\">
";
// line 145
$context["break"] = false;
// line 146
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["variants"]) || array_key_exists("variants", $context) ? $context["variants"] : (function () { throw new RuntimeError('Variable "variants" does not exist.', 146, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["variantsImage"]) {
// line 147
yield " ";
if ( !(isset($context["break"]) || array_key_exists("break", $context) ? $context["break"] : (function () { throw new RuntimeError('Variable "break" does not exist.', 147, $this->source); })())) {
// line 148
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 148) != null)) {
// line 149
yield " <img class=\"product-big__image lazyload\"
data-src=\"";
// line 150
(((CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 150) != null)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "image", [], "any", false, false, true, 150), "getThumbnail", ["Stoelting_gallery_main"], "method", false, false, true, 150), "html", null, true)) : (yield ""));
yield "\"
alt=\"Product big image\"
data-fancybox-trigger=\"gallery\"
data-fancybox-index=\"0\"
>
<div class=\"set-center\">
<div class=\"spinner-border d-none text-secondary\" role=\"status\">
<span class=\"sr-only\">Loading...</span>
</div>
</div>
<div class=\"product-big-image__sku\">
<small>
ITEM: ";
// line 162
((((" " . CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "sku", [], "any", false, false, true, 162)) != null)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["variantsImage"], "sku", [], "any", false, false, true, 162), "html", null, true)) : (yield ""));
yield "
</small>
</div>
";
// line 165
$context["break"] = true;
// line 166
yield " ";
}
// line 167
yield " ";
}
// line 168
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['variantsImage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 169
yield " </div>
</div>
<h2 class=\"d-block d-md-none font-weight-bold mt-3 mt-lg-3 mt-md-3\">";
// line 172
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(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.', 172, $this->source); })()), "name", [], "any", false, false, true, 172), 172, $this->source), "html", null, true);
yield "</h2>
<div class=\"mt-4 mt-lg-4 mt-md-4 text-deepGray\"> ";
// line 173
yield $this->sandbox->ensureToStringAllowed(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.', 173, $this->source); })()), "shortDescription", [], "any", false, false, true, 173), 173, $this->source);
yield " </div>
</div>
<div class=\"col-xl-5 col-lg-6\">
<div id=\"add-to-cart-app\">
<add-to-cart-wrapper v-slot:default=\"{productId, addToCartBulk,updateProductsList}\">
<table style=\"width: 100%\" class=\"product-table text-deepGray\">
<tbody>
<tr>
<th class=\"font-weight-bold\">
";
// line 183
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Item"), "html", null, true);
yield "
</th>
<th class=\"font-weight-bold\">
";
// line 186
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Description"), "html", null, true);
yield "
</th>
<th class=\"font-weight-bold\">
";
// line 189
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Price"), "html", null, true);
yield "
</th>
<th class=\"font-weight-bold\">
";
// line 192
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("QTY"), "html", null, true);
yield "
</th>
</tr>
";
// line 196
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["variants"]) || array_key_exists("variants", $context) ? $context["variants"] : (function () { throw new RuntimeError('Variable "variants" does not exist.', 196, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["variant"]) {
// line 197
yield " <tr class=\"product-table-tr\">
<td>
";
// line 199
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "sku", [], "any", false, false, true, 199), 199, $this->source), "html", null, true);
yield "
</td>
<td>
";
// line 202
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "name", [], "any", false, false, true, 202), 202, $this->source);
yield "
</td>
<td>
";
// line 205
if (CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "isPriceVisible", [], "any", false, false, true, 205)) {
// line 206
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "price", [], "any", false, false, true, 206), "net_price_str", [], "any", false, false, true, 206), 206, $this->source), "html", null, true);
yield "
";
} else {
// line 208
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login", ["division" => (isset($context["division"]) || array_key_exists("division", $context) ? $context["division"] : (function () { throw new RuntimeError('Variable "division" does not exist.', 208, $this->source); })()), "_target_path" => 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.', 208, $this->source); })()), "request", [], "any", false, false, true, 208), "requestUri", [], "any", false, false, true, 208)]), "html", null, true);
yield "\" class=\"login-price-link\"
data-gtm-event=\"login-price-click\">Login</a>
";
}
// line 211
yield "
</td>
<td>
<input type=\"number\" class=\"qunatity-input\" value=\"0\" min=\"0\" max=\"100\" style=\"width: 50px;\" @change=\"updateProductsList(\$event, ";
// line 214
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "id", [], "any", false, false, true, 214), 214, $this->source), "html", null, true);
yield ")\">
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['variant'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 218
yield " </tbody>
</table>
<div class=\"d-flex align-items-center mt-4 mt-lg-4 mt-md-4 add-to-cart-buttons-wrapper\">
";
// line 223
if ( !(isset($context["isEU"]) || array_key_exists("isEU", $context) ? $context["isEU"] : (function () { throw new RuntimeError('Variable "isEU" does not exist.', 223, $this->source); })())) {
// line 224
yield " <a href=\"javascript:;\"
:data-origin-product-id=\"productId\"
:data-product-id=\"productId\"
@click.prevent=\"addToCartBulk\"
class=\"btn btn-primary btn-add-to-cart mr-3 mr-lg-3 mr-md-3 text-nowrap add-to-cart-click-element\"
data-gtm-event=\"add-to-cart-click\"
>
<div class=\"d-flex align-items-center text-nowrap\">
<img src=\"";
// line 232
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/images/icons/icon_cart.svg"), "html", null, true);
yield "\" alt=\"Icon cart\">
";
// line 233
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to cart"), "html", null, true);
yield "
</div>
</a>
";
}
// line 237
yield " <a href=\"javascript:;\"
:data-origin-product-id=\"productId\"
:data-product-id=\"productId\"
@click.prevent=\"addToCartBulk\"
class=\"btn btn-primary btn-add-to-cart mr-3 mr-lg-3 mr-md-3 text-nowrap add-to-quote-click-element\"
data-gtm-event=\"add-to-quote-click\"
>
<div class=\"d-flex align-items-center text-nowrap\">
";
// line 245
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Quote"), "html", null, true);
yield "
</div>
</a>
</div>
</add-to-cart-wrapper>
</div>
</div>
</div>
<!--Related PRODUCTS-->
<div class=\"my-4 my-lg-4 my-md-4 related-products\">
<div class=\"row border-top border-bottom border-2 border-lightGray ";
// line 257
yield ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $this->sandbox->ensureToStringAllowed((isset($context["relatedProducts"]) || array_key_exists("relatedProducts", $context) ? $context["relatedProducts"] : (function () { throw new RuntimeError('Variable "relatedProducts" does not exist.', 257, $this->source); })()), 257, $this->source))) ? ("") : ("d-none"));
yield "\">
<div class=\"col-xl-10 offset-xl-1 py-4 py-lg-4 py-md-4\">
<div class=\"d-flex align-items-center\">
<h3 class=\"font-weight-light text-navyBlue mb-0\">";
// line 260
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Related Products + Recommendations"), "html", null, true);
yield "</h3>
<a class=\"collapse-close ml-auto\" data-toggle=\"collapse\" href=\"#collapseExample1\" role=\"button\" aria-expanded=\"false\" aria-controls=\"collapseExample\">
</a>
</div>
<div class=\"row show\" id=\"collapseExample1\">
<div class=\"col-lg-12\">
<div class=\"slider-small--first mt-3 mt-lg-3 mt-md-3\" data-slick='{\"slidesToShow\": 5}'>
";
// line 267
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["relatedProducts"]) || array_key_exists("relatedProducts", $context) ? $context["relatedProducts"] : (function () { throw new RuntimeError('Variable "relatedProducts" does not exist.', 267, $this->source); })()));
foreach ($context['_seq'] as $context["i"] => $context["relatedProduct"]) {
// line 268
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "href", [], "any", false, false, true, 268), 268, $this->source), "html", null, true);
yield "\" class=\"slider-small-item d-flex flex-column align-items-center text-center\">
<img class=\"img-fluid\" src=\"";
// line 269
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "image", [], "any", false, false, true, 269) != null)) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "image", [], "any", false, false, true, 269), "getThumbnail", ["Stoelting_small_slider"], "method", false, false, true, 269)) : (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("defaultProductImage"), "getThumbnail", ["Stoelting_small_slider"], "method", false, false, true, 269))), "html", null, true);
yield "\" />
<h5 class=\"font-weight-bold mt-3 mt-lg-3 mt-md-3 mb-0\">";
// line 270
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "name", [], "any", false, false, true, 270), 270, $this->source), "html", null, true);
yield "</h5>
</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['i'], $context['relatedProduct'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 273
yield " </div>
</div>
</div>
</div>
</div>
<div class=\"row border-bottom border-2 border-lightGray ";
// line 278
yield ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $this->sandbox->ensureToStringAllowed((isset($context["purchasedTogether"]) || array_key_exists("purchasedTogether", $context) ? $context["purchasedTogether"] : (function () { throw new RuntimeError('Variable "purchasedTogether" does not exist.', 278, $this->source); })()), 278, $this->source))) ? ("") : ("d-none"));
yield "\">
<div class=\"col-xl-10 offset-xl-1 py-4 py-lg-4 py-md-4\">
<div class=\"d-flex align-items-center\">
<h3 class=\"font-weight-light text-navyBlue mb-0\">";
// line 281
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Frequently Purchased Together"), "html", null, true);
yield "</h3>
<a class=\"collapse-close ml-auto collapsed\" data-toggle=\"collapse\" href=\"#collapseExample2\" role=\"button\" aria-expanded=\"false\" aria-controls=\"collapseExample\">
</a>
</div>
<div class=\"row collapse\" id=\"collapseExample2\">
<div class=\"col-lg-12\">
<div class=\"slider-small mt-3 mt-lg-3 mt-md-3\" data-slick='{\"slidesToShow\": 5}'>
";
// line 288
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["purchasedTogether"]) || array_key_exists("purchasedTogether", $context) ? $context["purchasedTogether"] : (function () { throw new RuntimeError('Variable "purchasedTogether" does not exist.', 288, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["purchasedTogetherProduct"]) {
// line 289
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["purchasedTogetherProduct"], "href", [], "any", false, false, true, 289), 289, $this->source), "html", null, true);
yield "\" class=\"d-flex flex-column align-items-center text-center\">
<img class=\"img-fluid\" src=\"";
// line 290
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env, $this->source, $context["purchasedTogetherProduct"], "image", [], "any", false, false, true, 290) != null)) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["purchasedTogetherProduct"], "image", [], "any", false, false, true, 290), "getThumbnail", ["Stoelting_small_slider"], "method", false, false, true, 290)) : (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("defaultProductImage"), "getThumbnail", ["Stoelting_small_slider"], "method", false, false, true, 290))), "html", null, true);
yield "\" />
<h5 class=\"font-weight-bold mt-3 mt-lg-3 mt-md-3 mb-0\">";
// line 291
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["purchasedTogetherProduct"], "name", [], "any", false, false, true, 291), 291, $this->source), "html", null, true);
yield "</h5>
</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['purchasedTogetherProduct'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 294
yield " </div>
</div>
</div>
</div>
</div>
<div class=\"row border-bottom border-2 border-lightGray ";
// line 299
yield ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $this->sandbox->ensureToStringAllowed((isset($context["replacementParts"]) || array_key_exists("replacementParts", $context) ? $context["replacementParts"] : (function () { throw new RuntimeError('Variable "replacementParts" does not exist.', 299, $this->source); })()), 299, $this->source))) ? ("") : ("d-none"));
yield "\">
<div class=\"col-xl-10 offset-xl-1 py-4 py-lg-4 py-md-4\">
<div class=\"d-flex align-items-center\">
<h3 class=\"font-weight-light text-navyBlue mb-0\">";
// line 302
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Replacement Parts + Subcomponents"), "html", null, true);
yield "</h3>
<a class=\"collapse-close ml-auto collapsed\" data-toggle=\"collapse\" href=\"#collapseExample3\" role=\"button\" aria-expanded=\"false\" aria-controls=\"collapseExample\">
</a>
</div>
<div class=\"row collapse\" id=\"collapseExample3\">
<div class=\"col-lg-12\">
<div class=\"slider-small mt-3 mt-lg-3 mt-md-3\" data-slick='{\"slidesToShow\": 5}'>
";
// line 309
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["replacementParts"]) || array_key_exists("replacementParts", $context) ? $context["replacementParts"] : (function () { throw new RuntimeError('Variable "replacementParts" does not exist.', 309, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["replacementPartsProduct"]) {
// line 310
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["replacementPartsProduct"], "href", [], "any", false, false, true, 310), 310, $this->source), "html", null, true);
yield "\" class=\"d-flex flex-column align-items-center text-center\">
<img class=\"img-fluid\" src=\"";
// line 311
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env, $this->source, $context["replacementPartsProduct"], "image", [], "any", false, false, true, 311) != null)) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["replacementPartsProduct"], "image", [], "any", false, false, true, 311), "getThumbnail", ["Stoelting_small_slider"], "method", false, false, true, 311)) : (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("defaultProductImage"), "getThumbnail", ["Stoelting_small_slider"], "method", false, false, true, 311))), "html", null, true);
yield "\" />
<h5 class=\"font-weight-bold mt-3 mt-lg-3 mt-md-3 mb-0\">";
// line 312
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["replacementPartsProduct"], "name", [], "any", false, false, true, 312), 312, $this->source), "html", null, true);
yield "</h5>
</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['replacementPartsProduct'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 315
yield " </div>
</div>
</div>
</div>
</div>
</div>
<!--Product more details-->
<div class=\"row my-5 my-lg-5 my-md-5\">
<div class=\"col-lg-10 offset-xl-1\" style=\"min-height: 300px;\">
<div class=\"d-flex\">
<div class=\"accordion\" id=\"accordionProductMoreInfo\" style=\"width: 100%;\">
";
// line 328
$context["firstLoop"] = true;
// line 329
yield " ";
$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.', 329, $this->source); })()), "additionalContent", [], "any", false, false, true, 329));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["additionalContentButton"]) {
// line 330
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["additionalContentButton"], "type", [], "any", false, false, true, 330) == "AditionalContentText")) {
// line 331
yield " <button class=\"btn btn-lg btn-secondary btn-secondary--ghost mr-3 mr-lg-3 mr-md-3 mt-2 mt-lg-2 mt-md-2\" type=\"button\"
data-toggle=\"collapse\" data-target=\"#collapse";
// line 332
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 332), 332, $this->source), "html", null, true);
yield "\"
aria-expanded=\"";
// line 333
yield (((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 333) == 1)) ? ("true") : ("false"));
yield "\" aria-controls=\"collapse";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 333), 333, $this->source), "html", null, true);
yield "\"
>
";
// line 335
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["additionalContentButton"], "name", [], "any", false, false, true, 335), 335, $this->source), "html", null, true);
yield "
</button>
";
// line 337
$context["firstLoop"] = false;
// line 338
yield " ";
}
// line 339
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['additionalContentButton'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 340
yield "
";
// line 341
$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.', 341, $this->source); })()), "additionalContent", [], "any", false, false, true, 341));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["additionalContent"]) {
// line 342
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["additionalContent"], "type", [], "any", false, false, true, 342) == "AditionalContentText")) {
// line 343
yield " <div id=\"collapse";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 343), 343, $this->source), "html", null, true);
yield "\" class=\"";
yield (((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 343) != 1)) ? ("collapse") : ("show"));
yield " list-bullet overflow-x-auto\" aria-labelledby=\"collapse";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 343), 343, $this->source), "html", null, true);
yield "\" data-parent=\"#accordionProductMoreInfo\">
<div class=\"mt-4 mt-lg-4 mt-md-4 text-deepGray\">
";
// line 345
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["additionalContent"], "content", [], "any", false, false, true, 345), 345, $this->source);
yield "
</div>
</div>
";
}
// line 349
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['additionalContent'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 350
yield " </div>
</div>
</div>
</div>
</div>
</main>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
// line 358
public function block_afterScripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterScripts"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterScripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterScripts"));
// line 359
yield "<script src=\"https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js\"></script>
<script type=\"text/javascript\" src=\"https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.6/src/jquery.ez-plus.js\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@FactorySupport/product/show.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 970 => 359, 957 => 358, 937 => 350, 923 => 349, 916 => 345, 906 => 343, 903 => 342, 886 => 341, 883 => 340, 869 => 339, 866 => 338, 864 => 337, 859 => 335, 852 => 333, 848 => 332, 845 => 331, 842 => 330, 824 => 329, 822 => 328, 807 => 315, 798 => 312, 794 => 311, 789 => 310, 785 => 309, 775 => 302, 769 => 299, 762 => 294, 753 => 291, 749 => 290, 744 => 289, 740 => 288, 730 => 281, 724 => 278, 717 => 273, 708 => 270, 704 => 269, 699 => 268, 695 => 267, 685 => 260, 679 => 257, 664 => 245, 654 => 237, 647 => 233, 643 => 232, 633 => 224, 631 => 223, 624 => 218, 614 => 214, 609 => 211, 602 => 208, 596 => 206, 594 => 205, 588 => 202, 582 => 199, 578 => 197, 574 => 196, 567 => 192, 561 => 189, 555 => 186, 549 => 183, 536 => 173, 532 => 172, 527 => 169, 521 => 168, 518 => 167, 515 => 166, 513 => 165, 507 => 162, 492 => 150, 489 => 149, 486 => 148, 483 => 147, 478 => 146, 476 => 145, 471 => 142, 457 => 141, 451 => 138, 444 => 137, 441 => 136, 424 => 135, 412 => 125, 398 => 124, 391 => 120, 386 => 118, 382 => 117, 377 => 116, 374 => 115, 357 => 114, 343 => 102, 329 => 101, 322 => 97, 317 => 95, 313 => 94, 308 => 93, 305 => 92, 288 => 91, 266 => 72, 262 => 71, 249 => 63, 245 => 62, 229 => 49, 225 => 48, 212 => 40, 208 => 39, 201 => 35, 194 => 30, 192 => 29, 188 => 27, 186 => 26, 173 => 25, 157 => 22, 153 => 21, 149 => 20, 145 => 19, 139 => 16, 135 => 15, 131 => 14, 126 => 12, 121 => 10, 117 => 9, 112 => 8, 99 => 7, 83 => 4, 70 => 3, 41 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout/default.html.twig' %}
{% block headScript %}
<!--Should be included only in product templates-->
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css\" />
{% endblock %}
{% block metaTags %}
<title>{{ product is defined ? product.metaTitle }}</title>
<meta name=\"description\" content=\"{{ product is defined ? product.metaDescription }}\"></meta>
<meta name=\"keywords\" content=\"{{ product is defined ? product.metaKeywords }}\"></meta>
<meta property=\"og:url\" content=\"{{ app.request.uri }}\" />
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:title\" content=\"{{ product is defined ? product.ogTitle }}\" />
<meta property=\"og:description\" content=\"{{ product is defined ? product.ogDescription }}\" />
<meta property=\"og:image\" content=\"{{ product is defined and product.ogImage ? product.ogImage }}\" />
<meta name=\"twitter:card\" content=\"summary\" />
<meta name=\"twitter:site\" content=\"{{ app.request.uri }}\" />
<meta name=\"twitter:title\" content=\"{{ product is defined ? product.ogTitle }}\" />
<meta name=\"twitter:description\" content=\"{{ product is defined ? product.ogDescription }}\" />
<meta name=\"twitter:image\" content=\"{{ product is defined and product.ogImage ? absolute_url(product.ogImage) }}\" />
{% endblock %}
{% block contentBlock %}
{% set anyMaze = 'any-maze' in product.name | lower %}
<main class=\"productPage mt-5 mt-lg-5 mt-md-5\">
{% include 'Components/info-message.html.twig' with {message: 'alert.no.quantity' | trans, show: false, color: 'text-ice', icon: 'info.svg' } %}
<div class=\"container mt-3 mt-lg-3 mt-md-3 mb-5 mb-lg-5 mb-md-5\">
<div class=\"row\">
<!-- * Desktop version-->
<div class=\"product-breadcrumb-heading d-none d-md-block col-lg-12 border-2 border-bottom border-indigo custom-bradcrumb-padding-product\" style=\"margin-top: -4px;\">
<div class=\"d-flex align-items-center flex-wrap\">
<h2 class=\"font-weight-bold mb-0\" style=\"max-width: 60%;\">{{ product.name }}</h2>
<div class=\"d-flex ml-auto breadcrumb-links\">
<small class=\"font-weight-bold text-uppercase mb-0\">
<div class=\"d-flex align-items-center flex-wrap\">
<a href=\"{{ breadcrumbs.parentCategory is defined ? breadcrumbs.parentCategory.href }}\" class=\"font-weight-bold\">
<span class=\"\">{% if breadcrumbs.parentCategory is defined %}{{ breadcrumbs.parentCategory.name }}{% endif %}</span>
</a>
<svg class=\"mx-2 mx-lg-2 mx-md-2\" width=\"11\" height=\"16\" viewBox=\"0 0 11 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<line y1=\"-1\" x2=\"11.7434\" y2=\"-1\" transform=\"matrix(-0.733639 0.679539 0.733639 0.679539 10.6155 8.02002)\" stroke=\"#405CCA\" stroke-width=\"2\"/>
<line y1=\"-1\" x2=\"11.7434\" y2=\"-1\" transform=\"matrix(-0.733639 -0.679539 0.733639 -0.679539 10.6155 7.98004)\" stroke=\"#405CCA\" stroke-width=\"2\"/>
</svg>
<a href=\"{{ breadcrumbs.category.href }}\" class=\"font-weight-bold\">
<span class=\"text-navyBlue\">{{ breadcrumbs.category.name }}</span>
</a>
</div>
</small>
</div>
</div>
</div>
<!-- * Mobile version-->
<div class=\"d-block d-md-none col-lg-12 pb-3 pb-lg-3 pb-md-3\">
<div class=\"d-flex align-items-center flex-wrap\">
<div class=\"d-flex breadcrumb-links\">
<small class=\"font-weight-bold text-uppercase\">
<div class=\"d-flex align-items-center flex-wrap\">
<a href=\"{{ breadcrumbs.parentCategory is defined ? breadcrumbs.parentCategory.href }}\" class=\"font-weight-bold\">
<span class=\"\">{% if breadcrumbs.parentCategory is defined %}{{ breadcrumbs.parentCategory.name }}{% endif %}</span>
</a>
<svg class=\"mx-2 mx-lg-2 mx-md-2\" width=\"11\" height=\"16\" viewBox=\"0 0 11 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<line y1=\"-1\" x2=\"11.7434\" y2=\"-1\" transform=\"matrix(-0.733639 0.679539 0.733639 0.679539 10.6155 8.02002)\" stroke=\"#405CCA\" stroke-width=\"2\"/>
<line y1=\"-1\" x2=\"11.7434\" y2=\"-1\" transform=\"matrix(-0.733639 -0.679539 0.733639 -0.679539 10.6155 7.98004)\" stroke=\"#405CCA\" stroke-width=\"2\"/>
</svg>
<a href=\"{{ breadcrumbs.category.href }}\" class=\"font-weight-bold\">
<span class=\"text-navyBlue\">{{ breadcrumbs.category.name }}</span>
</a>
</div>
</small>
</div>
</div>
</div>
</div>
<!--*PRODUCT GALLERY AND DATA-->
<div class=\"row mt-4 mt-lg-4 mt-md-4\">
<div class=\"col-xl-5 offset-xl-1 col-lg-6\">
<div class=\"d-flex justify-content-md-center flex-sm-column flex-md-row main-gallery main-gallery-initial\">
<div class=\"d-none d-md-block product-images-scroll order-sm-2 order-md-1\">
<button class=\"product-images-scroll-btn product-images-scroll-btn--up d-none\">
</button>
<div class=\"d-flex flex-sm-row flex-md-column product-images-scroll-inside product-images-scroll-inside--desktop\">
{% for index, variantsImage in variants %}
{% if variantsImage.image != null %}
<div data-product-gallery-index=\"{{ loop.index }}\"
data-product-sku=\"{{ variantsImage.sku }}\"
href=\"{{ variantsImage.image != null ? variantsImage.image.getThumbnail('Stoelting_gallery_small') }}\"
class=\"product-small-image mb-2 mb-lg-2 mb-md-2\">
<img src=\"{{ variantsImage.image != null ? variantsImage.image.getThumbnail('Stoelting_gallery_small') }}\"
alt=\"Product small image\" class=\"img-fluid\">
</div>
{% endif %}
{% endfor %}
</div>
<button class=\"product-images-scroll-btn product-images-scroll-btn--down d-none\">
</button>
</div>
<!-- * Mobile -->
<div class=\"product-images-scroll--mobile-wrapper d-block d-md-none order-sm-2 order-md-1 position-relative\">
<button class=\"product-images-scroll-btn product-images-scroll-btn--up d-none\">
</button>
<div class=\"product-images-scroll product-images-scroll--mobile\">
<div class=\"d-flex flex-sm-row flex-md-column product-images-scroll-inside product-images-scroll-inside--mobile\">
{% for index, variantsImage in variants %}
{% if variantsImage.image != null %}
<div data-product-gallery-index=\"{{ loop.index }}\"
data-product-sku=\"{{ variantsImage.sku }}\"
href=\"{{ variantsImage.image != null ? variantsImage.image.getThumbnail('Stoelting_gallery_small') }}\"
class=\"product-small-image mb-2 mb-lg-2 mb-md-2\">
<img src=\"{{ variantsImage.image != null ? variantsImage.image.getThumbnail('Stoelting_gallery_small') }}\"
alt=\"Product small image\" class=\"img-fluid\">
</div>
{% endif %}
{% endfor %}
</div>
</div>
<button class=\"product-images-scroll-btn product-images-scroll-btn--down d-none\">
</button>
</div>
<div class=\"d-none hidden-gallery-images\">
{% for variantsImage in variants %}
{% if variantsImage.image != null %}
<div data-product-gallery-index=\"{{ loop.index }}\" data-fancybox=\"gallery\" href=\"{{ variantsImage.image.getThumbnail('Stoelting_gallery_main') }}\" class=\"lazyload product-small-image mb-2 mb-lg-2 mb-md-2\">
<img data-src=\"{{ variantsImage.image.getThumbnail('Stoelting_gallery_main') }}\" alt=\"Product small image\">
</div>
{% endif %}
{% endfor %}
</div>
<div class=\"product-big-image order-sm-1 order-md-2\">
{% set break = false %}
{% for variantsImage in variants %}
{% if not break %}
{% if variantsImage.image != null %}
<img class=\"product-big__image lazyload\"
data-src=\"{{variantsImage.image != null ? variantsImage.image.getThumbnail('Stoelting_gallery_main') }}\"
alt=\"Product big image\"
data-fancybox-trigger=\"gallery\"
data-fancybox-index=\"0\"
>
<div class=\"set-center\">
<div class=\"spinner-border d-none text-secondary\" role=\"status\">
<span class=\"sr-only\">Loading...</span>
</div>
</div>
<div class=\"product-big-image__sku\">
<small>
ITEM: {{ ' ' ~ variantsImage.sku != null ? variantsImage.sku }}
</small>
</div>
{% set break = true %}
{% endif %}
{% endif %}
{% endfor %}
</div>
</div>
<h2 class=\"d-block d-md-none font-weight-bold mt-3 mt-lg-3 mt-md-3\">{{ product.name }}</h2>
<div class=\"mt-4 mt-lg-4 mt-md-4 text-deepGray\"> {{ product.shortDescription | raw}} </div>
</div>
<div class=\"col-xl-5 col-lg-6\">
<div id=\"add-to-cart-app\">
<add-to-cart-wrapper v-slot:default=\"{productId, addToCartBulk,updateProductsList}\">
<table style=\"width: 100%\" class=\"product-table text-deepGray\">
<tbody>
<tr>
<th class=\"font-weight-bold\">
{{ 'Item' | trans }}
</th>
<th class=\"font-weight-bold\">
{{ 'Description' | trans }}
</th>
<th class=\"font-weight-bold\">
{{ 'Price' | trans }}
</th>
<th class=\"font-weight-bold\">
{{ 'QTY' | trans }}
</th>
</tr>
{% for variant in variants %}
<tr class=\"product-table-tr\">
<td>
{{ variant.sku }}
</td>
<td>
{{ variant.name | raw }}
</td>
<td>
{% if variant.isPriceVisible %}
{{ variant.price.net_price_str }}
{% else %}
<a href=\"{{ path('login', {'division': division, '_target_path' : app.request.requestUri}) }}\" class=\"login-price-link\"
data-gtm-event=\"login-price-click\">Login</a>
{% endif %}
</td>
<td>
<input type=\"number\" class=\"qunatity-input\" value=\"0\" min=\"0\" max=\"100\" style=\"width: 50px;\" @change=\"updateProductsList(\$event, {{ variant.id }})\">
</td>
</tr>
{% endfor %}
</tbody>
</table>
<div class=\"d-flex align-items-center mt-4 mt-lg-4 mt-md-4 add-to-cart-buttons-wrapper\">
{% if not isEU %}
<a href=\"javascript:;\"
:data-origin-product-id=\"productId\"
:data-product-id=\"productId\"
@click.prevent=\"addToCartBulk\"
class=\"btn btn-primary btn-add-to-cart mr-3 mr-lg-3 mr-md-3 text-nowrap add-to-cart-click-element\"
data-gtm-event=\"add-to-cart-click\"
>
<div class=\"d-flex align-items-center text-nowrap\">
<img src=\"{{ asset('/static/images/icons/icon_cart.svg') }}\" alt=\"Icon cart\">
{{ 'Add to cart' | trans }}
</div>
</a>
{% endif %}
<a href=\"javascript:;\"
:data-origin-product-id=\"productId\"
:data-product-id=\"productId\"
@click.prevent=\"addToCartBulk\"
class=\"btn btn-primary btn-add-to-cart mr-3 mr-lg-3 mr-md-3 text-nowrap add-to-quote-click-element\"
data-gtm-event=\"add-to-quote-click\"
>
<div class=\"d-flex align-items-center text-nowrap\">
{{ 'Add to Quote' | trans }}
</div>
</a>
</div>
</add-to-cart-wrapper>
</div>
</div>
</div>
<!--Related PRODUCTS-->
<div class=\"my-4 my-lg-4 my-md-4 related-products\">
<div class=\"row border-top border-bottom border-2 border-lightGray {{ relatedProducts | length ? '' : 'd-none' }}\">
<div class=\"col-xl-10 offset-xl-1 py-4 py-lg-4 py-md-4\">
<div class=\"d-flex align-items-center\">
<h3 class=\"font-weight-light text-navyBlue mb-0\">{{ 'Related Products + Recommendations' | trans }}</h3>
<a class=\"collapse-close ml-auto\" data-toggle=\"collapse\" href=\"#collapseExample1\" role=\"button\" aria-expanded=\"false\" aria-controls=\"collapseExample\">
</a>
</div>
<div class=\"row show\" id=\"collapseExample1\">
<div class=\"col-lg-12\">
<div class=\"slider-small--first mt-3 mt-lg-3 mt-md-3\" data-slick='{\"slidesToShow\": 5}'>
{% for i,relatedProduct in relatedProducts %}
<a href=\"{{ relatedProduct.href }}\" class=\"slider-small-item d-flex flex-column align-items-center text-center\">
<img class=\"img-fluid\" src=\"{{ relatedProduct.image != null ? relatedProduct.image.getThumbnail('Stoelting_small_slider') : pimcore_website_config('defaultProductImage').getThumbnail('Stoelting_small_slider') }}\" />
<h5 class=\"font-weight-bold mt-3 mt-lg-3 mt-md-3 mb-0\">{{ relatedProduct.name }}</h5>
</a>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
<div class=\"row border-bottom border-2 border-lightGray {{ purchasedTogether | length ? '' : 'd-none' }}\">
<div class=\"col-xl-10 offset-xl-1 py-4 py-lg-4 py-md-4\">
<div class=\"d-flex align-items-center\">
<h3 class=\"font-weight-light text-navyBlue mb-0\">{{ 'Frequently Purchased Together' | trans }}</h3>
<a class=\"collapse-close ml-auto collapsed\" data-toggle=\"collapse\" href=\"#collapseExample2\" role=\"button\" aria-expanded=\"false\" aria-controls=\"collapseExample\">
</a>
</div>
<div class=\"row collapse\" id=\"collapseExample2\">
<div class=\"col-lg-12\">
<div class=\"slider-small mt-3 mt-lg-3 mt-md-3\" data-slick='{\"slidesToShow\": 5}'>
{% for purchasedTogetherProduct in purchasedTogether %}
<a href=\"{{ purchasedTogetherProduct.href }}\" class=\"d-flex flex-column align-items-center text-center\">
<img class=\"img-fluid\" src=\"{{ purchasedTogetherProduct.image != null ? purchasedTogetherProduct.image.getThumbnail('Stoelting_small_slider') : pimcore_website_config('defaultProductImage').getThumbnail('Stoelting_small_slider') }}\" />
<h5 class=\"font-weight-bold mt-3 mt-lg-3 mt-md-3 mb-0\">{{ purchasedTogetherProduct.name }}</h5>
</a>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
<div class=\"row border-bottom border-2 border-lightGray {{ replacementParts | length ? '' : 'd-none' }}\">
<div class=\"col-xl-10 offset-xl-1 py-4 py-lg-4 py-md-4\">
<div class=\"d-flex align-items-center\">
<h3 class=\"font-weight-light text-navyBlue mb-0\">{{ 'Replacement Parts + Subcomponents' | trans }}</h3>
<a class=\"collapse-close ml-auto collapsed\" data-toggle=\"collapse\" href=\"#collapseExample3\" role=\"button\" aria-expanded=\"false\" aria-controls=\"collapseExample\">
</a>
</div>
<div class=\"row collapse\" id=\"collapseExample3\">
<div class=\"col-lg-12\">
<div class=\"slider-small mt-3 mt-lg-3 mt-md-3\" data-slick='{\"slidesToShow\": 5}'>
{% for replacementPartsProduct in replacementParts %}
<a href=\"{{ replacementPartsProduct.href }}\" class=\"d-flex flex-column align-items-center text-center\">
<img class=\"img-fluid\" src=\"{{ replacementPartsProduct.image != null ? replacementPartsProduct.image.getThumbnail('Stoelting_small_slider') : pimcore_website_config('defaultProductImage').getThumbnail('Stoelting_small_slider') }}\" />
<h5 class=\"font-weight-bold mt-3 mt-lg-3 mt-md-3 mb-0\">{{ replacementPartsProduct.name }}</h5>
</a>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</div>
<!--Product more details-->
<div class=\"row my-5 my-lg-5 my-md-5\">
<div class=\"col-lg-10 offset-xl-1\" style=\"min-height: 300px;\">
<div class=\"d-flex\">
<div class=\"accordion\" id=\"accordionProductMoreInfo\" style=\"width: 100%;\">
{% set firstLoop = true %}
{% for additionalContentButton in product.additionalContent %}
{% if additionalContentButton.type == 'AditionalContentText' %}
<button class=\"btn btn-lg btn-secondary btn-secondary--ghost mr-3 mr-lg-3 mr-md-3 mt-2 mt-lg-2 mt-md-2\" type=\"button\"
data-toggle=\"collapse\" data-target=\"#collapse{{ loop.index }}\"
aria-expanded=\"{{ loop.index == 1 ? 'true' : 'false'}}\" aria-controls=\"collapse{{ loop.index }}\"
>
{{ additionalContentButton.name }}
</button>
{% set firstLoop = false %}
{% endif %}
{% endfor %}
{% for additionalContent in product.additionalContent %}
{% if additionalContent.type == 'AditionalContentText' %}
<div id=\"collapse{{ loop.index }}\" class=\"{{ loop.index != 1 ? 'collapse' : 'show' }} list-bullet overflow-x-auto\" aria-labelledby=\"collapse{{ loop.index }}\" data-parent=\"#accordionProductMoreInfo\">
<div class=\"mt-4 mt-lg-4 mt-md-4 text-deepGray\">
{{ additionalContent.content | raw }}
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</main>
{% endblock %}
{% block afterScripts %}
<script src=\"https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js\"></script>
<script type=\"text/javascript\" src=\"https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.6/src/jquery.ez-plus.js\"></script>
{% endblock %}", "@FactorySupport/product/show.html.twig", "/var/www/webovi/stoelting/pimcore/templates/product/show.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 26, "include" => 29, "if" => 40, "for" => 91);
static $filters = array("escape" => 8, "lower" => 26, "trans" => 29, "raw" => 173, "length" => 257);
static $functions = array("absolute_url" => 22, "path" => 208, "asset" => 232, "pimcore_website_config" => 269);
try {
$this->sandbox->checkSecurity(
['set', 'include', 'if', 'for'],
['escape', 'lower', 'trans', 'raw', 'length'],
['absolute_url', 'path', 'asset', 'pimcore_website_config'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}