var/cache/dev_h61dab171fcb3dd073fc68bfbeb4d9256/twig/b9/b9f9a9b587f131de0d1ed9864f8863df000a0ed0f0ceb8ca2e447d406ac06a08.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. /* @KlarnaPayment/storefront/page/product-detail/index.html.twig */
  16. class __TwigTemplate_e570f9423737c9d787123d3cfe0dcd0e 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.             'base_header' => [$this'block_base_header'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@BilobaAdFacebookPixel/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""@KlarnaPayment/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""@KlarnaPayment/storefront/page/product-detail/index.html.twig"));
  40.         $this->parent $this->loadTemplate("@BilobaAdFacebookPixel/storefront/page/product-detail/index.html.twig""@KlarnaPayment/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_base_header($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""base_header"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  55.         // line 4
  56.         echo "    ";
  57.         // line 5
  58.         echo "    ";
  59.         $context["klarnaOnsiteMessagingData"] = (($__internal_compile_0 sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "extensions", [], "any"falsefalsefalse5)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_constant("KlarnaPayment\\Components\\Extension\\TemplateData\\OnsiteMessagingDataExtension::EXTENSION_NAME")] ?? null) : null);
  60.         // line 6
  61.         echo "
  62.     ";
  63.         // line 7
  64.         if ((sw_get_attribute($this->env$this->source, ($context["klarnaOnsiteMessagingData"] ?? null), "klarnaOnsiteMessagingSnippet", [], "any"falsefalsefalse7) && sw_get_attribute($this->env$this->source, ($context["klarnaOnsiteMessagingData"] ?? null), "klarnaOnsiteMessagingScript", [], "any"falsefalsefalse7))) {
  65.             // line 8
  66.             echo "        ";
  67.             echo sw_get_attribute($this->env$this->source, ($context["klarnaOnsiteMessagingData"] ?? null), "klarnaOnsiteMessagingScript", [], "any"falsefalsefalse8);
  68.             echo "
  69.     ";
  70.         }
  71.         // line 10
  72.         echo "
  73.     ";
  74.         // line 11
  75.         $this->displayParentBlock("base_header"$context$blocks);
  76.         echo "
  77. ";
  78.         
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  80.         
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  82.     }
  83.     public function getTemplateName()
  84.     {
  85.         return "@KlarnaPayment/storefront/page/product-detail/index.html.twig";
  86.     }
  87.     public function isTraitable()
  88.     {
  89.         return false;
  90.     }
  91.     public function getDebugInfo()
  92.     {
  93.         return array (  87 => 11,  84 => 10,  78 => 8,  76 => 7,  73 => 6,  70 => 5,  68 => 4,  58 => 3,  35 => 2,);
  94.     }
  95.     public function getSourceContext()
  96.     {
  97.         return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
  98. {% block base_header %}
  99.     {# @var \\KlarnaPayment\\Components\\Extension\\TemplateData\\OnsiteMessagingDataExtension klarnaOnsiteMessagingData #}
  100.     {% set klarnaOnsiteMessagingData = page.extensions[constant('KlarnaPayment\\\\Components\\\\Extension\\\\TemplateData\\\\OnsiteMessagingDataExtension::EXTENSION_NAME')] %}
  101.     {% if klarnaOnsiteMessagingData.klarnaOnsiteMessagingSnippet and klarnaOnsiteMessagingData.klarnaOnsiteMessagingScript %}
  102.         {{ klarnaOnsiteMessagingData.klarnaOnsiteMessagingScript|raw }}
  103.     {% endif %}
  104.     {{ parent() }}
  105. {% endblock %}
  106. ""@KlarnaPayment/storefront/page/product-detail/index.html.twig""/usr/www/users/betten/betten-abc-alt-und-tot.de/custom/plugins/KlarnaPayment/src/Resources/views/storefront/page/product-detail/index.html.twig");
  107.     }
  108. }