<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @Storefront/storefront/page/checkout/cart/index.html.twig */
class __TwigTemplate_18e9eb483ea3aa8cda96f9863e535f347a080fceb6855ca74ad961717275936d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_head' => [$this, 'block_base_head'],
'page_checkout_container' => [$this, 'block_page_checkout_container'],
'page_checkout_main_content' => [$this, 'block_page_checkout_main_content'],
'page_checkout_cart' => [$this, 'block_page_checkout_cart'],
'page_checkout_cart_header' => [$this, 'block_page_checkout_cart_header'],
'page_checkout_cart_product_table' => [$this, 'block_page_checkout_cart_product_table'],
'page_checkout_cart_table_header' => [$this, 'block_page_checkout_cart_table_header'],
'page_checkout_cart_table_items' => [$this, 'block_page_checkout_cart_table_items'],
'page_checkout_cart_table_item' => [$this, 'block_page_checkout_cart_table_item'],
'page_checkout_item' => [$this, 'block_page_checkout_item'],
'page_checkout_cart_hidden_line_items_information' => [$this, 'block_page_checkout_cart_hidden_line_items_information'],
'page_checkout_cart_add_product_and_shipping' => [$this, 'block_page_checkout_cart_add_product_and_shipping'],
'page_checkout_cart_add_product' => [$this, 'block_page_checkout_cart_add_product'],
'page_checkout_cart_add_product_csrf' => [$this, 'block_page_checkout_cart_add_product_csrf'],
'page_checkout_cart_add_product_redirect' => [$this, 'block_page_checkout_cart_add_product_redirect'],
'page_checkout_cart_add_product_input_group' => [$this, 'block_page_checkout_cart_add_product_input_group'],
'page_checkout_cart_add_product_label' => [$this, 'block_page_checkout_cart_add_product_label'],
'page_checkout_cart_add_product_input' => [$this, 'block_page_checkout_cart_add_product_input'],
'page_checkout_cart_add_product_submit' => [$this, 'block_page_checkout_cart_add_product_submit'],
'page_checkout_cart_shipping_costs' => [$this, 'block_page_checkout_cart_shipping_costs'],
'page_checkout_cart_shipping_costs_csrf' => [$this, 'block_page_checkout_cart_shipping_costs_csrf'],
'page_checkout_cart_shipping_costs_trigger' => [$this, 'block_page_checkout_cart_shipping_costs_trigger'],
'page_checkout_cart_shipping_costs_trigger_icon' => [$this, 'block_page_checkout_cart_shipping_costs_trigger_icon'],
'page_checkout_cart_shipping_costs_form_group' => [$this, 'block_page_checkout_cart_shipping_costs_form_group'],
'page_checkout_cart_shipping_costs_form_group_country' => [$this, 'block_page_checkout_cart_shipping_costs_form_group_country'],
'page_checkout_cart_shipping_costs_form_group_payment_method' => [$this, 'block_page_checkout_cart_shipping_costs_form_group_payment_method'],
'page_checkout_cart_shipping_costs_form_group_shipping_method' => [$this, 'block_page_checkout_cart_shipping_costs_form_group_shipping_method'],
'page_checkout_aside_actions' => [$this, 'block_page_checkout_aside_actions'],
'page_checkout_cart_add_promotion' => [$this, 'block_page_checkout_cart_add_promotion'],
'page_checkout_cart_add_promotion_csrf' => [$this, 'block_page_checkout_cart_add_promotion_csrf'],
'page_checkout_cart_add_promotion_forward' => [$this, 'block_page_checkout_cart_add_promotion_forward'],
'page_checkout_cart_add_promotion_input_group' => [$this, 'block_page_checkout_cart_add_promotion_input_group'],
'page_checkout_cart_add_promotion_label' => [$this, 'block_page_checkout_cart_add_promotion_label'],
'page_checkout_cart_add_promotion_input' => [$this, 'block_page_checkout_cart_add_promotion_input'],
'page_checkout_cart_add_promotion_submit' => [$this, 'block_page_checkout_cart_add_promotion_submit'],
'page_checkout_cart_action_proceed' => [$this, 'block_page_checkout_cart_action_proceed'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@Storefront/storefront/page/checkout/_page.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Storefront/storefront/page/checkout/cart/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Storefront/storefront/page/checkout/cart/index.html.twig"));
$this->parent = $this->loadTemplate("@Storefront/storefront/page/checkout/_page.html.twig", "@Storefront/storefront/page/checkout/cart/index.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_base_head($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_head"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_head"));
// line 4
echo " ";
$this->loadTemplate("@Storefront/storefront/page/checkout/cart/meta.html.twig", "@Storefront/storefront/page/checkout/cart/index.html.twig", 4)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 7
public function block_page_checkout_container($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_container"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_container"));
// line 8
echo " ";
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cart", [], "any", false, false, false, 8), "lineItems", [], "any", false, false, false, 8), "count", [], "any", false, false, false, 8) === 0)) {
// line 9
echo " ";
$this->loadTemplate("@Storefront/storefront/utilities/alert.html.twig", "@Storefront/storefront/page/checkout/cart/index.html.twig", 9)->display(twig_array_merge($context, ["type" => "info", "content" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.cartEmpty"))]));
// line 13
echo "
";
// line 14
$context["messages"] = sw_get_attribute($this->env, $this->source, ($context["app"] ?? null), "flashes", [], "any", false, false, false, 14);
// line 15
echo "
";
// line 16
if ((twig_length_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["messages"] ?? null), "danger", [], "any", false, false, false, 16)) > 0)) {
// line 17
echo " <div class=\"flashbags\">
";
// line 18
$this->loadTemplate("@Storefront/storefront/utilities/alert.html.twig", "@Storefront/storefront/page/checkout/cart/index.html.twig", 18)->display(twig_array_merge($context, ["type" => "danger", "list" => sw_get_attribute($this->env, $this->source, ($context["messages"] ?? null), "danger", [], "any", false, false, false, 18)]));
// line 19
echo " </div>
";
}
// line 21
echo " ";
} else {
// line 22
echo " ";
$this->displayParentBlock("page_checkout_container", $context, $blocks);
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 26
public function block_page_checkout_main_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_main_content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_main_content"));
// line 27
echo " ";
$this->displayBlock('page_checkout_cart', $context, $blocks);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function block_page_checkout_cart($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart"));
// line 28
echo " ";
$this->displayBlock('page_checkout_cart_header', $context, $blocks);
// line 33
echo "
";
// line 34
$this->displayBlock('page_checkout_cart_product_table', $context, $blocks);
// line 63
echo "
";
// line 64
$this->displayBlock('page_checkout_cart_hidden_line_items_information', $context, $blocks);
// line 70
echo "
";
// line 71
$this->displayBlock('page_checkout_cart_add_product_and_shipping', $context, $blocks);
// line 225
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 28
public function block_page_checkout_cart_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_header"));
// line 29
echo " <h1 class=\"cart-main-header\">
";
// line 30
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.cartHeader"));
echo "
</h1>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 34
public function block_page_checkout_cart_product_table($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_product_table"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_product_table"));
// line 35
echo " <div class=\"card checkout-product-table\">
<div class=\"card-body\">
";
// line 37
$this->displayBlock('page_checkout_cart_table_header', $context, $blocks);
// line 45
echo "
";
// line 46
$this->displayBlock('page_checkout_cart_table_items', $context, $blocks);
// line 60
echo " </div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 37
public function block_page_checkout_cart_table_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_header"));
// line 38
echo " ";
// line 39
echo " ";
if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->feature("v6.5.0.0")) {
// line 40
echo " ";
$this->loadTemplate("@Storefront/storefront/component/checkout/cart-header.html.twig", "@Storefront/storefront/page/checkout/cart/index.html.twig", 40)->display($context);
// line 41
echo " ";
} else {
// line 42
echo " ";
$this->loadTemplate("@Storefront/storefront/page/checkout/cart/cart-product-header.html.twig", "@Storefront/storefront/page/checkout/cart/index.html.twig", 42)->display($context);
// line 43
echo " ";
}
// line 44
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 46
public function block_page_checkout_cart_table_items($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_items"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_items"));
// line 47
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cart", [], "any", false, false, false, 47), "lineItems", [], "any", false, false, false, 47));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["lineItem"]) {
// line 48
echo " ";
$this->displayBlock('page_checkout_cart_table_item', $context, $blocks);
// line 58
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lineItem'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 59
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 48
public function block_page_checkout_cart_table_item($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_item"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_item"));
// line 49
echo " ";
$this->displayBlock('page_checkout_item', $context, $blocks);
// line 57
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 49
public function block_page_checkout_item($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_item"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_item"));
// line 50
echo " ";
// line 51
echo " ";
if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->feature("v6.5.0.0")) {
// line 52
echo " ";
$this->loadTemplate("@Storefront/storefront/component/line-item/line-item.html.twig", "@Storefront/storefront/page/checkout/cart/index.html.twig", 52)->display($context);
// line 53
echo " ";
} else {
// line 54
echo " ";
$this->loadTemplate("@SwagCustomizedProducts/storefront/page/checkout/checkout-item.html.twig", "@Storefront/storefront/page/checkout/cart/index.html.twig", 54)->display($context);
// line 55
echo " ";
}
// line 56
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 64
public function block_page_checkout_cart_hidden_line_items_information($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_hidden_line_items_information"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_hidden_line_items_information"));
// line 65
echo " ";
$this->loadTemplate("@Storefront/storefront/component/checkout/hidden-line-items-information.html.twig", "@Storefront/storefront/page/checkout/cart/index.html.twig", 65)->display(twig_array_merge($context, ["cart" => sw_get_attribute($this->env, $this->source, // line 66
($context["page"] ?? null), "cart", [], "any", false, false, false, 66), "lineItems" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 67
($context["page"] ?? null), "cart", [], "any", false, false, false, 67), "lineItems", [], "any", false, false, false, 67)]));
// line 69
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 71
public function block_page_checkout_cart_add_product_and_shipping($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_and_shipping"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_and_shipping"));
// line 72
echo " <div class=\"row\">
";
// line 73
$this->displayBlock('page_checkout_cart_add_product', $context, $blocks);
// line 132
echo "
";
// line 133
$this->displayBlock('page_checkout_cart_shipping_costs', $context, $blocks);
// line 223
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 73
public function block_page_checkout_cart_add_product($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product"));
// line 74
echo " <div class=\"col-md-4 cart-add-product-container\">
<form action=\"";
// line 75
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.product.add-by-number");
echo "\"
data-form-csrf-handler=\"true\"
class=\"cart-add-product\"
method=\"post\">
";
// line 80
$this->displayBlock('page_checkout_cart_add_product_csrf', $context, $blocks);
// line 83
echo "
";
// line 84
$this->displayBlock('page_checkout_cart_add_product_redirect', $context, $blocks);
// line 89
echo "
";
// line 90
$this->displayBlock('page_checkout_cart_add_product_input_group', $context, $blocks);
// line 129
echo " </form>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 80
public function block_page_checkout_cart_add_product_csrf($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_csrf"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_csrf"));
// line 81
echo " ";
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.product.add-by-number");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 84
public function block_page_checkout_cart_add_product_redirect($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_redirect"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_redirect"));
// line 85
echo " <input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.checkout.cart.page\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 90
public function block_page_checkout_cart_add_product_input_group($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input_group"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input_group"));
// line 91
echo " <div class=\"input-group\">
";
// line 92
$this->displayBlock('page_checkout_cart_add_product_label', $context, $blocks);
// line 97
echo "
";
// line 98
$this->displayBlock('page_checkout_cart_add_product_input', $context, $blocks);
// line 108
echo "
";
// line 109
$this->displayBlock('page_checkout_cart_add_product_submit', $context, $blocks);
// line 127
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 92
public function block_page_checkout_cart_add_product_label($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_label"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_label"));
// line 93
echo " <label class=\"";
echo sw_escape_filter($this->env, ($context["visuallyHiddenClass"] ?? null), "html", null, true);
echo "\" for=\"addProductInput\">
";
// line 94
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.addProductLabel"));
echo "
</label>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 98
public function block_page_checkout_cart_add_product_input($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input"));
// line 99
echo " <input type=\"text\"
name=\"number\"
class=\"form-control\"
id=\"addProductInput\"
placeholder=\"";
// line 103
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.addProductPlaceholder")), "html", null, true);
echo "\"
aria-label=\"";
// line 104
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.addProductLabel")), "html", null, true);
echo "\"
aria-describedby=\"addProductButton\"
required=\"required\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 109
public function block_page_checkout_cart_add_product_submit($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_submit"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_submit"));
// line 110
echo " ";
// line 111
echo " ";
if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->feature("v6.5.0.0")) {
// line 112
echo " <button class=\"btn btn-secondary\"
type=\"submit\"
id=\"addProductButton\">
";
// line 115
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@Storefront/storefront/page/checkout/cart/index.html.twig", 115);
})())->display(twig_array_merge($context, ["name" => "checkmark"]));
// line 116
echo " </button>
";
} else {
// line 118
echo " <div class=\"input-group-append\">
<button class=\"btn btn-secondary\"
type=\"submit\"
id=\"addProductButton\">
";
// line 122
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@Storefront/storefront/page/checkout/cart/index.html.twig", 122);
})())->display(twig_array_merge($context, ["name" => "checkmark"]));
// line 123
echo " </button>
</div>
";
}
// line 126
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 133
public function block_page_checkout_cart_shipping_costs($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs"));
// line 134
echo " <div class=\"col-md-8 cart-shipping-costs-container\">
<form name=\"precalc\"
method=\"post\"
action=\"";
// line 137
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.configure");
echo "\"
data-form-auto-submit=\"true\">
";
// line 140
$this->displayBlock('page_checkout_cart_shipping_costs_csrf', $context, $blocks);
// line 143
echo "
";
// line 144
$this->displayBlock('page_checkout_cart_shipping_costs_trigger', $context, $blocks);
// line 157
echo "
";
// line 158
$this->displayBlock('page_checkout_cart_shipping_costs_form_group', $context, $blocks);
// line 220
echo " </form>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 140
public function block_page_checkout_cart_shipping_costs_csrf($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_csrf"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_csrf"));
// line 141
echo " ";
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.configure");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 144
public function block_page_checkout_cart_shipping_costs_trigger($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_trigger"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_trigger"));
// line 145
echo " <a class=\"btn btn-link cart-shipping-costs-btn\"
";
// line 146
echo sw_escape_filter($this->env, ($context["dataBsToggleAttr"] ?? null), "html", null, true);
echo "=\"collapse\"
href=\"#collapseShippingCost\"
role=\"button\"
aria-expanded=\"false\"
aria-controls=\"collapseExample\">
";
// line 151
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.shippingCosts"));
echo "
";
// line 152
$this->displayBlock('page_checkout_cart_shipping_costs_trigger_icon', $context, $blocks);
// line 155
echo " </a>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 152
public function block_page_checkout_cart_shipping_costs_trigger_icon($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_trigger_icon"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_trigger_icon"));
// line 153
echo " ";
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@Storefront/storefront/page/checkout/cart/index.html.twig", 153);
})())->display(twig_array_merge($context, ["pack" => "solid", "size" => "sm", "name" => "arrow-medium-right"]));
// line 154
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 158
public function block_page_checkout_cart_shipping_costs_form_group($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group"));
// line 159
echo " <div class=\"collapse\" id=\"collapseShippingCost\">
";
// line 160
$this->displayBlock('page_checkout_cart_shipping_costs_form_group_country', $context, $blocks);
// line 175
echo "
";
// line 176
$this->displayBlock('page_checkout_cart_shipping_costs_form_group_payment_method', $context, $blocks);
// line 196
echo "
";
// line 197
$this->displayBlock('page_checkout_cart_shipping_costs_form_group_shipping_method', $context, $blocks);
// line 217
echo " <input type=\"hidden\" name=\"redirectTo\" value=\"frontend.checkout.cart.page\">
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 160
public function block_page_checkout_cart_shipping_costs_form_group_country($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_country"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_country"));
// line 161
echo " ";
if ( !sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "customer", [], "any", false, false, false, 161)) {
// line 162
echo " <div class=\"form-group\">
<label for=\"countryId\">";
// line 163
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.shippingCountry"));
echo "</label>
<select class=\"";
// line 164
echo sw_escape_filter($this->env, ($context["formSelectClass"] ?? null), "html", null, true);
echo "\" type=\"text\" id=\"countryId\" name=\"countryId\">
";
// line 165
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "countries", [], "any", false, false, false, 165));
foreach ($context['_seq'] as $context["_key"] => $context["country"]) {
// line 166
echo " <option value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["country"], "id", [], "any", false, false, false, 166), "html", null, true);
echo "\"
";
// line 167
echo (((sw_get_attribute($this->env, $this->source, $context["country"], "id", [], "any", false, false, false, 167) == sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "shippingLocation", [], "any", false, false, false, 167), "country", [], "any", false, false, false, 167), "id", [], "any", false, false, false, 167))) ? ("selected=\"selected\"") : (""));
echo ">
";
// line 168
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["country"], "translated", [], "any", false, false, false, 168), "name", [], "any", false, false, false, 168), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['country'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 171
echo " </select>
</div>
";
}
// line 174
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 176
public function block_page_checkout_cart_shipping_costs_form_group_payment_method($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_payment_method"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_payment_method"));
// line 177
echo " <div class=\"form-group\">
<label for=\"paymentMethodId\">";
// line 178
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.paymentMethod"));
echo "</label>
<select class=\"";
// line 179
echo sw_escape_filter($this->env, ($context["formSelectClass"] ?? null), "html", null, true);
echo "\" type=\"text\" id=\"paymentMethodId\" name=\"paymentMethodId\">
";
// line 180
if (!twig_in_filter(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "paymentMethod", [], "any", false, false, false, 180), "id", [], "any", false, false, false, 180), sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "paymentMethods", [], "any", false, false, false, 180), "ids", [], "any", false, false, false, 180))) {
// line 181
echo " <option value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "paymentMethod", [], "any", false, false, false, 181), "id", [], "any", false, false, false, 181), "html", null, true);
echo "\"
selected=\"selected\"
disabled=\"disabled\">
";
// line 184
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "paymentMethod", [], "any", false, false, false, 184), "translated", [], "any", false, false, false, 184), "name", [], "any", false, false, false, 184), "html", null, true);
echo " ";
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.notAvailableSuffix"));
echo "
</option>
";
}
// line 187
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "paymentMethods", [], "any", false, false, false, 187));
foreach ($context['_seq'] as $context["_key"] => $context["payment"]) {
// line 188
echo " <option value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["payment"], "id", [], "any", false, false, false, 188), "html", null, true);
echo "\"
";
// line 189
if ((sw_get_attribute($this->env, $this->source, $context["payment"], "id", [], "any", false, false, false, 189) == sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "paymentMethod", [], "any", false, false, false, 189), "id", [], "any", false, false, false, 189))) {
echo " selected=\"selected\"";
}
echo ">
";
// line 190
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["payment"], "translated", [], "any", false, false, false, 190), "name", [], "any", false, false, false, 190), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['payment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 193
echo " </select>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 197
public function block_page_checkout_cart_shipping_costs_form_group_shipping_method($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_shipping_method"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_shipping_method"));
// line 198
echo " <div class=\"form-group\">
<label for=\"shippingMethodId\">";
// line 199
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.shippingMethod"));
echo "</label>
<select class=\"";
// line 200
echo sw_escape_filter($this->env, ($context["formSelectClass"] ?? null), "html", null, true);
echo "\" type=\"text\" id=\"shippingMethodId\" name=\"shippingMethodId\">
";
// line 201
if (!twig_in_filter(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "shippingMethod", [], "any", false, false, false, 201), "id", [], "any", false, false, false, 201), sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "shippingMethods", [], "any", false, false, false, 201), "ids", [], "any", false, false, false, 201))) {
// line 202
echo " <option value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "shippingMethod", [], "any", false, false, false, 202), "id", [], "any", false, false, false, 202), "html", null, true);
echo "\"
selected=\"selected\"
disabled=\"disabled\">
";
// line 205
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "shippingMethod", [], "any", false, false, false, 205), "translated", [], "any", false, false, false, 205), "name", [], "any", false, false, false, 205), "html", null, true);
echo " ";
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.notAvailableSuffix"));
echo "
</option>
";
}
// line 208
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "shippingMethods", [], "any", false, false, false, 208));
foreach ($context['_seq'] as $context["_key"] => $context["shipping"]) {
// line 209
echo " <option value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["shipping"], "id", [], "any", false, false, false, 209), "html", null, true);
echo "\"
";
// line 210
if ((sw_get_attribute($this->env, $this->source, $context["shipping"], "id", [], "any", false, false, false, 210) == sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "shippingMethod", [], "any", false, false, false, 210), "id", [], "any", false, false, false, 210))) {
echo " selected=\"selected\"";
}
echo ">
";
// line 211
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["shipping"], "translated", [], "any", false, false, false, 211), "name", [], "any", false, false, false, 211), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['shipping'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 214
echo " </select>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 228
public function block_page_checkout_aside_actions($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_aside_actions"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_aside_actions"));
// line 229
echo " <div class=\"checkout-aside-action\">
";
// line 230
$this->displayBlock('page_checkout_cart_add_promotion', $context, $blocks);
// line 287
echo " </div>
";
// line 289
$this->displayBlock('page_checkout_cart_action_proceed', $context, $blocks);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 230
public function block_page_checkout_cart_add_promotion($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion"));
// line 231
echo " <form action=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.promotion.add");
echo "\"
class=\"cart-add-promotion\"
data-form-csrf-handler=\"true\"
method=\"post\">
";
// line 236
$this->displayBlock('page_checkout_cart_add_promotion_csrf', $context, $blocks);
// line 239
echo "
";
// line 240
$this->displayBlock('page_checkout_cart_add_promotion_forward', $context, $blocks);
// line 245
echo "
";
// line 246
$this->displayBlock('page_checkout_cart_add_promotion_input_group', $context, $blocks);
// line 285
echo " </form>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 236
public function block_page_checkout_cart_add_promotion_csrf($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_csrf"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_csrf"));
// line 237
echo " ";
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.promotion.add");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 240
public function block_page_checkout_cart_add_promotion_forward($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_forward"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_forward"));
// line 241
echo " <input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.checkout.cart.page\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 246
public function block_page_checkout_cart_add_promotion_input_group($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_input_group"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_input_group"));
// line 247
echo " <div class=\"input-group checkout-aside-add-code\">
";
// line 248
$this->displayBlock('page_checkout_cart_add_promotion_label', $context, $blocks);
// line 253
echo "
";
// line 254
$this->displayBlock('page_checkout_cart_add_promotion_input', $context, $blocks);
// line 264
echo "
";
// line 265
$this->displayBlock('page_checkout_cart_add_promotion_submit', $context, $blocks);
// line 283
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 248
public function block_page_checkout_cart_add_promotion_label($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_label"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_label"));
// line 249
echo " <label class=\"";
echo sw_escape_filter($this->env, ($context["visuallyHiddenClass"] ?? null), "html", null, true);
echo "\" for=\"addPromotionInput\">
";
// line 250
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.addPromotionLabel"));
echo "
</label>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 254
public function block_page_checkout_cart_add_promotion_input($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_input"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_input"));
// line 255
echo " <input type=\"text\"
name=\"code\"
class=\"form-control\"
id=\"addPromotionInput\"
placeholder=\"";
// line 259
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.addPromotionPlaceholder")), "html", null, true);
echo "\"
aria-label=\"";
// line 260
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.addPromotionLabel")), "html", null, true);
echo "\"
aria-describedby=\"addPromotion\"
required=\"required\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 265
public function block_page_checkout_cart_add_promotion_submit($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_submit"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_submit"));
// line 266
echo " ";
// line 267
echo " ";
if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->feature("v6.5.0.0")) {
// line 268
echo " <button class=\"btn btn-secondary\"
type=\"submit\"
id=\"addPromotion\">
";
// line 271
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@Storefront/storefront/page/checkout/cart/index.html.twig", 271);
})())->display(twig_array_merge($context, ["name" => "checkmark"]));
// line 272
echo " </button>
";
} else {
// line 274
echo " <div class=\"input-group-append\">
<button class=\"btn btn-secondary\"
type=\"submit\"
id=\"addPromotion\">
";
// line 278
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@Storefront/storefront/page/checkout/cart/index.html.twig", 278);
})())->display(twig_array_merge($context, ["name" => "checkmark"]));
// line 279
echo " </button>
</div>
";
}
// line 282
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 289
public function block_page_checkout_cart_action_proceed($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_action_proceed"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_action_proceed"));
// line 290
echo " ";
// line 291
echo " ";
if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->feature("v6.5.0.0")) {
// line 292
echo " <div class=\"checkout-aside-action d-grid\">
<a href=\"";
// line 293
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.confirm.page");
echo "\"
class=\"btn btn-primary btn-lg begin-checkout-btn\"
title=\"";
// line 295
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.proceedLink")), "html", null, true);
echo "\">
";
// line 296
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.proceedLink"));
echo "
</a>
</div>
";
} else {
// line 300
echo " <div class=\"checkout-aside-action\">
<a href=\"";
// line 301
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.confirm.page");
echo "\"
class=\"btn btn-primary btn-block btn-lg begin-checkout-btn\"
title=\"";
// line 303
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.proceedLink")), "html", null, true);
echo "\">
";
// line 304
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.proceedLink"));
echo "
</a>
</div>
";
}
// line 308
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@Storefront/storefront/page/checkout/cart/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1453 => 308, 1446 => 304, 1442 => 303, 1437 => 301, 1434 => 300, 1427 => 296, 1423 => 295, 1418 => 293, 1415 => 292, 1412 => 291, 1410 => 290, 1400 => 289, 1390 => 282, 1385 => 279, 1377 => 278, 1371 => 274, 1367 => 272, 1359 => 271, 1354 => 268, 1351 => 267, 1349 => 266, 1339 => 265, 1325 => 260, 1321 => 259, 1315 => 255, 1305 => 254, 1292 => 250, 1287 => 249, 1277 => 248, 1266 => 283, 1264 => 265, 1261 => 264, 1259 => 254, 1256 => 253, 1254 => 248, 1251 => 247, 1241 => 246, 1228 => 241, 1218 => 240, 1205 => 237, 1195 => 236, 1184 => 285, 1182 => 246, 1179 => 245, 1177 => 240, 1174 => 239, 1172 => 236, 1163 => 231, 1153 => 230, 1143 => 289, 1139 => 287, 1137 => 230, 1134 => 229, 1124 => 228, 1112 => 214, 1103 => 211, 1097 => 210, 1092 => 209, 1087 => 208, 1079 => 205, 1072 => 202, 1070 => 201, 1066 => 200, 1062 => 199, 1059 => 198, 1049 => 197, 1037 => 193, 1028 => 190, 1022 => 189, 1017 => 188, 1012 => 187, 1004 => 184, 997 => 181, 995 => 180, 991 => 179, 987 => 178, 984 => 177, 974 => 176, 964 => 174, 959 => 171, 950 => 168, 946 => 167, 941 => 166, 937 => 165, 933 => 164, 929 => 163, 926 => 162, 923 => 161, 913 => 160, 901 => 217, 899 => 197, 896 => 196, 894 => 176, 891 => 175, 889 => 160, 886 => 159, 876 => 158, 866 => 154, 857 => 153, 847 => 152, 836 => 155, 834 => 152, 830 => 151, 822 => 146, 819 => 145, 809 => 144, 796 => 141, 786 => 140, 774 => 220, 772 => 158, 769 => 157, 767 => 144, 764 => 143, 762 => 140, 756 => 137, 751 => 134, 741 => 133, 731 => 126, 726 => 123, 718 => 122, 712 => 118, 708 => 116, 700 => 115, 695 => 112, 692 => 111, 690 => 110, 680 => 109, 666 => 104, 662 => 103, 656 => 99, 646 => 98, 633 => 94, 628 => 93, 618 => 92, 607 => 127, 605 => 109, 602 => 108, 600 => 98, 597 => 97, 595 => 92, 592 => 91, 582 => 90, 569 => 85, 559 => 84, 546 => 81, 536 => 80, 524 => 129, 522 => 90, 519 => 89, 517 => 84, 514 => 83, 512 => 80, 504 => 75, 501 => 74, 491 => 73, 480 => 223, 478 => 133, 475 => 132, 473 => 73, 470 => 72, 460 => 71, 450 => 69, 448 => 67, 447 => 66, 445 => 65, 435 => 64, 425 => 56, 422 => 55, 419 => 54, 416 => 53, 413 => 52, 410 => 51, 408 => 50, 398 => 49, 388 => 57, 385 => 49, 375 => 48, 365 => 59, 351 => 58, 348 => 48, 330 => 47, 320 => 46, 310 => 44, 307 => 43, 304 => 42, 301 => 41, 298 => 40, 295 => 39, 293 => 38, 283 => 37, 271 => 60, 269 => 46, 266 => 45, 264 => 37, 260 => 35, 250 => 34, 237 => 30, 234 => 29, 224 => 28, 214 => 225, 212 => 71, 209 => 70, 207 => 64, 204 => 63, 202 => 34, 199 => 33, 196 => 28, 176 => 27, 166 => 26, 152 => 22, 149 => 21, 145 => 19, 143 => 18, 140 => 17, 138 => 16, 135 => 15, 133 => 14, 130 => 13, 127 => 9, 124 => 8, 114 => 7, 103 => 4, 93 => 3, 70 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/page/checkout/_page.html.twig' %}
{% block base_head %}
{% sw_include '@Storefront/storefront/page/checkout/cart/meta.html.twig' %}
{% endblock %}
{% block page_checkout_container %}
{% if page.cart.lineItems.count is same as(0) %}
{% sw_include '@Storefront/storefront/utilities/alert.html.twig' with {
type: \"info\",
content: \"checkout.cartEmpty\"|trans|sw_sanitize
} %}
{% set messages = app.flashes %}
{% if messages.danger|length > 0 %}
<div class=\"flashbags\">
{% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: 'danger', list: messages.danger } %}
</div>
{% endif %}
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block page_checkout_main_content %}
{% block page_checkout_cart %}
{% block page_checkout_cart_header %}
<h1 class=\"cart-main-header\">
{{ \"checkout.cartHeader\"|trans|sw_sanitize }}
</h1>
{% endblock %}
{% block page_checkout_cart_product_table %}
<div class=\"card checkout-product-table\">
<div class=\"card-body\">
{% block page_checkout_cart_table_header %}
{# @deprecated tag:v6.5.0 - Template `cart-product-header.html.twig` is deprecated. Use `storefront/component/checkout/cart-header.html.twig` instead. #}
{% if feature('v6.5.0.0') %}
{% sw_include '@Storefront/storefront/component/checkout/cart-header.html.twig' %}
{% else %}
{% sw_include '@Storefront/storefront/page/checkout/cart/cart-product-header.html.twig' %}
{% endif %}
{% endblock %}
{% block page_checkout_cart_table_items %}
{% for lineItem in page.cart.lineItems %}
{% block page_checkout_cart_table_item %}
{% block page_checkout_item %}
{# @deprecated tag:v6.5.0 - Template `checkout-item.html.twig` is deprecated. Use `storefront/component/line-item/line-item.html.twig` instead. #}
{% if feature('v6.5.0.0') %}
{% sw_include '@Storefront/storefront/component/line-item/line-item.html.twig' %}
{% else %}
{% sw_include '@Storefront/storefront/page/checkout/checkout-item.html.twig' %}
{% endif %}
{% endblock %}
{% endblock %}
{% endfor %}
{% endblock %}
</div>
</div>
{% endblock %}
{% block page_checkout_cart_hidden_line_items_information %}
{% sw_include '@Storefront/storefront/component/checkout/hidden-line-items-information.html.twig' with {
cart: page.cart,
lineItems: page.cart.lineItems
} %}
{% endblock %}
{% block page_checkout_cart_add_product_and_shipping %}
<div class=\"row\">
{% block page_checkout_cart_add_product %}
<div class=\"col-md-4 cart-add-product-container\">
<form action=\"{{ path('frontend.checkout.product.add-by-number') }}\"
data-form-csrf-handler=\"true\"
class=\"cart-add-product\"
method=\"post\">
{% block page_checkout_cart_add_product_csrf %}
{{ sw_csrf('frontend.checkout.product.add-by-number') }}
{% endblock %}
{% block page_checkout_cart_add_product_redirect %}
<input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.checkout.cart.page\">
{% endblock %}
{% block page_checkout_cart_add_product_input_group %}
<div class=\"input-group\">
{% block page_checkout_cart_add_product_label %}
<label class=\"{{ visuallyHiddenClass }}\" for=\"addProductInput\">
{{ \"checkout.addProductLabel\"|trans|sw_sanitize }}
</label>
{% endblock %}
{% block page_checkout_cart_add_product_input %}
<input type=\"text\"
name=\"number\"
class=\"form-control\"
id=\"addProductInput\"
placeholder=\"{{ \"checkout.addProductPlaceholder\"|trans|striptags }}\"
aria-label=\"{{ \"checkout.addProductLabel\"|trans|striptags }}\"
aria-describedby=\"addProductButton\"
required=\"required\">
{% endblock %}
{% block page_checkout_cart_add_product_submit %}
{# @deprecated tag:v6.5.0 - Bootstrap v5 removes `input-group-append` wrapper and uses elements as direct childs of `input-group` #}
{% if feature('v6.5.0.0') %}
<button class=\"btn btn-secondary\"
type=\"submit\"
id=\"addProductButton\">
{% sw_icon 'checkmark' %}
</button>
{% else %}
<div class=\"input-group-append\">
<button class=\"btn btn-secondary\"
type=\"submit\"
id=\"addProductButton\">
{% sw_icon 'checkmark' %}
</button>
</div>
{% endif %}
{% endblock %}
</div>
{% endblock %}
</form>
</div>
{% endblock %}
{% block page_checkout_cart_shipping_costs %}
<div class=\"col-md-8 cart-shipping-costs-container\">
<form name=\"precalc\"
method=\"post\"
action=\"{{ path('frontend.checkout.configure') }}\"
data-form-auto-submit=\"true\">
{% block page_checkout_cart_shipping_costs_csrf %}
{{ sw_csrf('frontend.checkout.configure') }}
{% endblock %}
{% block page_checkout_cart_shipping_costs_trigger %}
<a class=\"btn btn-link cart-shipping-costs-btn\"
{{ dataBsToggleAttr }}=\"collapse\"
href=\"#collapseShippingCost\"
role=\"button\"
aria-expanded=\"false\"
aria-controls=\"collapseExample\">
{{ \"checkout.shippingCosts\"|trans|sw_sanitize }}
{% block page_checkout_cart_shipping_costs_trigger_icon %}
{% sw_icon 'arrow-medium-right' style { 'pack':'solid', 'size': 'sm' } %}
{% endblock %}
</a>
{% endblock %}
{% block page_checkout_cart_shipping_costs_form_group %}
<div class=\"collapse\" id=\"collapseShippingCost\">
{% block page_checkout_cart_shipping_costs_form_group_country %}
{% if not context.customer %}
<div class=\"form-group\">
<label for=\"countryId\">{{ \"checkout.shippingCountry\"|trans|sw_sanitize }}</label>
<select class=\"{{ formSelectClass }}\" type=\"text\" id=\"countryId\" name=\"countryId\">
{% for country in page.countries %}
<option value=\"{{ country.id }}\"
{{ country.id == context.shippingLocation.country.id ? 'selected=\"selected\"' : '' }}>
{{ country.translated.name }}
</option>
{% endfor %}
</select>
</div>
{% endif %}
{% endblock %}
{% block page_checkout_cart_shipping_costs_form_group_payment_method %}
<div class=\"form-group\">
<label for=\"paymentMethodId\">{{ \"checkout.paymentMethod\"|trans|sw_sanitize }}</label>
<select class=\"{{ formSelectClass }}\" type=\"text\" id=\"paymentMethodId\" name=\"paymentMethodId\">
{% if context.paymentMethod.id not in page.paymentMethods.ids %}
<option value=\"{{ context.paymentMethod.id }}\"
selected=\"selected\"
disabled=\"disabled\">
{{ context.paymentMethod.translated.name }} {{ \"checkout.notAvailableSuffix\"|trans|sw_sanitize }}
</option>
{% endif %}
{% for payment in page.paymentMethods %}
<option value=\"{{ payment.id }}\"
{% if payment.id == context.paymentMethod.id %} selected=\"selected\"{% endif %}>
{{ payment.translated.name }}
</option>
{% endfor %}
</select>
</div>
{% endblock %}
{% block page_checkout_cart_shipping_costs_form_group_shipping_method %}
<div class=\"form-group\">
<label for=\"shippingMethodId\">{{ \"checkout.shippingMethod\"|trans|sw_sanitize }}</label>
<select class=\"{{ formSelectClass }}\" type=\"text\" id=\"shippingMethodId\" name=\"shippingMethodId\">
{% if context.shippingMethod.id not in page.shippingMethods.ids %}
<option value=\"{{ context.shippingMethod.id }}\"
selected=\"selected\"
disabled=\"disabled\">
{{ context.shippingMethod.translated.name }} {{ \"checkout.notAvailableSuffix\"|trans|sw_sanitize }}
</option>
{% endif %}
{% for shipping in page.shippingMethods %}
<option value=\"{{ shipping.id }}\"
{% if shipping.id == context.shippingMethod.id %} selected=\"selected\"{% endif %}>
{{ shipping.translated.name }}
</option>
{% endfor %}
</select>
</div>
{% endblock %}
<input type=\"hidden\" name=\"redirectTo\" value=\"frontend.checkout.cart.page\">
</div>
{% endblock %}
</form>
</div>
{% endblock %}
</div>
{% endblock %}
{% endblock %}
{% endblock %}
{% block page_checkout_aside_actions %}
<div class=\"checkout-aside-action\">
{% block page_checkout_cart_add_promotion %}
<form action=\"{{ path('frontend.checkout.promotion.add') }}\"
class=\"cart-add-promotion\"
data-form-csrf-handler=\"true\"
method=\"post\">
{% block page_checkout_cart_add_promotion_csrf %}
{{ sw_csrf('frontend.checkout.promotion.add') }}
{% endblock %}
{% block page_checkout_cart_add_promotion_forward %}
<input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.checkout.cart.page\">
{% endblock %}
{% block page_checkout_cart_add_promotion_input_group %}
<div class=\"input-group checkout-aside-add-code\">
{% block page_checkout_cart_add_promotion_label %}
<label class=\"{{ visuallyHiddenClass }}\" for=\"addPromotionInput\">
{{ \"checkout.addPromotionLabel\"|trans|sw_sanitize }}
</label>
{% endblock %}
{% block page_checkout_cart_add_promotion_input %}
<input type=\"text\"
name=\"code\"
class=\"form-control\"
id=\"addPromotionInput\"
placeholder=\"{{ \"checkout.addPromotionPlaceholder\"|trans|striptags }}\"
aria-label=\"{{ \"checkout.addPromotionLabel\"|trans|striptags }}\"
aria-describedby=\"addPromotion\"
required=\"required\">
{% endblock %}
{% block page_checkout_cart_add_promotion_submit %}
{# @deprecated tag:v6.5.0 - Bootstrap v5 removes `input-group-append` wrapper and uses elements as direct childs of `input-group` #}
{% if feature('v6.5.0.0') %}
<button class=\"btn btn-secondary\"
type=\"submit\"
id=\"addPromotion\">
{% sw_icon 'checkmark' %}
</button>
{% else %}
<div class=\"input-group-append\">
<button class=\"btn btn-secondary\"
type=\"submit\"
id=\"addPromotion\">
{% sw_icon 'checkmark' %}
</button>
</div>
{% endif %}
{% endblock %}
</div>
{% endblock %}
</form>
{% endblock %}
</div>
{% block page_checkout_cart_action_proceed %}
{# @deprecated tag:v6.5.0 - Bootstrap v5 removes `btn-block` class, use `d-grid` wrapper instead #}
{% if feature('v6.5.0.0') %}
<div class=\"checkout-aside-action d-grid\">
<a href=\"{{ path('frontend.checkout.confirm.page') }}\"
class=\"btn btn-primary btn-lg begin-checkout-btn\"
title=\"{{ \"checkout.proceedLink\"|trans|striptags }}\">
{{ \"checkout.proceedLink\"|trans|sw_sanitize }}
</a>
</div>
{% else %}
<div class=\"checkout-aside-action\">
<a href=\"{{ path('frontend.checkout.confirm.page') }}\"
class=\"btn btn-primary btn-block btn-lg begin-checkout-btn\"
title=\"{{ \"checkout.proceedLink\"|trans|striptags }}\">
{{ \"checkout.proceedLink\"|trans|sw_sanitize }}
</a>
</div>
{% endif %}
{% endblock %}
{% endblock %}
", "@Storefront/storefront/page/checkout/cart/index.html.twig", "/srv/users/liamoriasw6/apps/liamoriasw6/vendor/shopware/storefront/Resources/views/storefront/page/checkout/cart/index.html.twig");
}
}