var/cache/dev_h61dab171fcb3dd073fc68bfbeb4d9256/twig/5f/5f187f9ee5ae113be9918410740e06850925f3c82d25d73b07d7eeb01e7b29d6.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @CbaxModulManufacturers/storefront/page/product-detail/index.html.twig */
  16. class __TwigTemplate_635f3dbb0543c8fde28b2f6f10a63db0 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'page_product_detail_tabs' => [$this'block_page_product_detail_tabs'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@KlarnaPayment/storefront/page/product-detail/index.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CbaxModulManufacturers/storefront/page/product-detail/index.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CbaxModulManufacturers/storefront/page/product-detail/index.html.twig"));
  40.         $this->parent $this->loadTemplate("@KlarnaPayment/storefront/page/product-detail/index.html.twig""@CbaxModulManufacturers/storefront/page/product-detail/index.html.twig"2);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_page_product_detail_tabs($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_tabs"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_tabs"));
  55.         // line 4
  56.         echo "
  57.     ";
  58.         // line 5
  59.         $context["sliderPosition"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"CbaxModulManufacturers.config.sliderPosition");
  60.         // line 6
  61.         echo "
  62.     ";
  63.         // line 7
  64.         if ((($context["sliderPosition"] ?? null) == "")) {
  65.             // line 8
  66.             echo "    \t";
  67.             $context["sliderPosition"] = "aboveDescription";
  68.             // line 9
  69.             echo "    ";
  70.         }
  71.         // line 10
  72.         echo "
  73.     ";
  74.         // line 11
  75.         if ((($context["sliderPosition"] ?? null) == "belowDescription")) {
  76.             // line 12
  77.             echo "    \t";
  78.             $this->displayParentBlock("page_product_detail_tabs"$context$blocks);
  79.             echo "
  80.     ";
  81.         }
  82.         // line 14
  83.         echo "
  84.     ";
  85.         // line 15
  86.         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"))) {
  87.             // line 16
  88.             echo "        ";
  89.             $this->loadTemplate("@CbaxModulManufacturers/storefront/cbax-manufacturer/component/product/product-slider.html.twig""@CbaxModulManufacturers/storefront/page/product-detail/index.html.twig"16)->display($context);
  90.             // line 17
  91.             echo "    ";
  92.         }
  93.         // line 18
  94.         echo "
  95.     ";
  96.         // line 19
  97.         if ((($context["sliderPosition"] ?? null) == "aboveDescription")) {
  98.             // line 20
  99.             echo "    \t";
  100.             $this->displayParentBlock("page_product_detail_tabs"$context$blocks);
  101.             echo "
  102.     ";
  103.         }
  104.         // line 22
  105.         echo "
  106. ";
  107.         
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109.         
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  111.     }
  112.     public function getTemplateName()
  113.     {
  114.         return "@CbaxModulManufacturers/storefront/page/product-detail/index.html.twig";
  115.     }
  116.     public function isTraitable()
  117.     {
  118.         return false;
  119.     }
  120.     public function getDebugInfo()
  121.     {
  122.         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,);
  123.     }
  124.     public function getSourceContext()
  125.     {
  126.         return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
  127. {% block page_product_detail_tabs %}
  128.     {% set sliderPosition = config('CbaxModulManufacturers.config.sliderPosition') %}
  129.     {% if sliderPosition == '' %}
  130.     \t{% set sliderPosition = 'aboveDescription' %}
  131.     {% endif %}
  132.     {% if sliderPosition == 'belowDescription' %}
  133.     \t{{ parent() }}
  134.     {% endif %}
  135.     {% if config('CbaxModulManufacturers.config.active') and config('CbaxModulManufacturers.config.showProductSlider') %}
  136.         {% sw_include '@Storefront/storefront/cbax-manufacturer/component/product/product-slider.html.twig' %}
  137.     {% endif %}
  138.     {% if sliderPosition == 'aboveDescription' %}
  139.     \t{{ parent() }}
  140.     {% endif %}
  141. {% endblock %}
  142. ""@CbaxModulManufacturers/storefront/page/product-detail/index.html.twig""/usr/www/users/betten/betten-abc-alt-und-tot.de/custom/plugins/CbaxModulManufacturers/src/Resources/views/storefront/page/product-detail/index.html.twig");
  143.     }
  144. }