<?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_6915385f19a4091f53928b6113d4a29c 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_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Storefront/storefront/page/checkout/cart/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_base_head($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_head"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 7
public function block_page_checkout_container($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 26
public function block_page_checkout_main_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_main_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_main_content"));
// line 27
echo " ";
$this->displayBlock('page_checkout_cart', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function block_page_checkout_cart($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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 230
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 28
public function block_page_checkout_cart_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 34
public function block_page_checkout_cart_product_table($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_product_table"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 37
public function block_page_checkout_cart_table_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 46
public function block_page_checkout_cart_table_items($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_items"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 48
public function block_page_checkout_cart_table_item($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_item"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 49
public function block_page_checkout_item($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_item"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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("@Storefront/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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 64
public function block_page_checkout_cart_hidden_line_items_information($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_hidden_line_items_information"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 71
public function block_page_checkout_cart_add_product_and_shipping($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_and_shipping"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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 133
echo "
";
// line 134
$this->displayBlock('page_checkout_cart_shipping_costs', $context, $blocks);
// line 228
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 73
public function block_page_checkout_cart_add_product($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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 81
echo " ";
$this->displayBlock('page_checkout_cart_add_product_csrf', $context, $blocks);
// line 84
echo "
";
// line 85
$this->displayBlock('page_checkout_cart_add_product_redirect', $context, $blocks);
// line 90
echo "
";
// line 91
$this->displayBlock('page_checkout_cart_add_product_input_group', $context, $blocks);
// line 130
echo " </form>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 81
public function block_page_checkout_cart_add_product_csrf($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_csrf"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_csrf"));
// line 82
echo " ";
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.product.add-by-number");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 85
public function block_page_checkout_cart_add_product_redirect($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_redirect"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_redirect"));
// line 86
echo " <input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.checkout.cart.page\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 91
public function block_page_checkout_cart_add_product_input_group($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input_group"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input_group"));
// line 92
echo " <div class=\"input-group\">
";
// line 93
$this->displayBlock('page_checkout_cart_add_product_label', $context, $blocks);
// line 98
echo "
";
// line 99
$this->displayBlock('page_checkout_cart_add_product_input', $context, $blocks);
// line 109
echo "
";
// line 110
$this->displayBlock('page_checkout_cart_add_product_submit', $context, $blocks);
// line 128
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 93
public function block_page_checkout_cart_add_product_label($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_label"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_label"));
// line 94
echo " <label class=\"";
echo sw_escape_filter($this->env, ($context["visuallyHiddenClass"] ?? null), "html", null, true);
echo "\" for=\"addProductInput\">
";
// line 95
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.addProductLabel"));
echo "
</label>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 99
public function block_page_checkout_cart_add_product_input($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input"));
// line 100
echo " <input type=\"text\"
name=\"number\"
class=\"form-control\"
id=\"addProductInput\"
placeholder=\"";
// line 104
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 105
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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 110
public function block_page_checkout_cart_add_product_submit($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_submit"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_submit"));
// line 111
echo " ";
// line 112
echo " ";
if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->feature("v6.5.0.0")) {
// line 113
echo " <button class=\"btn btn-secondary\"
type=\"submit\"
id=\"addProductButton\">
";
// line 116
((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", 116);
})())->display(twig_array_merge($context, ["name" => "checkmark"]));
// line 117
echo " </button>
";
} else {
// line 119
echo " <div class=\"input-group-append\">
<button class=\"btn btn-secondary\"
type=\"submit\"
id=\"addProductButton\">
";
// line 123
((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", 123);
})())->display(twig_array_merge($context, ["name" => "checkmark"]));
// line 124
echo " </button>
</div>
";
}
// line 127
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 134
public function block_page_checkout_cart_shipping_costs($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs"));
// line 135
echo " <div class=\"col-md-8 cart-shipping-costs-container\">
<form name=\"precalc\"
method=\"post\"
action=\"";
// line 138
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.configure");
echo "\"
data-form-auto-submit=\"true\">
";
// line 142
echo " ";
$this->displayBlock('page_checkout_cart_shipping_costs_csrf', $context, $blocks);
// line 145
echo "
";
// line 146
$this->displayBlock('page_checkout_cart_shipping_costs_trigger', $context, $blocks);
// line 162
echo "
";
// line 163
$this->displayBlock('page_checkout_cart_shipping_costs_form_group', $context, $blocks);
// line 225
echo " </form>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 142
public function block_page_checkout_cart_shipping_costs_csrf($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_csrf"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_csrf"));
// line 143
echo " ";
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.configure");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 146
public function block_page_checkout_cart_shipping_costs_trigger($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_trigger"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_trigger"));
// line 147
echo " ";
$context["PHYSICAL_STATE"] = twig_constant("Shopware\\Core\\Content\\Product\\State::IS_PHYSICAL");
// line 148
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, 148), "lineItems", [], "any", false, false, false, 148), "hasLineItemWithState", [0 => ($context["PHYSICAL_STATE"] ?? null)], "method", false, false, false, 148)) {
// line 149
echo " <a class=\"btn btn-link cart-shipping-costs-btn\"
";
// line 150
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 155
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.shippingCosts"));
echo "
";
// line 156
$this->displayBlock('page_checkout_cart_shipping_costs_trigger_icon', $context, $blocks);
// line 159
echo " </a>
";
}
// line 161
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 156
public function block_page_checkout_cart_shipping_costs_trigger_icon($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_trigger_icon"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_trigger_icon"));
// line 157
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", 157);
})())->display(twig_array_merge($context, ["pack" => "solid", "size" => "sm", "name" => "arrow-medium-right"]));
// line 158
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 163
public function block_page_checkout_cart_shipping_costs_form_group($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group"));
// line 164
echo " <div class=\"collapse\" id=\"collapseShippingCost\">
";
// line 165
$this->displayBlock('page_checkout_cart_shipping_costs_form_group_country', $context, $blocks);
// line 180
echo "
";
// line 181
$this->displayBlock('page_checkout_cart_shipping_costs_form_group_payment_method', $context, $blocks);
// line 201
echo "
";
// line 202
$this->displayBlock('page_checkout_cart_shipping_costs_form_group_shipping_method', $context, $blocks);
// line 222
echo " <input type=\"hidden\" name=\"redirectTo\" value=\"frontend.checkout.cart.page\">
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 165
public function block_page_checkout_cart_shipping_costs_form_group_country($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_country"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_country"));
// line 166
echo " ";
if ( !sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "customer", [], "any", false, false, false, 166)) {
// line 167
echo " <div class=\"form-group\">
<label for=\"countryId\">";
// line 168
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 169
echo sw_escape_filter($this->env, ($context["formSelectClass"] ?? null), "html", null, true);
echo "\" type=\"text\" id=\"countryId\" name=\"countryId\">
";
// line 170
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "countries", [], "any", false, false, false, 170));
foreach ($context['_seq'] as $context["_key"] => $context["country"]) {
// line 171
echo " <option value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["country"], "id", [], "any", false, false, false, 171), "html", null, true);
echo "\"
";
// line 172
echo (((sw_get_attribute($this->env, $this->source, $context["country"], "id", [], "any", false, false, false, 172) == 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, 172), "country", [], "any", false, false, false, 172), "id", [], "any", false, false, false, 172))) ? ("selected=\"selected\"") : (""));
echo ">
";
// line 173
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, 173), "name", [], "any", false, false, false, 173), "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 176
echo " </select>
</div>
";
}
// line 179
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 181
public function block_page_checkout_cart_shipping_costs_form_group_payment_method($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_payment_method"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_payment_method"));
// line 182
echo " <div class=\"form-group\">
<label for=\"paymentMethodId\">";
// line 183
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 184
echo sw_escape_filter($this->env, ($context["formSelectClass"] ?? null), "html", null, true);
echo "\" type=\"text\" id=\"paymentMethodId\" name=\"paymentMethodId\">
";
// line 185
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, 185), "id", [], "any", false, false, false, 185), sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "paymentMethods", [], "any", false, false, false, 185), "ids", [], "any", false, false, false, 185))) {
// line 186
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, 186), "id", [], "any", false, false, false, 186), "html", null, true);
echo "\"
selected=\"selected\"
disabled=\"disabled\">
";
// line 189
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, 189), "translated", [], "any", false, false, false, 189), "name", [], "any", false, false, false, 189), "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 192
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "paymentMethods", [], "any", false, false, false, 192));
foreach ($context['_seq'] as $context["_key"] => $context["payment"]) {
// line 193
echo " <option value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["payment"], "id", [], "any", false, false, false, 193), "html", null, true);
echo "\"
";
// line 194
if ((sw_get_attribute($this->env, $this->source, $context["payment"], "id", [], "any", false, false, false, 194) == sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "paymentMethod", [], "any", false, false, false, 194), "id", [], "any", false, false, false, 194))) {
echo " selected=\"selected\"";
}
echo ">
";
// line 195
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, 195), "name", [], "any", false, false, false, 195), "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 198
echo " </select>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 202
public function block_page_checkout_cart_shipping_costs_form_group_shipping_method($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_shipping_method"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_shipping_method"));
// line 203
echo " <div class=\"form-group\">
<label for=\"shippingMethodId\">";
// line 204
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 205
echo sw_escape_filter($this->env, ($context["formSelectClass"] ?? null), "html", null, true);
echo "\" type=\"text\" id=\"shippingMethodId\" name=\"shippingMethodId\">
";
// line 206
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, 206), "id", [], "any", false, false, false, 206), sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "shippingMethods", [], "any", false, false, false, 206), "ids", [], "any", false, false, false, 206))) {
// line 207
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, 207), "id", [], "any", false, false, false, 207), "html", null, true);
echo "\"
selected=\"selected\"
disabled=\"disabled\">
";
// line 210
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, 210), "translated", [], "any", false, false, false, 210), "name", [], "any", false, false, false, 210), "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 213
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "shippingMethods", [], "any", false, false, false, 213));
foreach ($context['_seq'] as $context["_key"] => $context["shipping"]) {
// line 214
echo " <option value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["shipping"], "id", [], "any", false, false, false, 214), "html", null, true);
echo "\"
";
// line 215
if ((sw_get_attribute($this->env, $this->source, $context["shipping"], "id", [], "any", false, false, false, 215) == sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "shippingMethod", [], "any", false, false, false, 215), "id", [], "any", false, false, false, 215))) {
echo " selected=\"selected\"";
}
echo ">
";
// line 216
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, 216), "name", [], "any", false, false, false, 216), "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 219
echo " </select>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 233
public function block_page_checkout_aside_actions($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_aside_actions"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_aside_actions"));
// line 234
echo " <div class=\"checkout-aside-action\">
";
// line 235
$this->displayBlock('page_checkout_cart_add_promotion', $context, $blocks);
// line 293
echo " </div>
";
// line 295
$this->displayBlock('page_checkout_cart_action_proceed', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 235
public function block_page_checkout_cart_add_promotion($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion"));
// line 236
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 242
echo " ";
$this->displayBlock('page_checkout_cart_add_promotion_csrf', $context, $blocks);
// line 245
echo "
";
// line 246
$this->displayBlock('page_checkout_cart_add_promotion_forward', $context, $blocks);
// line 251
echo "
";
// line 252
$this->displayBlock('page_checkout_cart_add_promotion_input_group', $context, $blocks);
// line 291
echo " </form>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 242
public function block_page_checkout_cart_add_promotion_csrf($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_csrf"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_csrf"));
// line 243
echo " ";
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.promotion.add");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 246
public function block_page_checkout_cart_add_promotion_forward($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_forward"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_forward"));
// line 247
echo " <input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.checkout.cart.page\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 252
public function block_page_checkout_cart_add_promotion_input_group($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_input_group"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_input_group"));
// line 253
echo " <div class=\"input-group checkout-aside-add-code\">
";
// line 254
$this->displayBlock('page_checkout_cart_add_promotion_label', $context, $blocks);
// line 259
echo "
";
// line 260
$this->displayBlock('page_checkout_cart_add_promotion_input', $context, $blocks);
// line 270
echo "
";
// line 271
$this->displayBlock('page_checkout_cart_add_promotion_submit', $context, $blocks);
// line 289
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 254
public function block_page_checkout_cart_add_promotion_label($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_label"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_label"));
// line 255
echo " <label class=\"";
echo sw_escape_filter($this->env, ($context["visuallyHiddenClass"] ?? null), "html", null, true);
echo "\" for=\"addPromotionInput\">
";
// line 256
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.addPromotionLabel"));
echo "
</label>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 260
public function block_page_checkout_cart_add_promotion_input($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_input"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_input"));
// line 261
echo " <input type=\"text\"
name=\"code\"
class=\"form-control\"
id=\"addPromotionInput\"
placeholder=\"";
// line 265
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 266
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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 271
public function block_page_checkout_cart_add_promotion_submit($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_submit"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_submit"));
// line 272
echo " ";
// line 273
echo " ";
if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->feature("v6.5.0.0")) {
// line 274
echo " <button class=\"btn btn-secondary\"
type=\"submit\"
id=\"addPromotion\">
";
// line 277
((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", 277);
})())->display(twig_array_merge($context, ["name" => "checkmark"]));
// line 278
echo " </button>
";
} else {
// line 280
echo " <div class=\"input-group-append\">
<button class=\"btn btn-secondary\"
type=\"submit\"
id=\"addPromotion\">
";
// line 284
((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", 284);
})())->display(twig_array_merge($context, ["name" => "checkmark"]));
// line 285
echo " </button>
</div>
";
}
// line 288
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 295
public function block_page_checkout_cart_action_proceed($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_action_proceed"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_action_proceed"));
// line 296
echo " ";
// line 297
echo " ";
if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->feature("v6.5.0.0")) {
// line 298
echo " <div class=\"checkout-aside-action d-grid\">
<a href=\"";
// line 299
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 301
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.proceedLink")), "html", null, true);
echo "\">
";
// line 302
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 306
echo " <div class=\"checkout-aside-action\">
<a href=\"";
// line 307
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 309
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.proceedLink")), "html", null, true);
echo "\">
";
// line 310
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 314
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@Storefront/storefront/page/checkout/cart/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1465 => 314, 1458 => 310, 1454 => 309, 1449 => 307, 1446 => 306, 1439 => 302, 1435 => 301, 1430 => 299, 1427 => 298, 1424 => 297, 1422 => 296, 1412 => 295, 1402 => 288, 1397 => 285, 1389 => 284, 1383 => 280, 1379 => 278, 1371 => 277, 1366 => 274, 1363 => 273, 1361 => 272, 1351 => 271, 1337 => 266, 1333 => 265, 1327 => 261, 1317 => 260, 1304 => 256, 1299 => 255, 1289 => 254, 1278 => 289, 1276 => 271, 1273 => 270, 1271 => 260, 1268 => 259, 1266 => 254, 1263 => 253, 1253 => 252, 1240 => 247, 1230 => 246, 1217 => 243, 1207 => 242, 1196 => 291, 1194 => 252, 1191 => 251, 1189 => 246, 1186 => 245, 1183 => 242, 1174 => 236, 1164 => 235, 1154 => 295, 1150 => 293, 1148 => 235, 1145 => 234, 1135 => 233, 1123 => 219, 1114 => 216, 1108 => 215, 1103 => 214, 1098 => 213, 1090 => 210, 1083 => 207, 1081 => 206, 1077 => 205, 1073 => 204, 1070 => 203, 1060 => 202, 1048 => 198, 1039 => 195, 1033 => 194, 1028 => 193, 1023 => 192, 1015 => 189, 1008 => 186, 1006 => 185, 1002 => 184, 998 => 183, 995 => 182, 985 => 181, 975 => 179, 970 => 176, 961 => 173, 957 => 172, 952 => 171, 948 => 170, 944 => 169, 940 => 168, 937 => 167, 934 => 166, 924 => 165, 912 => 222, 910 => 202, 907 => 201, 905 => 181, 902 => 180, 900 => 165, 897 => 164, 887 => 163, 877 => 158, 868 => 157, 858 => 156, 848 => 161, 844 => 159, 842 => 156, 838 => 155, 830 => 150, 827 => 149, 824 => 148, 821 => 147, 811 => 146, 798 => 143, 788 => 142, 776 => 225, 774 => 163, 771 => 162, 769 => 146, 766 => 145, 763 => 142, 757 => 138, 752 => 135, 742 => 134, 732 => 127, 727 => 124, 719 => 123, 713 => 119, 709 => 117, 701 => 116, 696 => 113, 693 => 112, 691 => 111, 681 => 110, 667 => 105, 663 => 104, 657 => 100, 647 => 99, 634 => 95, 629 => 94, 619 => 93, 608 => 128, 606 => 110, 603 => 109, 601 => 99, 598 => 98, 596 => 93, 593 => 92, 583 => 91, 570 => 86, 560 => 85, 547 => 82, 537 => 81, 525 => 130, 523 => 91, 520 => 90, 518 => 85, 515 => 84, 512 => 81, 504 => 75, 501 => 74, 491 => 73, 480 => 228, 478 => 134, 475 => 133, 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 => 230, 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\">
{# @deprecated tag:v6.5.0 - Block page_checkout_cart_add_product_csrf will be removed. #}
{% 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\">
{# @deprecated tag:v6.5.0 - Block page_checkout_cart_shipping_costs_csrf will be removed. #}
{% block page_checkout_cart_shipping_costs_csrf %}
{{ sw_csrf('frontend.checkout.configure') }}
{% endblock %}
{% block page_checkout_cart_shipping_costs_trigger %}
{% set PHYSICAL_STATE = constant('Shopware\\\\Core\\\\Content\\\\Product\\\\State::IS_PHYSICAL') %}
{% if page.cart.lineItems.hasLineItemWithState(PHYSICAL_STATE) %}
<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>
{% endif %}
{% 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\">
{# @deprecated tag:v6.5.0 - Block page_checkout_cart_add_promotion_csrf will be removed. #}
{% 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", "/var/www/shopware6/vendor/shopware/storefront/Resources/views/storefront/page/checkout/cart/index.html.twig");
}
}