<?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;
/* @CbaxModulManufacturers/storefront/page/product-detail/index.html.twig */
class __TwigTemplate_b6686237860dd0d1b0d6cb17ac0619f1 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_product_detail_tabs' => [$this, 'block_page_product_detail_tabs'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@TcinnThemeWareModern/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", "@CbaxModulManufacturers/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", "@CbaxModulManufacturers/storefront/page/product-detail/index.html.twig"));
$this->parent = $this->loadTemplate("@TcinnThemeWareModern/storefront/page/product-detail/index.html.twig", "@CbaxModulManufacturers/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_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 4
echo "
";
// line 5
$context["sliderPosition"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "CbaxModulManufacturers.config.sliderPosition");
// line 6
echo "
";
// line 7
if ((($context["sliderPosition"] ?? null) == "")) {
// line 8
echo " \t";
$context["sliderPosition"] = "aboveDescription";
// line 9
echo " ";
}
// line 10
echo "
";
// line 11
if ((($context["sliderPosition"] ?? null) == "belowDescription")) {
// line 12
echo " \t";
$this->displayParentBlock("page_product_detail_tabs", $context, $blocks);
echo "
";
}
// line 14
echo "
";
// line 15
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "CbaxModulManufacturers.config.active") && $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "CbaxModulManufacturers.config.showProductSlider"))) {
// line 16
echo " ";
$this->loadTemplate("@CbaxModulManufacturers/storefront/cbax-manufacturer/component/product/product-slider.html.twig", "@CbaxModulManufacturers/storefront/page/product-detail/index.html.twig", 16)->display($context);
// line 17
echo " ";
}
// line 18
echo "
";
// line 19
if ((($context["sliderPosition"] ?? null) == "aboveDescription")) {
// line 20
echo " \t";
$this->displayParentBlock("page_product_detail_tabs", $context, $blocks);
echo "
";
}
// line 22
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CbaxModulManufacturers/storefront/page/product-detail/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 117 => 22, 111 => 20, 109 => 19, 106 => 18, 103 => 17, 100 => 16, 98 => 15, 95 => 14, 89 => 12, 87 => 11, 84 => 10, 81 => 9, 78 => 8, 76 => 7, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
{% block page_product_detail_tabs %}
{% set sliderPosition = config('CbaxModulManufacturers.config.sliderPosition') %}
{% if sliderPosition == '' %}
\t{% set sliderPosition = 'aboveDescription' %}
{% endif %}
{% if sliderPosition == 'belowDescription' %}
\t{{ parent() }}
{% endif %}
{% if config('CbaxModulManufacturers.config.active') and config('CbaxModulManufacturers.config.showProductSlider') %}
{% sw_include '@Storefront/storefront/cbax-manufacturer/component/product/product-slider.html.twig' %}
{% endif %}
{% if sliderPosition == 'aboveDescription' %}
\t{{ parent() }}
{% endif %}
{% endblock %}
", "@CbaxModulManufacturers/storefront/page/product-detail/index.html.twig", "/var/customers/webs/kew/htdocs6/vendor/store.shopware.com/cbaxmodulmanufacturers/src/Resources/views/storefront/page/product-detail/index.html.twig");
}
}