<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* @zenitPlatformStratus/storefront/page/product-detail/index.html.twig */
class __TwigTemplate_257fefb9e5fb9eed324737ac4e4ca167 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_body' => [$this, 'block_base_body'],
'base_main_inner' => [$this, 'block_base_main_inner'],
'base_breadcrumb' => [$this, 'block_base_breadcrumb'],
'base_content' => [$this, 'block_base_content'],
'page_product_detail' => [$this, 'block_page_product_detail'],
'page_product_detail_inner' => [$this, 'block_page_product_detail_inner'],
'page_product_detail_content' => [$this, 'block_page_product_detail_content'],
'page_product_detail_main' => [$this, 'block_page_product_detail_main'],
'page_product_detail_media' => [$this, 'block_page_product_detail_media'],
'page_product_detail_buy' => [$this, 'block_page_product_detail_buy'],
'page_product_detail_headline' => [$this, 'block_page_product_detail_headline'],
'zen_page_product_detail_short_description' => [$this, 'block_zen_page_product_detail_short_description'],
'page_product_detail_tabs' => [$this, 'block_page_product_detail_tabs'],
'page_product_detail_cross_selling' => [$this, 'block_page_product_detail_cross_selling'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@Storefront/storefront/page/product-detail/index.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "@zenitPlatformStratus/storefront/page/product-detail/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@zenitPlatformStratus/storefront/page/product-detail/index.html.twig"));
$this->parent = $this->loadTemplate("@Storefront/storefront/page/product-detail/index.html.twig", "@zenitPlatformStratus/storefront/page/product-detail/index.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_base_body($context, array $blocks = [])
{
$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", "base_body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_body"));
// line 4
echo " ";
// line 5
echo " ";
if ((($context["galleryMode"] ?? null) === "scroller")) {
// line 6
echo " ";
$context["bodyClasses"] = twig_array_merge([0 => "is-gallery-scroller"], ($context["bodyClasses"] ?? null));
// line 7
echo " ";
}
// line 8
echo "
";
// line 9
$this->displayParentBlock("base_body", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 12
public function block_base_main_inner($context, array $blocks = [])
{
$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", "base_main_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_main_inner"));
// line 13
echo " ";
// line 14
echo " ";
$this->displayBlock("base_main_container", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 17
public function block_base_breadcrumb($context, array $blocks = [])
{
$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", "base_breadcrumb"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_breadcrumb"));
// line 18
echo " <div class=\"breadcrumb-container\">
<div class=\"container\">
";
// line 20
$this->displayParentBlock("base_breadcrumb", $context, $blocks);
echo "
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 25
public function block_base_content($context, array $blocks = [])
{
$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", "base_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_content"));
// line 26
echo " ";
$this->displayBlock('page_product_detail', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function block_page_product_detail($context, array $blocks = [])
{
$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", "page_product_detail"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail"));
// line 27
echo "
<div class=\"product-detail\"
itemscope
itemtype=\"https://schema.org/Product\">
";
// line 31
$this->displayBlock('page_product_detail_inner', $context, $blocks);
// line 177
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 31
public function block_page_product_detail_inner($context, array $blocks = [])
{
$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", "page_product_detail_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_inner"));
// line 32
echo " ";
$this->displayBlock('page_product_detail_content', $context, $blocks);
// line 155
echo "
";
// line 156
$this->displayBlock('page_product_detail_tabs', $context, $blocks);
// line 163
echo "
";
// line 164
$this->displayBlock('page_product_detail_cross_selling', $context, $blocks);
// line 175
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 32
public function block_page_product_detail_content($context, array $blocks = [])
{
$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", "page_product_detail_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_content"));
// line 33
echo " <div class=\"product-detail-content\">
<div class=\"container\">
";
// line 36
echo "
";
// line 37
$context["mediaItems"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 37), "media", [], "any", false, false, false, 37), "media", [], "any", false, false, false, 37);
// line 38
echo "
";
// line 39
$this->displayBlock('page_product_detail_main', $context, $blocks);
// line 152
echo " </div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 39
public function block_page_product_detail_main($context, array $blocks = [])
{
$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", "page_product_detail_main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_main"));
// line 40
echo "
";
// line 42
echo " ";
$context["galleryWidthConfig"] = (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-width")) ? ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-width")) : (7));
// line 43
echo " ";
$context["buyboxWidthConfig"] = (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-width")) ? ((12 - $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-width"))) : (5));
// line 44
echo " ";
$context["displayModeConfig"] = (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-display-mode")) ? ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-display-mode")) : ("contain"));
// line 45
echo " ";
$context["verticalAlignConfig"] = (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-vertical-align")) ? ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-vertical-align")) : ("center"));
// line 46
echo " ";
$context["minHeightConfig"] = (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-min-height-desktop")) ? (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-min-height-desktop") . "px")) : ("430px"));
// line 47
echo " ";
$context["navigationArrowsConfig"] = (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-navigation-arrows")) ? ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-navigation-arrows")) : ("inside"));
// line 48
echo " ";
$context["navigationDotsConfig"] = (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-navigation-dots")) ? ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-navigation-dots")) : ("inside"));
// line 49
echo " ";
$context["galleryPositionConfig"] = (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-gallery-position")) ? ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-gallery-position")) : ("left"));
// line 50
echo " ";
$context["thumbnailsConfig"] = ((($context["thumbnailsConfig"] ?? null)) ? (($context["thumbnailsConfig"] ?? null)) : (true));
// line 51
echo "
";
// line 52
if ((($context["buyboxWidthConfig"] ?? null) === 0)) {
// line 53
echo " ";
$context["buyboxWidthConfig"] = 12;
// line 54
echo " ";
}
// line 55
echo "
";
// line 56
if ((null === $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-zoom"))) {
// line 57
echo " ";
// line 58
echo " ";
$context["zoomConfig"] = true;
// line 59
echo " ";
} else {
// line 60
echo " ";
$context["zoomConfig"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-zoom");
// line 61
echo " ";
}
// line 62
echo "
";
// line 63
if ((null === $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-zoom-modal"))) {
// line 64
echo " ";
// line 65
echo " ";
$context["zoomModalConfig"] = true;
// line 66
echo " ";
} else {
// line 67
echo " ";
$context["zoomModalConfig"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-zoom-modal");
// line 68
echo " ";
}
// line 69
echo "
";
// line 70
if ((null === $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-keep-aspect-ratio-on-zoom"))) {
// line 71
echo " ";
// line 72
echo " ";
$context["keepAspectRatioOnZoom"] = false;
// line 73
echo " ";
} else {
// line 74
echo " ";
$context["keepAspectRatioOnZoom"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-keep-aspect-ratio-on-zoom");
// line 75
echo " ";
}
// line 76
echo "
";
// line 77
if ((null === $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-magnifier-over-gallery"))) {
// line 78
echo " ";
// line 79
echo " ";
$context["magnifierOverGallery"] = false;
// line 80
echo " ";
} else {
// line 81
echo " ";
$context["magnifierOverGallery"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-gallery-slider-magnifier-over-gallery");
// line 82
echo " ";
}
// line 83
echo "
";
// line 84
if ((($context["navigationArrowsConfig"] ?? null) === "none")) {
// line 85
echo " ";
$context["navigationArrowsConfig"] = null;
// line 86
echo " ";
}
// line 87
echo "
";
// line 88
if ((($context["navigationDotsConfig"] ?? null) === "none")) {
// line 89
echo " ";
$context["navigationDotsConfig"] = null;
// line 90
echo " ";
}
// line 91
echo "
";
// line 92
if ((($context["galleryPositionConfig"] ?? null) === "none")) {
// line 93
echo " ";
// line 94
echo " ";
$context["galleryPositionConfig"] = "underneath";
// line 95
echo " ";
$context["hideThumbnailsConfig"] = true;
// line 96
echo " ";
}
// line 97
echo "
";
// line 98
if ((($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-category-header-position") === "absolute") || (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-category-header-position") === "relative") && (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["zenCustomFields"] ?? null), "category", [], "any", false, false, false, 98), "zenit_stratus_category_header_position", [], "any", false, false, false, 98) === "absolute")))) {
// line 99
echo " ";
$context["sectionCategoryOverlay"] = true;
// line 100
echo " ";
}
// line 101
echo "
<div class=\"row product-detail-main\">
";
// line 103
$this->displayBlock('page_product_detail_media', $context, $blocks);
// line 127
echo "
";
// line 128
$this->displayBlock('page_product_detail_buy', $context, $blocks);
// line 150
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 103
public function block_page_product_detail_media($context, array $blocks = [])
{
$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", "page_product_detail_media"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_media"));
// line 104
echo " <div class=\"col-lg-7 col-xl-";
echo sw_escape_filter($this->env, ($context["galleryWidthConfig"] ?? null), "html", null, true);
echo " product-detail-media\">
";
// line 105
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 105), "media", [], "any", false, false, false, 105)) {
// line 106
echo " ";
$this->loadTemplate("@zenitPlatformStratus/storefront/element/cms-element-image-gallery.html.twig", "@zenitPlatformStratus/storefront/page/product-detail/index.html.twig", 106)->display(twig_array_merge($context, ["mediaItems" => // line 107
($context["mediaItems"] ?? null), "zoom" => // line 108
($context["zoomConfig"] ?? null), "zoomModal" => // line 109
($context["zoomModalConfig"] ?? null), "displayMode" => // line 110
($context["displayModeConfig"] ?? null), "verticalAlign" => // line 111
($context["verticalAlignConfig"] ?? null), "gutter" => // line 112
($context["gutterConfig"] ?? null), "minHeight" => // line 113
($context["minHeightConfig"] ?? null), "navigationArrows" => // line 114
($context["navigationArrowsConfig"] ?? null), "navigationDots" => // line 115
($context["navigationDotsConfig"] ?? null), "galleryPosition" => // line 116
($context["galleryPositionConfig"] ?? null), "hideThumbnails" => // line 117
($context["hideThumbnailsConfig"] ?? null), "isProduct" => true, "fallbackImageTitle" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 119
($context["page"] ?? null), "product", [], "any", false, false, false, 119), "translated", [], "any", false, false, false, 119), "name", [], "any", false, false, false, 119), "startIndexThumbnails" => 1, "startIndexSlider" => 1, "keepAspectRatioOnZoom" => // line 122
($context["keepAspectRatioOnZoom"] ?? null)]));
// line 124
echo " ";
}
// line 125
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 128
public function block_page_product_detail_buy($context, array $blocks = [])
{
$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", "page_product_detail_buy"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_buy"));
// line 129
echo " <div class=\"col-lg-5 col-xl-";
echo sw_escape_filter($this->env, ($context["buyboxWidthConfig"] ?? null), "html", null, true);
echo " product-detail-buy\" data-sticky-buybox=\"true\">
";
// line 132
echo " ";
$this->displayBlock('page_product_detail_headline', $context, $blocks);
// line 137
echo "
";
// line 139
echo " ";
$this->displayBlock('zen_page_product_detail_short_description', $context, $blocks);
// line 146
echo "
";
// line 147
$this->loadTemplate("@FourtwosixThemeExtension/storefront/page/product-detail/buy-widget.html.twig", "@zenitPlatformStratus/storefront/page/product-detail/index.html.twig", 147)->display($context);
// line 148
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 132
public function block_page_product_detail_headline($context, array $blocks = [])
{
$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", "page_product_detail_headline"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_headline"));
// line 133
echo " <div class=\"row product-detail-headline\">
";
// line 134
$this->loadTemplate("@FourtwosixThemeExtension/storefront/page/product-detail/headline.html.twig", "@zenitPlatformStratus/storefront/page/product-detail/index.html.twig", 134)->display($context);
// line 135
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 139
public function block_zen_page_product_detail_short_description($context, array $blocks = [])
{
$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", "zen_page_product_detail_short_description"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "zen_page_product_detail_short_description"));
// line 140
echo " ";
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 140), "translated", [], "any", false, false, false, 140), "metaDescription", [], "any", false, false, false, 140) && $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "zen-product-details-short-description"))) {
// line 141
echo " <div class=\"product-detail-short-description\">
";
// line 142
echo sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 142), "translated", [], "any", false, false, false, 142), "metaDescription", [], "any", false, false, false, 142);
echo "
</div>
";
}
// line 145
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 156
public function block_page_product_detail_tabs($context, array $blocks = [])
{
$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", "page_product_detail_tabs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_tabs"));
// line 157
echo " <div class=\"product-detail-tabs\">
<div class=\"container\">
";
// line 159
$this->loadTemplate("@FourtwosixAttachments/storefront/page/product-detail/tabs.html.twig", "@zenitPlatformStratus/storefront/page/product-detail/index.html.twig", 159)->display($context);
// line 160
echo " </div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 164
public function block_page_product_detail_cross_selling($context, array $blocks = [])
{
$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", "page_product_detail_cross_selling"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_cross_selling"));
// line 165
echo " ";
if ( !twig_test_empty(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "crossSellings", [], "any", false, false, false, 165), "elements", [], "any", false, false, false, 165))) {
// line 166
echo " <div class=\"product-detail-tabs product-detail-cross-selling\">
<div class=\"container\">
";
// line 168
$this->loadTemplate("@zenitPlatformStratus/storefront/page/product-detail/cross-selling/tabs.html.twig", "@zenitPlatformStratus/storefront/page/product-detail/index.html.twig", 168)->display(twig_array_merge($context, ["crossSellings" => sw_get_attribute($this->env, $this->source, // line 169
($context["page"] ?? null), "crossSellings", [], "any", false, false, false, 169)]));
// line 171
echo " </div>
</div>
";
}
// line 174
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@zenitPlatformStratus/storefront/page/product-detail/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 676 => 174, 671 => 171, 669 => 169, 668 => 168, 664 => 166, 661 => 165, 651 => 164, 639 => 160, 637 => 159, 633 => 157, 623 => 156, 613 => 145, 607 => 142, 604 => 141, 601 => 140, 591 => 139, 580 => 135, 578 => 134, 575 => 133, 565 => 132, 554 => 148, 552 => 147, 549 => 146, 546 => 139, 543 => 137, 540 => 132, 534 => 129, 524 => 128, 513 => 125, 510 => 124, 508 => 122, 507 => 119, 506 => 117, 505 => 116, 504 => 115, 503 => 114, 502 => 113, 501 => 112, 500 => 111, 499 => 110, 498 => 109, 497 => 108, 496 => 107, 494 => 106, 492 => 105, 487 => 104, 477 => 103, 466 => 150, 464 => 128, 461 => 127, 459 => 103, 455 => 101, 452 => 100, 449 => 99, 447 => 98, 444 => 97, 441 => 96, 438 => 95, 435 => 94, 433 => 93, 431 => 92, 428 => 91, 425 => 90, 422 => 89, 420 => 88, 417 => 87, 414 => 86, 411 => 85, 409 => 84, 406 => 83, 403 => 82, 400 => 81, 397 => 80, 394 => 79, 392 => 78, 390 => 77, 387 => 76, 384 => 75, 381 => 74, 378 => 73, 375 => 72, 373 => 71, 371 => 70, 368 => 69, 365 => 68, 362 => 67, 359 => 66, 356 => 65, 354 => 64, 352 => 63, 349 => 62, 346 => 61, 343 => 60, 340 => 59, 337 => 58, 335 => 57, 333 => 56, 330 => 55, 327 => 54, 324 => 53, 322 => 52, 319 => 51, 316 => 50, 313 => 49, 310 => 48, 307 => 47, 304 => 46, 301 => 45, 298 => 44, 295 => 43, 292 => 42, 289 => 40, 279 => 39, 267 => 152, 265 => 39, 262 => 38, 260 => 37, 257 => 36, 253 => 33, 243 => 32, 232 => 175, 230 => 164, 227 => 163, 225 => 156, 222 => 155, 219 => 32, 209 => 31, 198 => 177, 196 => 31, 190 => 27, 170 => 26, 160 => 25, 146 => 20, 142 => 18, 132 => 17, 119 => 14, 117 => 13, 107 => 12, 95 => 9, 92 => 8, 89 => 7, 86 => 6, 83 => 5, 81 => 4, 71 => 3, 48 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
{% block base_body %}
{# ... body classes #}
{% if galleryMode is same as ('scroller') %}
{% set bodyClasses = ['is-gallery-scroller']|merge(bodyClasses) %}
{% endif %}
{{ parent() }}
{% endblock %}
{% block base_main_inner %}
{# ... remove .container here #}
{{ block('base_main_container') }}
{% endblock %}
{% block base_breadcrumb %}
<div class=\"breadcrumb-container\">
<div class=\"container\">
{{ parent() }}
</div>
</div>
{% endblock %}
{% block base_content %}
{% block page_product_detail %}
<div class=\"product-detail\"
itemscope
itemtype=\"https://schema.org/Product\">
{% block page_product_detail_inner %}
{% block page_product_detail_content %}
<div class=\"product-detail-content\">
<div class=\"container\">
{# ... removed headline here #}
{% set mediaItems = page.product.media.media %}
{% block page_product_detail_main %}
{# ... these settings are only available on default product-pages (non-cms product pages) #}
{% set galleryWidthConfig = theme_config('zen-product-gallery-slider-width') ?: 7 %}
{% set buyboxWidthConfig = theme_config('zen-product-gallery-slider-width') ? 12 - theme_config('zen-product-gallery-slider-width') : 5 %}
{% set displayModeConfig = theme_config('zen-product-gallery-slider-display-mode') ?: 'contain' %}
{% set verticalAlignConfig = theme_config('zen-product-gallery-slider-vertical-align') ?: 'center' %}
{% set minHeightConfig = theme_config('zen-product-gallery-slider-min-height-desktop') ? theme_config('zen-product-gallery-slider-min-height-desktop') ~ 'px' : '430px' %}
{% set navigationArrowsConfig = theme_config('zen-product-gallery-slider-navigation-arrows') ?: 'inside' %}
{% set navigationDotsConfig = theme_config('zen-product-gallery-slider-navigation-dots') ?: 'inside' %}
{% set galleryPositionConfig = theme_config('zen-product-gallery-slider-gallery-position') ?: 'left' %}
{% set thumbnailsConfig = thumbnailsConfig ? thumbnailsConfig : true %}
{% if buyboxWidthConfig is same as (0) %}
{% set buyboxWidthConfig = 12 %}
{% endif %}
{% if theme_config('zen-product-gallery-slider-zoom') is null %}
{# fallback for older child-themes without this config #}
{% set zoomConfig = true %}
{% else %}
{% set zoomConfig = theme_config('zen-product-gallery-slider-zoom') %}
{% endif %}
{% if theme_config('zen-product-gallery-slider-zoom-modal') is null %}
{# fallback for older child-themes without this config #}
{% set zoomModalConfig = true %}
{% else %}
{% set zoomModalConfig = theme_config('zen-product-gallery-slider-zoom-modal') %}
{% endif %}
{% if theme_config('zen-product-gallery-slider-keep-aspect-ratio-on-zoom') is null %}
{# fallback for older child-themes without this config #}
{% set keepAspectRatioOnZoom = false %}
{% else %}
{% set keepAspectRatioOnZoom = theme_config('zen-product-gallery-slider-keep-aspect-ratio-on-zoom') %}
{% endif %}
{% if theme_config('zen-product-gallery-slider-magnifier-over-gallery') is null %}
{# fallback for older child-themes without this config #}
{% set magnifierOverGallery = false %}
{% else %}
{% set magnifierOverGallery = theme_config('zen-product-gallery-slider-magnifier-over-gallery') %}
{% endif %}
{% if navigationArrowsConfig is same as ('none') %}
{% set navigationArrowsConfig = null %}
{% endif %}
{% if navigationDotsConfig is same as ('none') %}
{% set navigationDotsConfig = null %}
{% endif %}
{% if galleryPositionConfig is same as ('none') %}
{# if gallery position is none, behave like underneath and hides the thumbnails #}
{% set galleryPositionConfig = 'underneath' %}
{% set hideThumbnailsConfig = true %}
{% endif %}
{% if theme_config(\"zen-category-header-position\") is same as ('absolute') or (theme_config(\"zen-category-header-position\") is same as ('relative') and zenCustomFields.category.zenit_stratus_category_header_position is same as ('absolute')) %}
{% set sectionCategoryOverlay = true %}
{% endif %}
<div class=\"row product-detail-main\">
{% block page_product_detail_media %}
<div class=\"col-lg-7 col-xl-{{ galleryWidthConfig }} product-detail-media\">
{% if page.product.media %}
{% sw_include '@Storefront/storefront/element/cms-element-image-gallery.html.twig' with {
'mediaItems': mediaItems,
'zoom': zoomConfig,
'zoomModal': zoomModalConfig,
'displayMode': displayModeConfig,
'verticalAlign': verticalAlignConfig,
'gutter': gutterConfig,
'minHeight': minHeightConfig,
'navigationArrows': navigationArrowsConfig,
'navigationDots': navigationDotsConfig,
'galleryPosition': galleryPositionConfig,
'hideThumbnails': hideThumbnailsConfig,
'isProduct': true,
'fallbackImageTitle': page.product.translated.name,
'startIndexThumbnails': 1,
'startIndexSlider': 1,
'keepAspectRatioOnZoom': keepAspectRatioOnZoom
} %}
{% endif %}
</div>
{% endblock %}
{% block page_product_detail_buy %}
<div class=\"col-lg-5 col-xl-{{ buyboxWidthConfig }} product-detail-buy\" data-sticky-buybox=\"true\">
{# ... add headline here #}
{% block page_product_detail_headline %}
<div class=\"row product-detail-headline\">
{% sw_include '@Storefront/storefront/page/product-detail/headline.html.twig' %}
</div>
{% endblock %}
{# ... add short description #}
{% block zen_page_product_detail_short_description %}
{% if page.product.translated.metaDescription and theme_config('zen-product-details-short-description') %}
<div class=\"product-detail-short-description\">
{{ page.product.translated.metaDescription|raw }}
</div>
{% endif %}
{% endblock %}
{% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
</div>
{% endblock %}
</div>
{% endblock %}
</div>
</div>
{% endblock %}
{% block page_product_detail_tabs %}
<div class=\"product-detail-tabs\">
<div class=\"container\">
{% sw_include '@Storefront/storefront/page/product-detail/tabs.html.twig' %}
</div>
</div>
{% endblock %}
{% block page_product_detail_cross_selling %}
{% if page.crossSellings.elements is not empty %}
<div class=\"product-detail-tabs product-detail-cross-selling\">
<div class=\"container\">
{% sw_include '@Storefront/storefront/page/product-detail/cross-selling/tabs.html.twig' with {
crossSellings: page.crossSellings
} %}
</div>
</div>
{% endif %}
{% endblock %}
{% endblock %}
</div>
{% endblock %}
{% endblock %}
", "@zenitPlatformStratus/storefront/page/product-detail/index.html.twig", "/var/www/dev.artecon.426.agency/custom/plugins/zenitPlatformStratus/src/Resources/views/storefront/page/product-detail/index.html.twig");
}
}