<?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;
/* @EfbStorefront/storefront/page/product-detail/index.html.twig */
class __TwigTemplate_392b7f222c2ea0976b380a03a99e46ba extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_product_detail_media' => [$this, 'block_page_product_detail_media'],
'page_product_detail_tabs' => [$this, 'block_page_product_detail_tabs'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@IntediaDoofinderSW6/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", "@EfbStorefront/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", "@EfbStorefront/storefront/page/product-detail/index.html.twig"));
$this->parent = $this->loadTemplate("@IntediaDoofinderSW6/storefront/page/product-detail/index.html.twig", "@EfbStorefront/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_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 4
echo " <div class=\"col-lg-7 product-detail-media\">
";
// line 5
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 5), "media", [], "any", false, false, false, 5)) {
// line 6
echo " ";
$this->loadTemplate("@ZeobvAnimatedExperience/storefront/element/cms-element-image-gallery.html.twig", "@EfbStorefront/storefront/page/product-detail/index.html.twig", 6)->display(twig_array_merge($context, ["mediaItems" => // line 7
($context["mediaItems"] ?? null), "zoom" => true, "zoomModal" => true, "displayMode" => "contain", "gutter" => 5, "minHeight" => "430px", "navigationArrows" => "inside", "navigationDots" => false, "galleryPosition" => "left", "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 17
($context["page"] ?? null), "product", [], "any", false, false, false, 17), "translated", [], "any", false, false, false, 17), "name", [], "any", false, false, false, 17), "startIndexThumbnails" => (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 18
($context["page"] ?? null), "product", [], "any", false, false, false, 18), "cover", [], "any", false, false, false, 18), "position", [], "any", false, false, false, 18) + 1), "startIndexSlider" => (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 19
($context["page"] ?? null), "product", [], "any", false, false, false, 19), "cover", [], "any", false, false, false, 19), "position", [], "any", false, false, false, 19) + 1)]));
// line 21
echo " ";
}
// line 22
echo "
";
// line 23
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, 23), "extensions", [], "any", false, false, false, 23), "badges", [], "any", false, false, false, 23)) {
// line 24
echo " <div class=\"product-detail-special-badges\">
";
// line 25
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(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, 25), "extensions", [], "any", false, false, false, 25), "badges", [], "any", false, false, false, 25));
foreach ($context['_seq'] as $context["_key"] => $context["badge"]) {
// line 26
echo " ";
$context["badge"] = sw_get_attribute($this->env, $this->source, $context["badge"], "media", [], "any", false, false, false, 26);
// line 27
echo " <img
src=\"";
// line 28
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["badge"], "url", [], "any", false, false, false, 28), "html", null, true);
echo "\"
alt=\"";
// line 29
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["badge"], "translated", [], "any", false, false, false, 29), "alt", [], "any", false, false, false, 29), "html", null, true);
echo "\"
title=\"";
// line 30
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["badge"], "transladed", [], "any", false, false, false, 30), "title", [], "any", false, false, false, 30), "html", null, true);
echo "\"
class=\"product-detail-special-badge\"
/>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['badge'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 34
echo " </div>
";
}
// line 36
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 39
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 40
echo " <div class=\"product-detail-tabs\">
";
// line 41
$this->loadTemplate("@UandiEfbDownloadCenter/storefront/page/product-detail/tabs/tabs.html.twig", "@EfbStorefront/storefront/page/product-detail/index.html.twig", 41)->display($context);
// line 42
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@EfbStorefront/storefront/page/product-detail/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 150 => 42, 148 => 41, 145 => 40, 135 => 39, 124 => 36, 120 => 34, 110 => 30, 106 => 29, 102 => 28, 99 => 27, 96 => 26, 92 => 25, 89 => 24, 87 => 23, 84 => 22, 81 => 21, 79 => 19, 78 => 18, 77 => 17, 76 => 7, 74 => 6, 72 => 5, 69 => 4, 59 => 3, 36 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
{% 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': '430px',
'navigationArrows': 'inside',
'navigationDots': false,
'galleryPosition': 'left',
'isProduct': true,
'fallbackImageTitle': page.product.translated.name,
'startIndexThumbnails': page.product.cover.position + 1,
'startIndexSlider': page.product.cover.position + 1
} %}
{% endif %}
{% if page.product.extensions.badges %}
<div class=\"product-detail-special-badges\">
{% for badge in page.product.extensions.badges %}
{% set badge = badge.media %}
<img
src=\"{{ badge.url }}\"
alt=\"{{ badge.translated.alt }}\"
title=\"{{ badge.transladed.title }}\"
class=\"product-detail-special-badge\"
/>
{% endfor %}
</div>
{% endif %}
</div>
{% endblock %}
{% block page_product_detail_tabs %}
<div class=\"product-detail-tabs\">
{% sw_include '@EfbStorefront/storefront/page/product-detail/tabs/tabs.html.twig' %}
</div>
{% endblock %}
", "@EfbStorefront/storefront/page/product-detail/index.html.twig", "/var/www/share/efb-elektronik.dev.mc.emzcustomers.de/shopware6/custom/static-plugins/EfbStorefront/Resources/views/storefront/page/product-detail/index.html.twig");
}
}