var/cache/dev_h94b6c5d2d84092cf319e762d211cfdb3/twig/67/679dafa3ce04992df0b7e0f7228e862a37fe35bc9231c098642a09cc407bb29c.php line 54

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. /* @zenitPlatformShippingBar/storefront/base.html.twig */
  16. class __TwigTemplate_1185534c0e56a7159a3248ced85f1f05dae5d79f40987e231e95d9761eef6635 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.             'zenit_shipping_bar_extends_top' => [$this'block_zenit_shipping_bar_extends_top'],
  27.             'base_footer' => [$this'block_base_footer'],
  28.             'zenit_shipping_bar_extends_bottom_prepend' => [$this'block_zenit_shipping_bar_extends_bottom_prepend'],
  29.             'zenit_shipping_bar_extends_bottom_append' => [$this'block_zenit_shipping_bar_extends_bottom_append'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 2
  35.         return "@Storefront/storefront/base.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@zenitPlatformShippingBar/storefront/base.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@zenitPlatformShippingBar/storefront/base.html.twig"));
  44.         $this->parent $this->loadTemplate("@Storefront/storefront/base.html.twig""@zenitPlatformShippingBar/storefront/base.html.twig"2);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 4
  52.     public function block_base_header($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  59.         // line 5
  60.         echo "    ";
  61.         $this->displayBlock('zenit_shipping_bar_extends_top'$context$blocks);
  62.         // line 19
  63.         echo "
  64.     ";
  65.         // line 20
  66.         $this->displayParentBlock("base_header"$context$blocks);
  67.         echo "
  68. ";
  69.         
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  71.         
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  73.     }
  74.     // line 5
  75.     public function block_zenit_shipping_bar_extends_top($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zenit_shipping_bar_extends_top"));
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zenit_shipping_bar_extends_top"));
  82.         // line 6
  83.         echo "        ";
  84.         $context["zenShippingBar"] = sw_get_attribute($this->env$this->source, (($__internal_compile_0 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse6), "extensions", [], "any"falsefalsefalse6)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["zenitPlatformShippingBar"] ?? null) : null), "config", [], "any"falsefalsefalse6);
  85.         // line 7
  86.         echo "
  87.         ";
  88.         // line 8
  89.         if (((sw_get_attribute($this->env$this->source, ($context["zenShippingBar"] ?? null), "active", [], "any"falsefalsefalse8) && (sw_get_attribute($this->env$this->source, ($context["zenShippingBar"] ?? null), "topBar", [], "any"falsefalsefalse8) == "prepend")) && (sw_get_attribute($this->env$this->source, ($context["zenShippingBar"] ?? null), "paymentExtension", [], "any"falsefalsefalse8) == "noextend"))) {
  90.             // line 9
  91.             echo "            ";
  92.             $this->loadTemplate("@zenitPlatformShippingBar/storefront//shipping-bar/shipping-bar.html.twig""@zenitPlatformShippingBar/storefront/base.html.twig"9)->display(twig_array_merge($context, ["position" => "top""attach" => "prepend""statemanager" => sw_get_attribute($this->env$this->source,             // line 12
  93. ($context["zenShippingBar"] ?? null), "statemanagerHeader", [], "any"falsefalsefalse12), "statemanagerBaseClass" => "d-none""statemanagerIcons" => sw_get_attribute($this->env$this->source,             // line 14
  94. ($context["zenShippingBar"] ?? null), "statemanagerIconsHeader", [], "any"falsefalsefalse14), "statemanagerInformations" => sw_get_attribute($this->env$this->source,             // line 15
  95. ($context["zenShippingBar"] ?? null), "statemanagerInformationsHeader", [], "any"falsefalsefalse15)]));
  96.             // line 17
  97.             echo "        ";
  98.         }
  99.         // line 18
  100.         echo "    ";
  101.         
  102.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  103.         
  104.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  105.     }
  106.     // line 24
  107.     public function block_base_footer($context, array $blocks = [])
  108.     {
  109.         $macros $this->macros;
  110.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_footer"));
  112.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_footer"));
  114.         // line 25
  115.         echo "    ";
  116.         $this->displayBlock('zenit_shipping_bar_extends_bottom_prepend'$context$blocks);
  117.         // line 39
  118.         echo "
  119.     ";
  120.         // line 40
  121.         $this->displayParentBlock("base_footer"$context$blocks);
  122.         echo "
  123.      ";
  124.         // line 42
  125.         $this->displayBlock('zenit_shipping_bar_extends_bottom_append'$context$blocks);
  126.         
  127.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  128.         
  129.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  130.     }
  131.     // line 25
  132.     public function block_zenit_shipping_bar_extends_bottom_prepend($context, array $blocks = [])
  133.     {
  134.         $macros $this->macros;
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zenit_shipping_bar_extends_bottom_prepend"));
  137.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zenit_shipping_bar_extends_bottom_prepend"));
  139.         // line 26
  140.         echo "        ";
  141.         $context["zenShippingBar"] = sw_get_attribute($this->env$this->source, (($__internal_compile_1 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse26), "extensions", [], "any"falsefalsefalse26)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["zenitPlatformShippingBar"] ?? null) : null), "config", [], "any"falsefalsefalse26);
  142.         // line 27
  143.         echo "
  144.         ";
  145.         // line 28
  146.         if (((sw_get_attribute($this->env$this->source, ($context["zenShippingBar"] ?? null), "active", [], "any"falsefalsefalse28) && (sw_get_attribute($this->env$this->source, ($context["zenShippingBar"] ?? null), "footerBar", [], "any"falsefalsefalse28) == "prepend")) && (sw_get_attribute($this->env$this->source, ($context["zenShippingBar"] ?? null), "paymentExtension", [], "any"falsefalsefalse28) == "noextend"))) {
  147.             // line 29
  148.             echo "            ";
  149.             $this->loadTemplate("@zenitPlatformShippingBar/storefront//shipping-bar/shipping-bar.html.twig""@zenitPlatformShippingBar/storefront/base.html.twig"29)->display(twig_array_merge($context, ["position" => "bottom""attach" => "prepend""statemanager" => sw_get_attribute($this->env$this->source,             // line 32
  150. ($context["zenShippingBar"] ?? null), "statemanagerFooter", [], "any"falsefalsefalse32), "statemanagerBaseClass" => "d-none""statemanagerIcons" => sw_get_attribute($this->env$this->source,             // line 34
  151. ($context["zenShippingBar"] ?? null), "statemanagerIconsFooter", [], "any"falsefalsefalse34), "statemanagerInformations" => sw_get_attribute($this->env$this->source,             // line 35
  152. ($context["zenShippingBar"] ?? null), "statemanagerInformationsFooter", [], "any"falsefalsefalse35)]));
  153.             // line 37
  154.             echo "        ";
  155.         }
  156.         // line 38
  157.         echo "    ";
  158.         
  159.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  160.         
  161.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  162.     }
  163.     // line 42
  164.     public function block_zenit_shipping_bar_extends_bottom_append($context, array $blocks = [])
  165.     {
  166.         $macros $this->macros;
  167.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  168.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zenit_shipping_bar_extends_bottom_append"));
  169.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  170.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zenit_shipping_bar_extends_bottom_append"));
  171.         // line 43
  172.         echo "        ";
  173.         $context["zenShippingBar"] = sw_get_attribute($this->env$this->source, (($__internal_compile_2 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse43), "extensions", [], "any"falsefalsefalse43)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["zenitPlatformShippingBar"] ?? null) : null), "config", [], "any"falsefalsefalse43);
  174.         // line 44
  175.         echo "
  176.         ";
  177.         // line 45
  178.         if (((sw_get_attribute($this->env$this->source, ($context["zenShippingBar"] ?? null), "active", [], "any"falsefalsefalse45) && (sw_get_attribute($this->env$this->source, ($context["zenShippingBar"] ?? null), "footerBar", [], "any"falsefalsefalse45) == "append")) && (sw_get_attribute($this->env$this->source, ($context["zenShippingBar"] ?? null), "paymentExtension", [], "any"falsefalsefalse45) == "noextend"))) {
  179.             // line 46
  180.             echo "            ";
  181.             $this->loadTemplate("@zenitPlatformShippingBar/storefront//shipping-bar/shipping-bar.html.twig""@zenitPlatformShippingBar/storefront/base.html.twig"46)->display(twig_array_merge($context, ["position" => "bottom""attach" => "append""statemanager" => sw_get_attribute($this->env$this->source,             // line 49
  182. ($context["zenShippingBar"] ?? null), "statemanagerFooter", [], "any"falsefalsefalse49), "statemanagerBaseClass" => "d-none""statemanagerIcons" => sw_get_attribute($this->env$this->source,             // line 51
  183. ($context["zenShippingBar"] ?? null), "statemanagerIconsFooter", [], "any"falsefalsefalse51), "statemanagerInformations" => sw_get_attribute($this->env$this->source,             // line 52
  184. ($context["zenShippingBar"] ?? null), "statemanagerInformationsFooter", [], "any"falsefalsefalse52)]));
  185.             // line 54
  186.             echo "        ";
  187.         }
  188.         // line 55
  189.         echo "     ";
  190.         
  191.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  192.         
  193.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  194.     }
  195.     public function getTemplateName()
  196.     {
  197.         return "@zenitPlatformShippingBar/storefront/base.html.twig";
  198.     }
  199.     public function isTraitable()
  200.     {
  201.         return false;
  202.     }
  203.     public function getDebugInfo()
  204.     {
  205.         return array (  222 => 55,  219 => 54,  217 => 52,  216 => 51,  215 => 49,  213 => 46,  211 => 45,  208 => 44,  205 => 43,  195 => 42,  185 => 38,  182 => 37,  180 => 35,  179 => 34,  178 => 32,  176 => 29,  174 => 28,  171 => 27,  168 => 26,  158 => 25,  148 => 42,  143 => 40,  140 => 39,  137 => 25,  127 => 24,  117 => 18,  114 => 17,  112 => 15,  111 => 14,  110 => 12,  108 => 9,  106 => 8,  103 => 7,  100 => 6,  90 => 5,  78 => 20,  75 => 19,  72 => 5,  62 => 4,  39 => 2,);
  206.     }
  207.     public function getSourceContext()
  208.     {
  209.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  210. {# Include the shipping bar top position #}
  211. {% block base_header %}
  212.     {% block zenit_shipping_bar_extends_top %}
  213.         {% set zenShippingBar = context.context.extensions['zenitPlatformShippingBar'].config %}
  214.         {% if zenShippingBar.active and zenShippingBar.topBar == 'prepend' and zenShippingBar.paymentExtension == 'noextend' %}
  215.             {% sw_include '@Storefront/storefront//shipping-bar/shipping-bar.html.twig' with {
  216.                 position: 'top',
  217.                 attach: 'prepend',
  218.                 statemanager: zenShippingBar.statemanagerHeader,
  219.                 statemanagerBaseClass: 'd-none',
  220.                 statemanagerIcons: zenShippingBar.statemanagerIconsHeader,
  221.                 statemanagerInformations: zenShippingBar.statemanagerInformationsHeader
  222.             } %}
  223.         {% endif %}
  224.     {% endblock %}
  225.     {{ parent() }}
  226. {% endblock %}
  227. {# Include the shipping bar bottom position #}
  228. {% block base_footer %}
  229.     {% block zenit_shipping_bar_extends_bottom_prepend %}
  230.         {% set zenShippingBar = context.context.extensions['zenitPlatformShippingBar'].config %}
  231.         {% if zenShippingBar.active and zenShippingBar.footerBar == 'prepend' and zenShippingBar.paymentExtension == 'noextend' %}
  232.             {% sw_include '@Storefront/storefront//shipping-bar/shipping-bar.html.twig' with {
  233.                 position: 'bottom',
  234.                 attach: 'prepend',
  235.                 statemanager: zenShippingBar.statemanagerFooter,
  236.                 statemanagerBaseClass: 'd-none',
  237.                 statemanagerIcons: zenShippingBar.statemanagerIconsFooter,
  238.                 statemanagerInformations: zenShippingBar.statemanagerInformationsFooter
  239.             } %}
  240.         {% endif %}
  241.     {% endblock %}
  242.     {{ parent() }}
  243.      {% block zenit_shipping_bar_extends_bottom_append %}
  244.         {% set zenShippingBar = context.context.extensions['zenitPlatformShippingBar'].config %}
  245.         {% if zenShippingBar.active and zenShippingBar.footerBar == 'append' and zenShippingBar.paymentExtension == 'noextend' %}
  246.             {% sw_include '@Storefront/storefront//shipping-bar/shipping-bar.html.twig' with {
  247.                 position: 'bottom',
  248.                 attach: 'append',
  249.                 statemanager: zenShippingBar.statemanagerFooter,
  250.                 statemanagerBaseClass: 'd-none',
  251.                 statemanagerIcons: zenShippingBar.statemanagerIconsFooter,
  252.                 statemanagerInformations: zenShippingBar.statemanagerInformationsFooter
  253.             } %}
  254.         {% endif %}
  255.      {% endblock %}
  256. {% endblock %}
  257. ""@zenitPlatformShippingBar/storefront/base.html.twig""/srv/users/liamoriasw6/apps/liamoriasw6/custom/plugins/zenitPlatformShippingBar/src/Resources/views/storefront/base.html.twig");
  258.     }
  259. }