var/cache/dev_h964aaf7676cbd186c58c2ecce1205bb0/twig/f4/f4a3416f4a9458053b7b5c9eca4b44318cdd92e596561fe73b59a239ac526785.php line 50

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. /* @WebkulBookingReservation/storefront/page/checkout/cart/index.html.twig */
  16. class __TwigTemplate_32d48b6b9ed8238528a5434c11401ba1 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_checkout_cart_shipping_costs' => [$this'block_page_checkout_cart_shipping_costs'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@Storefront/storefront/page/checkout/cart/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""@WebkulBookingReservation/storefront/page/checkout/cart/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""@WebkulBookingReservation/storefront/page/checkout/cart/index.html.twig"));
  40.         $this->parent $this->loadTemplate("@Storefront/storefront/page/checkout/cart/index.html.twig""@WebkulBookingReservation/storefront/page/checkout/cart/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_checkout_cart_shipping_costs($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_checkout_cart_shipping_costs"));
  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_checkout_cart_shipping_costs"));
  55.         // line 4
  56.         echo "    ";
  57.         $context['_parent'] = $context;
  58.         $context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cart", [], "any"falsefalsefalse4), "lineItems", [], "any"falsefalsefalse4));
  59.         foreach ($context['_seq'] as $context["_key"] => $context["lineItem"]) {
  60.             // line 5
  61.             echo "        ";
  62.             if ((($__internal_compile_0 sw_get_attribute($this->env$this->source$context["lineItem"], "extensions", [], "any"falsefalsefalse5)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["booking"] ?? null) : null)) {
  63.                 // line 6
  64.                 echo "        ";
  65.             } else {
  66.                 // line 7
  67.                 echo "            ";
  68.                 $this->displayParentBlock("page_checkout_cart_shipping_costs"$context$blocks);
  69.                 echo "
  70.         ";
  71.             }
  72.             // line 9
  73.             echo "    ";
  74.         }
  75.         $_parent $context['_parent'];
  76.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lineItem'], $context['_parent'], $context['loop']);
  77.         $context array_intersect_key($context$_parent) + $_parent;
  78.         
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  80.         
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  82.     }
  83.     public function getTemplateName()
  84.     {
  85.         return "@WebkulBookingReservation/storefront/page/checkout/cart/index.html.twig";
  86.     }
  87.     public function isTraitable()
  88.     {
  89.         return false;
  90.     }
  91.     public function getDebugInfo()
  92.     {
  93.         return array (  85 => 9,  79 => 7,  76 => 6,  73 => 5,  68 => 4,  58 => 3,  35 => 2,);
  94.     }
  95.     public function getSourceContext()
  96.     {
  97.         return new Source("{% sw_extends '@Storefront/storefront/page/checkout/cart/index.html.twig' %}
  98. {% block page_checkout_cart_shipping_costs %}
  99.     {% for lineItem in page.cart.lineItems %}
  100.         {% if lineItem.extensions['booking'] %}
  101.         {% else %}
  102.             {{parent()}}
  103.         {% endif %}
  104.     {% endfor %}
  105. {% endblock %}""@WebkulBookingReservation/storefront/page/checkout/cart/index.html.twig""/var/www/vhosts/shop.bluebrix.de/httpdocs/custom/plugins/WebkulBookingReservation/src/Resources/views/storefront/page/checkout/cart/index.html.twig");
  106.     }
  107. }