var/cache/dev_h964aaf7676cbd186c58c2ecce1205bb0/twig/81/81c99912d5406287b6122d9a48cb601a6ebd436f2e8dfca4926dbd77499ee62d.php line 52

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. /* @NetiNextEasyCouponDesigns/storefront/base.html.twig */
  16. class __TwigTemplate_0bf46666cea54b21e0042ea90123fc5a 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_body_script' => [$this'block_base_body_script'],
  26.             'base_body_script_neti_easy_coupon_designs' => [$this'block_base_body_script_neti_easy_coupon_designs'],
  27.             'base_pseudo_modal' => [$this'block_base_pseudo_modal'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 2
  33.         return "@SwagCustomNotification/storefront/base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@NetiNextEasyCouponDesigns/storefront/base.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@NetiNextEasyCouponDesigns/storefront/base.html.twig"));
  42.         $this->parent $this->loadTemplate("@SwagCustomNotification/storefront/base.html.twig""@NetiNextEasyCouponDesigns/storefront/base.html.twig"2);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 3
  50.     public function block_base_body_script($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script"));
  57.         // line 4
  58.         echo "    ";
  59.         $this->displayParentBlock("base_body_script"$context$blocks);
  60.         echo "
  61.     ";
  62.         // line 6
  63.         $this->displayBlock('base_body_script_neti_easy_coupon_designs'$context$blocks);
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.     }
  69.     public function block_base_body_script_neti_easy_coupon_designs($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script_neti_easy_coupon_designs"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script_neti_easy_coupon_designs"));
  76.         // line 7
  77.         echo "        ";
  78.         $this->loadTemplate("@NetiNextEasyCouponDesigns/storefront/component/neti-easy-coupon-designs/body-script.html.twig""@NetiNextEasyCouponDesigns/storefront/base.html.twig"7)->display($context);
  79.         // line 8
  80.         echo "    ";
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.     }
  86.     // line 11
  87.     public function block_base_pseudo_modal($context, array $blocks = [])
  88.     {
  89.         $macros $this->macros;
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_pseudo_modal"));
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_pseudo_modal"));
  94.         // line 12
  95.         echo "    ";
  96.         $context["product"] = null;
  97.         // line 13
  98.         echo "    ";
  99.         if (sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"truetruefalse13)) {
  100.             // line 14
  101.             echo "        ";
  102.             $context["product"] = sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse14);
  103.             // line 15
  104.             echo "    ";
  105.         }
  106.         // line 16
  107.         echo "
  108.     ";
  109.         // line 17
  110.         if (((((sw_get_attribute($this->env$this->source,         // line 18
  111. ($context["product"] ?? null), "extensions", [], "any"truetruefalse18) && sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 19
  112. ($context["product"] ?? null), "extensions", [], "any"falsetruefalse19), "netiEasyCouponProduct", [], "any"truetruefalse19)) && sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 20
  113. ($context["product"] ?? null), "extensions", [], "any"falsetruefalse20), "netiEasyCouponProduct", [], "any"falsetruefalse20), "extensions", [], "any"truetruefalse20)) && sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 21
  114. ($context["product"] ?? null), "extensions", [], "any"falsetruefalse21), "netiEasyCouponProduct", [], "any"falsetruefalse21), "extensions", [], "any"falsetruefalse21), "netiEasyCouponDesigns", [], "any"truetruefalse21)) && (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 22
  115. ($context["product"] ?? null), "extensions", [], "any"falsefalsefalse22), "netiEasyCouponProduct", [], "any"falsefalsefalse22), "extensions", [], "any"falsefalsefalse22), "netiEasyCouponDesigns", [], "any"falsefalsefalse22), "count", [], "any"falsefalsefalse22)))) {
  116.             // line 24
  117.             echo "        ";
  118.             $this->loadTemplate("@NetiNextEasyCouponDesigns/storefront/page/product-detail/easycoupon-designs/preview-modal.html.twig""@NetiNextEasyCouponDesigns/storefront/base.html.twig"24)->display($context);
  119.             // line 25
  120.             echo "    ";
  121.         }
  122.         // line 26
  123.         echo "
  124.     ";
  125.         // line 27
  126.         $this->displayParentBlock("base_pseudo_modal"$context$blocks);
  127.         echo "
  128. ";
  129.         
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  131.         
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  133.     }
  134.     public function getTemplateName()
  135.     {
  136.         return "@NetiNextEasyCouponDesigns/storefront/base.html.twig";
  137.     }
  138.     public function isTraitable()
  139.     {
  140.         return false;
  141.     }
  142.     public function getDebugInfo()
  143.     {
  144.         return array (  149 => 27,  146 => 26,  143 => 25,  140 => 24,  138 => 22,  137 => 21,  136 => 20,  135 => 19,  134 => 18,  133 => 17,  130 => 16,  127 => 15,  124 => 14,  121 => 13,  118 => 12,  108 => 11,  98 => 8,  95 => 7,  76 => 6,  70 => 4,  60 => 3,  37 => 2,);
  145.     }
  146.     public function getSourceContext()
  147.     {
  148.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  149. {% block base_body_script %}
  150.     {{ parent() }}
  151.     {% block base_body_script_neti_easy_coupon_designs %}
  152.         {% sw_include '@Storefront/storefront/component/neti-easy-coupon-designs/body-script.html.twig' %}
  153.     {% endblock %}
  154. {% endblock %}
  155. {% block base_pseudo_modal %}
  156.     {% set product = null %}
  157.     {% if page.product is defined %}
  158.         {% set product = page.product %}
  159.     {% endif %}
  160.     {% if
  161.         product.extensions is defined
  162.         and product.extensions.netiEasyCouponProduct is defined
  163.         and product.extensions.netiEasyCouponProduct.extensions is defined
  164.         and product.extensions.netiEasyCouponProduct.extensions.netiEasyCouponDesigns is defined
  165.         and 0 < product.extensions.netiEasyCouponProduct.extensions.netiEasyCouponDesigns.count
  166.     %}
  167.         {% sw_include '@Storefront/storefront/page/product-detail/easycoupon-designs/preview-modal.html.twig' %}
  168.     {% endif %}
  169.     {{ parent() }}
  170. {% endblock %}
  171. ""@NetiNextEasyCouponDesigns/storefront/base.html.twig""/var/www/vhosts/shop.bluebrix.de/httpdocs/custom/plugins/NetiNextEasyCouponDesigns/src/Resources/views/storefront/base.html.twig");
  172.     }
  173. }