<?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;
/* @BettenABC/storefront/page/product-detail/index.html.twig */
class __TwigTemplate_2dffa5e6b8d0bae3ad3ec58bfa157628 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_main_inner' => [$this, 'block_base_main_inner'],
'page_product_detail_breadcrumb' => [$this, 'block_page_product_detail_breadcrumb'],
'page_product_detail_media' => [$this, 'block_page_product_detail_media'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@BilobaAdGoogleGtagsjs/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", "@BettenABC/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", "@BettenABC/storefront/page/product-detail/index.html.twig"));
$this->parent = $this->loadTemplate("@BilobaAdGoogleGtagsjs/storefront/page/product-detail/index.html.twig", "@BettenABC/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 11
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 12
echo " ";
$this->displayBlock('page_product_detail_breadcrumb', $context, $blocks);
// line 17
echo "
<div class=\"container container-product-detail\">
";
// line 19
$this->displayBlock("base_main_container", $context, $blocks);
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 12
public function block_page_product_detail_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", "page_product_detail_breadcrumb"));
$__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_breadcrumb"));
// line 13
echo " <div class=\"container breadcrumb-container\">
";
// line 14
$this->loadTemplate("@Storefront/storefront/page/content/index.html.twig", "@BettenABC/storefront/page/product-detail/index.html.twig", 14)->displayBlock("cms_breadcrumb", $context);
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 23
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 24
echo " <div class=\"col-lg-7 product-detail-media\">
";
// line 25
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 25), "media", [], "any", false, false, false, 25)) {
// line 26
echo " ";
$this->loadTemplate("@BettenABC/storefront/element/cms-element-image-gallery.html.twig", "@BettenABC/storefront/page/product-detail/index.html.twig", 26)->display(twig_array_merge($context, ["mediaItems" => // line 27
($context["mediaItems"] ?? null), "zoom" => true, "zoomModal" => true, "displayMode" => "contain", "gutter" => 5, "minHeight" => "270px", "navigationArrows" => "inside", "navigationDots" => "inside", "galleryPosition" => "none", "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 37
($context["page"] ?? null), "product", [], "any", false, false, false, 37), "translated", [], "any", false, false, false, 37), "name", [], "any", false, false, false, 37), "startIndexThumbnails" => (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 38
($context["page"] ?? null), "product", [], "any", false, false, false, 38), "cover", [], "any", false, false, false, 38), "position", [], "any", false, false, false, 38) + 1), "startIndexSlider" => (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 39
($context["page"] ?? null), "product", [], "any", false, false, false, 39), "cover", [], "any", false, false, false, 39), "position", [], "any", false, false, false, 39) + 1), "keepAspectRatioOnZoom" => false, "slideBy" => 1, "responsive" => ["minHeight" => "430px"], "thumbnailSlider" => ["enabled" => true, "gutter" => 20, "rewind" => true, "axis" => "horizontal", "items" => 4, "slideBy" => 1, "controls" => false, "responsive" => ["xs" => ["enabled" => true, "gutter" => 6, "rewind" => true, "axis" => "horizontal", "items" => 3, "controls" => false], "sm" => ["enabled" => true, "gutter" => 16, "rewind" => true, "axis" => "horizontal", "items" => 4, "controls" => false], "md" => ["gutter" => 16, "rewind" => true, "axis" => "horizontal", "items" => 4, "controls" => false], "lg" => ["gutter" => 20, "rewind" => true, "axis" => "horizontal", "items" => 4, "controls" => false], "xl" => ["gutter" => 20, "rewind" => true, "axis" => "horizontal", "items" => 4, "controls" => false]]]]));
// line 94
echo " ";
}
// line 95
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@BettenABC/storefront/page/product-detail/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 141 => 95, 138 => 94, 136 => 39, 135 => 38, 134 => 37, 133 => 27, 131 => 26, 129 => 25, 126 => 24, 116 => 23, 103 => 14, 100 => 13, 90 => 12, 77 => 19, 73 => 17, 70 => 12, 60 => 11, 37 => 2,);
}
public function getSourceContext()
{
return new Source("{#
# Project: www.betten-abc.de
# Company: arboro GmbH
# Created by: Daniel Geike
# Created on: 10.05.22
# Description:
#}
{% sw_extends \"@Storefront/storefront/page/product-detail/index.html.twig\" %}
{% block base_main_inner %}
{% block page_product_detail_breadcrumb %}
<div class=\"container breadcrumb-container\">
{{ block(\"cms_breadcrumb\", \"@Storefront/storefront/page/content/index.html.twig\") }}
</div>
{% endblock %}
<div class=\"container container-product-detail\">
{{ block(\"base_main_container\") }}
</div>
{% endblock %}
{% block page_product_detail_media %}
<div class=\"col-lg-7 product-detail-media\">
{% if page.product.media %}
{% sw_include '@Storefront/storefront/element/cms-element-image-gallery.html.twig' with {
'mediaItems': mediaItems,
'zoom': true,
'zoomModal': true,
'displayMode': 'contain',
'gutter': 5,
'minHeight': '270px',
'navigationArrows': 'inside',
'navigationDots': 'inside',
'galleryPosition': 'none',
'isProduct': true,
'fallbackImageTitle': page.product.translated.name,
'startIndexThumbnails': page.product.cover.position + 1,
'startIndexSlider': page.product.cover.position + 1,
'keepAspectRatioOnZoom': false,
'slideBy': 1,
'responsive': {
'minHeight': '430px',
},
'thumbnailSlider': {
enabled: true,
gutter: 20,
rewind: true,
axis: \"horizontal\",
items: 4,
slideBy: 1,
controls: false,
responsive: {
\"xs\": {
enabled: true,
gutter: 6,
rewind: true,
axis: \"horizontal\",
items: 3,
controls: false
},
\"sm\": {
enabled: true,
gutter: 16,
rewind: true,
axis: \"horizontal\",
items: 4,
controls: false
},
\"md\": {
gutter: 16,
rewind: true,
axis: \"horizontal\",
items: 4,
controls: false
},
\"lg\": {
gutter: 20,
rewind: true,
axis: \"horizontal\",
items: 4,
controls: false
},
\"xl\": {
gutter: 20,
rewind: true,
axis: \"horizontal\",
items: 4,
controls: false
}
}
}
} %}
{% endif %}
</div>
{% endblock %}", "@BettenABC/storefront/page/product-detail/index.html.twig", "/usr/www/users/betten/betten-abc-alt-und-tot.de/custom/plugins/BettenABC/src/Resources/views/storefront/page/product-detail/index.html.twig");
}
}