<?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/checkout-item.html.twig */
class __TwigTemplate_8181422293e7857271d5c4aecf73cc19 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'page_checkout_item' => [$this, 'block_page_checkout_item'],
'page_checkout_item_container' => [$this, 'block_page_checkout_item_container'],
'page_checkout_item_info' => [$this, 'block_page_checkout_item_info'],
'page_checkout_item_info_inner' => [$this, 'block_page_checkout_item_info_inner'],
'page_checkout_item_info_image' => [$this, 'block_page_checkout_item_info_image'],
'page_checkout_item_info_image_container' => [$this, 'block_page_checkout_item_info_image_container'],
'page_checkout_item_info_image_link' => [$this, 'block_page_checkout_item_info_image_link'],
'page_checkout_item_info_image_element' => [$this, 'block_page_checkout_item_info_image_element'],
'page_checkout_item_info_details' => [$this, 'block_page_checkout_item_info_details'],
'page_checkout_item_info_details_inner' => [$this, 'block_page_checkout_item_info_details_inner'],
'page_checkout_item_info_label' => [$this, 'block_page_checkout_item_info_label'],
'page_checkout_item_info_variant_characteristics' => [$this, 'block_page_checkout_item_info_variant_characteristics'],
'page_checkout_item_info_features' => [$this, 'block_page_checkout_item_info_features'],
'page_checkout_item_info_ordernumber' => [$this, 'block_page_checkout_item_info_ordernumber'],
'page_checkout_item_delivery_date' => [$this, 'block_page_checkout_item_delivery_date'],
'page_checkout_item_wishlist' => [$this, 'block_page_checkout_item_wishlist'],
'page_checkout_item_quantity' => [$this, 'block_page_checkout_item_quantity'],
'page_checkout_item_quantity_label' => [$this, 'block_page_checkout_item_quantity_label'],
'page_checkout_item_quantity_select' => [$this, 'block_page_checkout_item_quantity_select'],
'page_checkout_item_quantity_form' => [$this, 'block_page_checkout_item_quantity_form'],
'page_checkout_item_quantity_form_csrf' => [$this, 'block_page_checkout_item_quantity_form_csrf'],
'page_checkout_item_quantity_redirect' => [$this, 'block_page_checkout_item_quantity_redirect'],
'page_product_detail_buy_quantity' => [$this, 'block_page_product_detail_buy_quantity'],
'page_product_detail_buy_quantity_input' => [$this, 'block_page_product_detail_buy_quantity_input'],
'page_product_detail_buy_quantity_select' => [$this, 'block_page_product_detail_buy_quantity_select'],
'page_checkout_item_quantity_number' => [$this, 'block_page_checkout_item_quantity_number'],
'page_checkout_item_unit_price' => [$this, 'block_page_checkout_item_unit_price'],
'page_checkout_item_unit_price_wrapper' => [$this, 'block_page_checkout_item_unit_price_wrapper'],
'page_checkout_item_unit_price_label' => [$this, 'block_page_checkout_item_unit_price_label'],
'page_checkout_item_unit_price_inner' => [$this, 'block_page_checkout_item_unit_price_inner'],
'page_checkout_item_unit_price_tax_symbol' => [$this, 'block_page_checkout_item_unit_price_tax_symbol'],
'page_checkout_item_total_price' => [$this, 'block_page_checkout_item_total_price'],
'page_checkout_item_total_price_wrapper' => [$this, 'block_page_checkout_item_total_price_wrapper'],
'page_checkout_item_total_price_label' => [$this, 'block_page_checkout_item_total_price_label'],
'page_checkout_item_total_price_inner' => [$this, 'block_page_checkout_item_total_price_inner'],
'page_checkout_item_total_price_tax_symbol' => [$this, 'block_page_checkout_item_total_price_tax_symbol'],
'page_checkout_item_remove' => [$this, 'block_page_checkout_item_remove'],
'page_checkout_item_remove_form' => [$this, 'block_page_checkout_item_remove_form'],
'page_checkout_item_remove_form_csrf' => [$this, 'block_page_checkout_item_remove_form_csrf'],
'page_checkout_item_remove_redirect' => [$this, 'block_page_checkout_item_remove_redirect'],
'page_checkout_item_remove_submit' => [$this, 'block_page_checkout_item_remove_submit'],
'page_checkout_item_children_template' => [$this, 'block_page_checkout_item_children_template'],
'page_checkout_item_children' => [$this, 'block_page_checkout_item_children'],
'page_checkout_item_child' => [$this, 'block_page_checkout_item_child'],
];
}
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/checkout-item.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/checkout-item.html.twig"));
// line 2
echo "
";
// line 3
$this->displayBlock('page_checkout_item', $context, $blocks);
// line 367
echo "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
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 4
echo " ";
// line 5
echo " ";
// line 6
echo " ";
// line 7
echo "
";
// line 8
$context["PRODUCT_LINE_ITEM_TYPE"] = twig_constant("Shopware\\Core\\Checkout\\Cart\\LineItem\\LineItem::PRODUCT_LINE_ITEM_TYPE");
// line 9
echo " ";
$context["DISCOUNT_LINE_ITEM_TYPE"] = twig_constant("Shopware\\Core\\Checkout\\Cart\\LineItem\\LineItem::DISCOUNT_LINE_ITEM");
// line 10
echo "
";
// line 11
$context["isDiscount"] = (( !sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "good", [], "any", false, false, false, 11) && (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "price", [], "any", false, false, false, 11), "totalPrice", [], "any", false, false, false, 11) <= 0)) || (sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "type", [], "any", false, false, false, 11) == ($context["DISCOUNT_LINE_ITEM_TYPE"] ?? null)));
// line 12
echo " ";
$context["isNested"] = (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "children", [], "any", false, false, false, 12), "count", [], "any", false, false, false, 12) > 0);
// line 13
echo "
";
// line 15
echo " ";
$context["childTemplate"] = "@Storefront/storefront/page/checkout/checkout-item.html.twig";
// line 16
echo " ";
$context["childrenTemplate"] = "@Storefront/storefront/page/checkout/checkout-item-children.html.twig";
// line 17
echo " ";
$context["deliveryPosition"] = null;
// line 18
echo "
";
// line 19
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, 19), "deliveries", [], "any", false, false, false, 19), "count", [], "any", false, false, false, 19) > 0)) {
// line 20
echo " ";
$context["delivery"] = 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, 20), "deliveries", [], "any", false, false, false, 20), "first", [], "any", false, false, false, 20);
// line 21
echo "
";
// line 22
$context["deliveryPosition"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["delivery"] ?? null), "positions", [], "any", false, false, false, 22), "get", [0 => sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "id", [], "any", false, false, false, 22)], "method", false, false, false, 22);
// line 23
echo " ";
}
// line 24
echo "
";
// line 26
echo " ";
$context["cartItemClasses"] = "";
// line 27
echo "
";
// line 28
$context["label"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "label", [], "any", false, false, false, 28)));
// line 29
echo " ";
$context["label"] = (((($context["label"] ?? null) !== "")) ? (($context["label"] ?? null)) : (sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "label", [], "any", false, false, false, 29)));
// line 30
echo "
";
// line 31
$this->displayBlock('page_checkout_item_container', $context, $blocks);
// line 363
echo "
";
// line 365
echo " ";
$this->displayBlock('page_checkout_item_child', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 31
public function block_page_checkout_item_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_item_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_item_container"));
// line 32
echo " <div class=\"cart-item cart-item-";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "type", [], "any", false, false, false, 32), "html", null, true);
if (($context["isDiscount"] ?? null)) {
echo " is-discount";
}
echo sw_escape_filter($this->env, ($context["cartItemClasses"] ?? null), "html", null, true);
echo "\">
<div class=\"row cart-item-row\">
";
// line 35
$this->displayBlock('page_checkout_item_info', $context, $blocks);
// line 189
echo "
";
// line 190
$this->displayBlock('page_checkout_item_quantity', $context, $blocks);
// line 274
echo "
";
// line 275
$this->displayBlock('page_checkout_item_unit_price', $context, $blocks);
// line 294
echo "
";
// line 295
$this->displayBlock('page_checkout_item_total_price', $context, $blocks);
// line 315
echo "
";
// line 316
$this->displayBlock('page_checkout_item_remove', $context, $blocks);
// line 350
echo "
";
// line 351
$this->displayBlock('page_checkout_item_children_template', $context, $blocks);
// line 359
echo "
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 35
public function block_page_checkout_item_info($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_info"));
$__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_info"));
// line 36
echo " <div class=\"col-10 col-md-5 cart-item-info\">
";
// line 38
$this->displayBlock('page_checkout_item_info_inner', $context, $blocks);
// line 186
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 38
public function block_page_checkout_item_info_inner($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_info_inner"));
$__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_info_inner"));
// line 39
echo " <div class=\"row cart-item-row\">
";
// line 41
$this->displayBlock('page_checkout_item_info_image', $context, $blocks);
// line 99
echo "
";
// line 100
$this->displayBlock('page_checkout_item_info_details', $context, $blocks);
// line 183
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 41
public function block_page_checkout_item_info_image($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_info_image"));
$__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_info_image"));
// line 42
echo " <div class=\"col-auto cart-item-info-img\">
";
// line 44
$this->displayBlock('page_checkout_item_info_image_container', $context, $blocks);
// line 96
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 44
public function block_page_checkout_item_info_image_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_item_info_image_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_item_info_image_container"));
// line 45
echo " <div class=\"cart-item-img-container\">
";
// line 47
$this->displayBlock('page_checkout_item_info_image_link', $context, $blocks);
// line 93
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 47
public function block_page_checkout_item_info_image_link($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_info_image_link"));
$__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_info_image_link"));
// line 48
echo " ";
if (($context["isDiscount"] ?? null)) {
// line 49
echo " <div class=\"cart-item-img cart-item-discount-icon\">
";
// line 50
((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/checkout-item.html.twig", 50);
})())->display(twig_array_merge($context, ["color" => "success", "name" => "marketing"]));
// line 53
echo " </div>
";
} elseif ( // line 54
($context["isNested"] ?? null)) {
// line 55
echo " <div class=\"cart-item-nested-icon\">
";
// line 56
((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/checkout-item.html.twig", 56);
})())->display(twig_array_merge($context, ["color" => "light", "name" => "bag-product"]));
// line 59
echo " </div>
";
} else {
// line 61
echo " <a href=\"";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.detail.page", ["productId" => sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "referencedId", [], "any", false, false, false, 61)]), "html", null, true);
echo "\"
class=\"cart-item-img-link\"
title=\"";
// line 63
echo sw_escape_filter($this->env, ($context["label"] ?? null), "html", null, true);
echo "\"
";
// line 64
if ((($context["controllerAction"] ?? null) === "confirmPage")) {
// line 65
echo " ";
echo sw_escape_filter($this->env, ($context["dataBsToggleAttr"] ?? null), "html", null, true);
echo "=\"modal\"
data-modal-class=\"quickview-modal\"
data-url=\"";
// line 67
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widgets.quickview.minimal", ["productId" => sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "referencedId", [], "any", false, false, false, 67)]), "html", null, true);
echo "\"
";
}
// line 69
echo " >
";
// line 70
$this->displayBlock('page_checkout_item_info_image_element', $context, $blocks);
// line 89
echo "
</a>
";
}
// line 92
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 70
public function block_page_checkout_item_info_image_element($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_info_image_element"));
$__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_info_image_element"));
// line 71
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "cover", [], "any", false, false, false, 71), "url", [], "any", false, false, false, 71)) {
// line 72
echo " ";
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/thumbnail.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@Storefront/storefront/page/checkout/checkout-item.html.twig", 72);
})())->display(twig_array_merge($context, ["media" => sw_get_attribute($this->env, $this->source, // line 73
($context["lineItem"] ?? null), "cover", [], "any", false, false, false, 73), "sizes" => ["default" => "100px"], "attributes" => ["class" => "img-fluid cart-item-img", "alt" => ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 79
($context["lineItem"] ?? null), "cover", [], "any", false, false, false, 79), "translated", [], "any", false, false, false, 79), "alt", [], "any", false, false, false, 79)) ? (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "cover", [], "any", false, false, false, 79), "translated", [], "any", false, false, false, 79), "alt", [], "any", false, false, false, 79)) : ("")), "title" => ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 80
($context["lineItem"] ?? null), "cover", [], "any", false, false, false, 80), "translated", [], "any", false, false, false, 80), "title", [], "any", false, false, false, 80)) ? (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "cover", [], "any", false, false, false, 80), "translated", [], "any", false, false, false, 80), "title", [], "any", false, false, false, 80)) : (""))], "name" => "cart-item-img-thumbnails"]));
// line 83
echo " ";
} else {
// line 84
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/checkout-item.html.twig", 84);
})())->display(twig_array_merge($context, ["size" => "fluid", "name" => "placeholder"]));
// line 87
echo " ";
}
// line 88
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 100
public function block_page_checkout_item_info_details($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_info_details"));
$__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_info_details"));
// line 101
echo " <div class=\"col-12 col-sm-7 col-md-8 cart-item-details\">
";
// line 103
$this->displayBlock('page_checkout_item_info_details_inner', $context, $blocks);
// line 180
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 103
public function block_page_checkout_item_info_details_inner($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_info_details_inner"));
$__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_info_details_inner"));
// line 104
echo " <div class=\"cart-item-details-container\">
";
// line 106
$this->displayBlock('page_checkout_item_info_label', $context, $blocks);
// line 125
echo "
";
// line 126
$this->displayBlock('page_checkout_item_info_variant_characteristics', $context, $blocks);
// line 140
echo "
";
// line 141
$this->displayBlock('page_checkout_item_info_features', $context, $blocks);
// line 148
echo "
";
// line 149
$this->displayBlock('page_checkout_item_info_ordernumber', $context, $blocks);
// line 156
echo "
";
// line 157
$this->displayBlock('page_checkout_item_delivery_date', $context, $blocks);
// line 167
echo "
";
// line 168
$this->displayBlock('page_checkout_item_wishlist', $context, $blocks);
// line 177
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 106
public function block_page_checkout_item_info_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_item_info_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_item_info_label"));
// line 107
echo " ";
if ((sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "type", [], "any", false, false, false, 107) == ($context["PRODUCT_LINE_ITEM_TYPE"] ?? null))) {
// line 108
echo " <a href=\"";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.detail.page", ["productId" => sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "referencedId", [], "any", false, false, false, 108)]), "html", null, true);
echo "\"
class=\"cart-item-label\"
title=\"";
// line 110
echo sw_escape_filter($this->env, ($context["label"] ?? null), "html", null, true);
echo "\"
";
// line 111
if ((($context["controllerAction"] ?? null) === "confirmPage")) {
// line 112
echo " ";
echo sw_escape_filter($this->env, ($context["dataBsToggleAttr"] ?? null), "html", null, true);
echo "=\"modal\"
data-modal-class=\"quickview-modal\"
data-url=\"";
// line 114
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widgets.quickview.minimal", ["productId" => sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "referencedId", [], "any", false, false, false, 114)]), "html", null, true);
echo "\"
";
}
// line 116
echo " >
";
// line 117
echo sw_get_attribute($this->env, $this->source, $this->extensions['Twig\Extra\String\StringExtension']->createUnicodeString(($context["label"] ?? null)), "truncate", [0 => 60, 1 => "...", 2 => false], "method", false, false, false, 117);
echo "
</a>
";
} else {
// line 120
echo " <div class=\"cart-item-label\">
";
// line 121
echo sw_get_attribute($this->env, $this->source, $this->extensions['Twig\Extra\String\StringExtension']->createUnicodeString(($context["label"] ?? null)), "truncate", [0 => 60, 1 => "...", 2 => false], "method", false, false, false, 121);
echo "
</div>
";
}
// line 124
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 126
public function block_page_checkout_item_info_variant_characteristics($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_info_variant_characteristics"));
$__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_info_variant_characteristics"));
// line 127
echo " <div class=\"cart-item-details-characteristics\">
";
// line 129
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "payload", [], "any", false, false, false, 129), "options", [], "any", false, false, false, 129));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 130
echo " ";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["option"], "group", [], "any", false, false, false, 130), "html", null, true);
echo ":
<span class=\"cart-item-details-characteristics-option\">";
// line 131
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["option"], "option", [], "any", false, false, false, 131), "html", null, true);
echo "</span>
";
// line 133
if ((twig_last($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "payload", [], "any", false, false, false, 133), "options", [], "any", false, false, false, 133)) != $context["option"])) {
// line 134
echo " ";
echo " | ";
echo "
";
}
// line 136
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 137
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 141
public function block_page_checkout_item_info_features($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_info_features"));
$__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_info_features"));
// line 142
echo " ";
if (((sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "type", [], "any", false, false, false, 142) == ($context["PRODUCT_LINE_ITEM_TYPE"] ?? null)) && !(null === sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "payload", [], "any", false, false, false, 142), "features", [], "any", false, false, false, 142)))) {
// line 143
echo " ";
$this->loadTemplate("@Storefront/storefront/component/product/feature/list.html.twig", "@Storefront/storefront/page/checkout/checkout-item.html.twig", 143)->display(twig_array_merge($context, ["features" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 144
($context["lineItem"] ?? null), "payload", [], "any", false, false, false, 144), "features", [], "any", false, false, false, 144)]));
// line 146
echo " ";
}
// line 147
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 149
public function block_page_checkout_item_info_ordernumber($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_info_ordernumber"));
$__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_info_ordernumber"));
// line 150
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "payload", [], "any", false, false, false, 150), "productNumber", [], "any", false, false, false, 150)) {
// line 151
echo " <div class=\"cart-item-ordernumber\">
";
// line 152
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.cartItemInfoId"));
echo " ";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "payload", [], "any", false, false, false, 152), "productNumber", [], "any", false, false, false, 152), "html", null, true);
echo "
</div>
";
}
// line 155
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 157
public function block_page_checkout_item_delivery_date($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_delivery_date"));
$__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_delivery_date"));
// line 158
echo " ";
if (((($context["deliveryPosition"] ?? null) && sw_get_attribute($this->env, $this->source, ($context["deliveryPosition"] ?? null), "deliveryDate", [], "any", false, false, false, 158)) && $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "core.cart.showDeliveryTime"))) {
// line 159
echo " <div class=\"cart-item-delivery-date\">
";
// line 160
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.lineItemDeliveryDate", ["%earliest%" => $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 161
($context["deliveryPosition"] ?? null), "deliveryDate", [], "any", false, false, false, 161), "earliest", [], "any", false, false, false, 161), "short", "", null, "gregorian", sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 161), "locale", [], "any", false, false, false, 161)), "%latest%" => $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 162
($context["deliveryPosition"] ?? null), "deliveryDate", [], "any", false, false, false, 162), "latest", [], "any", false, false, false, 162), "short", "", null, "gregorian", sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 162), "locale", [], "any", false, false, false, 162))]));
// line 163
echo "
</div>
";
}
// line 166
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 168
public function block_page_checkout_item_wishlist($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_wishlist"));
$__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_wishlist"));
// line 169
echo " ";
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "core.cart.wishlistEnabled") && (sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "type", [], "any", false, false, false, 169) == ($context["PRODUCT_LINE_ITEM_TYPE"] ?? null)))) {
// line 170
echo " ";
$this->loadTemplate("@zenitPlatformStratus/storefront/component/product/card/wishlist.html.twig", "@Storefront/storefront/page/checkout/checkout-item.html.twig", 170)->display(twig_array_merge($context, ["showText" => true, "size" => "sm", "productId" => sw_get_attribute($this->env, $this->source, // line 173
($context["lineItem"] ?? null), "referencedId", [], "any", false, false, false, 173)]));
// line 175
echo " ";
}
// line 176
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 190
public function block_page_checkout_item_quantity($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_quantity"));
$__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_quantity"));
// line 191
echo " <div class=\"col-12 col-sm-4 col-md-2 cart-item-quantity\">
<div class=\"row cart-item-quantity-row\">
";
// line 194
$this->displayBlock('page_checkout_item_quantity_label', $context, $blocks);
// line 199
echo "
";
// line 200
$this->displayBlock('page_checkout_item_quantity_select', $context, $blocks);
// line 270
echo "
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 194
public function block_page_checkout_item_quantity_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_item_quantity_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_item_quantity_label"));
// line 195
echo " <div class=\"col-8 col-sm-12 cart-item-quantity-label\">
";
// line 196
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.cartHeaderQuantity"));
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 200
public function block_page_checkout_item_quantity_select($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_quantity_select"));
$__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_quantity_select"));
// line 201
echo " <div class=\"col-4 col-sm-12\">
";
// line 203
$this->displayBlock('page_checkout_item_quantity_form', $context, $blocks);
// line 267
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 203
public function block_page_checkout_item_quantity_form($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_quantity_form"));
$__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_quantity_form"));
// line 204
echo " ";
// line 205
echo " ";
if (((sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "quantityInformation", [], "any", false, false, false, 205) && sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "stackable", [], "any", false, false, false, 205)) && !($context["isChild"] ?? null))) {
// line 206
echo " <form action=\"";
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.line-item.change-quantity", ["id" => sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "id", [], "any", false, false, false, 206)]), "html", null, true);
echo "\"
class=\"cart-item-quantity-container\"
method=\"post\"
data-form-auto-submit=\"true\">
";
// line 211
$this->displayBlock('page_checkout_item_quantity_form_csrf', $context, $blocks);
// line 214
echo "
";
// line 215
$this->displayBlock('page_checkout_item_quantity_redirect', $context, $blocks);
// line 220
echo "
";
// line 222
echo " ";
$context["quantityInformation"] = sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "quantityInformation", [], "any", false, false, false, 222);
// line 223
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["quantityInformation"] ?? null), "maxPurchase", [], "any", false, false, false, 223)) {
// line 224
echo " ";
$context["maxQuantity"] = sw_get_attribute($this->env, $this->source, ($context["quantityInformation"] ?? null), "maxPurchase", [], "any", false, false, false, 224);
// line 225
echo " ";
} else {
// line 226
echo " ";
$context["maxQuantity"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "core.cart.maxQuantity");
// line 227
echo " ";
}
// line 228
echo "
";
// line 229
$context["selectQuantityThreshold"] = 100;
// line 230
echo " ";
$this->displayBlock('page_product_detail_buy_quantity', $context, $blocks);
// line 257
echo "
</form>
";
} elseif ((sw_get_attribute($this->env, $this->source, // line 259
($context["lineItem"] ?? null), "type", [], "any", false, false, false, 259) != "promotion")) {
// line 260
echo " ";
$this->displayBlock('page_checkout_item_quantity_number', $context, $blocks);
// line 265
echo " ";
}
// line 266
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 211
public function block_page_checkout_item_quantity_form_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_item_quantity_form_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_item_quantity_form_csrf"));
// line 212
echo " ";
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.line-item.change-quantity");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 215
public function block_page_checkout_item_quantity_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_item_quantity_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_item_quantity_redirect"));
// line 216
echo " <input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.checkout.cart.page\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 230
public function block_page_product_detail_buy_quantity($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_product_detail_buy_quantity"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_buy_quantity"));
// line 231
echo " ";
if (((sw_get_attribute($this->env, $this->source, ($context["quantityInformation"] ?? null), "maxPurchase", [], "any", false, false, false, 231) / sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "quantityInformation", [], "any", false, false, false, 231), "purchaseSteps", [], "any", false, false, false, 231)) > ($context["selectQuantityThreshold"] ?? null))) {
// line 232
echo " ";
$this->displayBlock('page_product_detail_buy_quantity_input', $context, $blocks);
// line 243
echo " ";
} else {
// line 244
echo " ";
$this->displayBlock('page_product_detail_buy_quantity_select', $context, $blocks);
// line 255
echo " ";
}
// line 256
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 232
public function block_page_product_detail_buy_quantity_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_product_detail_buy_quantity_input"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_buy_quantity_input"));
// line 233
echo " <input
type=\"number\"
name=\"quantity\"
class=\"form-control js-offcanvas-cart-change-quantity\"
min=\"";
// line 237
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["quantityInformation"] ?? null), "minPurchase", [], "any", false, false, false, 237), "html", null, true);
echo "\"
max=\"";
// line 238
echo sw_escape_filter($this->env, ($context["maxQuantity"] ?? null), "html", null, true);
echo "\"
step=\"";
// line 239
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["quantityInformation"] ?? null), "purchaseSteps", [], "any", false, false, false, 239), "html", null, true);
echo "\"
value=\"";
// line 240
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "quantity", [], "any", false, false, false, 240), "html", null, true);
echo "\"
/>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 244
public function block_page_product_detail_buy_quantity_select($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_product_detail_buy_quantity_select"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_buy_quantity_select"));
// line 245
echo " <select name=\"quantity\"
class=\"";
// line 246
echo sw_escape_filter($this->env, ($context["formSelectClass"] ?? null), "html", null, true);
echo " quantity-select\">
";
// line 247
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "quantityInformation", [], "any", false, false, false, 247), "minPurchase", [], "any", false, false, false, 247), ($context["maxQuantity"] ?? null), sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "quantityInformation", [], "any", false, false, false, 247), "purchaseSteps", [], "any", false, false, false, 247)));
foreach ($context['_seq'] as $context["_key"] => $context["quantity"]) {
// line 248
echo " <option value=\"";
echo sw_escape_filter($this->env, $context["quantity"], "html", null, true);
echo "\"
";
// line 249
if (($context["quantity"] == sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "quantity", [], "any", false, false, false, 249))) {
echo " selected=\"selected\"";
}
echo ">
";
// line 250
echo sw_escape_filter($this->env, $context["quantity"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['quantity'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 253
echo " </select>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 260
public function block_page_checkout_item_quantity_number($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_quantity_number"));
$__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_quantity_number"));
// line 261
echo " <div class=\"d-flex justify-content-end cart-item-quantity\">
";
// line 262
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "quantity", [], "any", false, false, false, 262), "html", null, true);
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 275
public function block_page_checkout_item_unit_price($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_unit_price"));
$__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_unit_price"));
// line 276
echo " <div class=\"col-12 col-sm-4 col-md-2 cart-item-unit-price\">
";
// line 278
$this->displayBlock('page_checkout_item_unit_price_wrapper', $context, $blocks);
// line 291
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 278
public function block_page_checkout_item_unit_price_wrapper($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_unit_price_wrapper"));
$__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_unit_price_wrapper"));
// line 279
echo " ";
if ( !($context["isDiscount"] ?? null)) {
// line 280
echo " ";
$this->displayBlock('page_checkout_item_unit_price_label', $context, $blocks);
// line 285
echo "
";
// line 286
$this->displayBlock('page_checkout_item_unit_price_inner', $context, $blocks);
// line 289
echo " ";
}
// line 290
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 280
public function block_page_checkout_item_unit_price_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_item_unit_price_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_item_unit_price_label"));
// line 281
echo " <div class=\"cart-item-unit-price-label\">
";
// line 282
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.cartHeaderUnitPrice"));
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 286
public function block_page_checkout_item_unit_price_inner($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_unit_price_inner"));
$__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_unit_price_inner"));
// line 287
echo " ";
echo sw_escape_filter($this->env, $this->extensions['FourtwosixMaintainNetPrice\Decorator\Core\Content\Framework\Adapter\Twig\Filter\CurrencyFilterDecorator']->formatCurrency($context, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "price", [], "any", false, false, false, 287), "unitPrice", [], "any", false, false, false, 287)), "html", null, true);
$this->displayBlock('page_checkout_item_unit_price_tax_symbol', $context, $blocks);
// line 288
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 287
public function block_page_checkout_item_unit_price_tax_symbol($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_unit_price_tax_symbol"));
$__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_unit_price_tax_symbol"));
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.star"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 295
public function block_page_checkout_item_total_price($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_total_price"));
$__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_total_price"));
// line 296
echo " <div class=\"col-12 col-sm-4 col-md-2 cart-item-total-price\">
";
// line 298
$this->displayBlock('page_checkout_item_total_price_wrapper', $context, $blocks);
// line 312
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 298
public function block_page_checkout_item_total_price_wrapper($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_total_price_wrapper"));
$__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_total_price_wrapper"));
// line 299
echo " ";
$this->displayBlock('page_checkout_item_total_price_label', $context, $blocks);
// line 304
echo "
";
// line 305
$this->displayBlock('page_checkout_item_total_price_inner', $context, $blocks);
// line 311
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 299
public function block_page_checkout_item_total_price_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_item_total_price_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_item_total_price_label"));
// line 300
echo " <div class=\"cart-item-total-price-label\">
";
// line 301
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.cartHeaderTotalPrice"));
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 305
public function block_page_checkout_item_total_price_inner($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_total_price_inner"));
$__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_total_price_inner"));
// line 306
echo " ";
// line 307
echo " ";
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "payload", [], "any", false, false, false, 307), "discountScope", [], "any", false, false, false, 307) != "delivery")) {
// line 308
echo " ";
echo sw_escape_filter($this->env, $this->extensions['FourtwosixMaintainNetPrice\Decorator\Core\Content\Framework\Adapter\Twig\Filter\CurrencyFilterDecorator']->formatCurrency($context, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "price", [], "any", false, false, false, 308), "totalPrice", [], "any", false, false, false, 308)), "html", null, true);
$this->displayBlock('page_checkout_item_total_price_tax_symbol', $context, $blocks);
// line 309
echo " ";
}
// line 310
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 308
public function block_page_checkout_item_total_price_tax_symbol($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_total_price_tax_symbol"));
$__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_total_price_tax_symbol"));
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.star"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 316
public function block_page_checkout_item_remove($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_remove"));
$__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_remove"));
// line 317
echo " <div class=\"col-2 col-md-1 cart-item-remove\">
";
// line 319
$this->displayBlock('page_checkout_item_remove_form', $context, $blocks);
// line 347
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 319
public function block_page_checkout_item_remove_form($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_remove_form"));
$__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_remove_form"));
// line 320
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "removable", [], "any", false, false, false, 320)) {
// line 321
echo " <form action=\"";
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.line-item.delete", ["id" => sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "id", [], "any", false, false, false, 321)]), "html", null, true);
echo "\"
method=\"post\"
data-form-csrf-handler=\"true\">
";
// line 325
$this->displayBlock('page_checkout_item_remove_form_csrf', $context, $blocks);
// line 328
echo "
";
// line 329
$this->displayBlock('page_checkout_item_remove_redirect', $context, $blocks);
// line 334
echo "
";
// line 335
$this->displayBlock('page_checkout_item_remove_submit', $context, $blocks);
// line 343
echo "
</form>
";
}
// line 346
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 325
public function block_page_checkout_item_remove_form_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_item_remove_form_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_item_remove_form_csrf"));
// line 326
echo " ";
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.line-item.delete");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 329
public function block_page_checkout_item_remove_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_item_remove_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_item_remove_redirect"));
// line 330
echo " <input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.checkout.cart.page\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 335
public function block_page_checkout_item_remove_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_item_remove_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_item_remove_submit"));
// line 336
echo " <button type=\"submit\"
title=\"";
// line 337
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.removeLineItem")), "html", null, true);
echo "\"
data-product-id=\"";
// line 338
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "id", [], "any", false, false, false, 338), "html", null, true);
echo "\"
class=\"btn btn-light btn-sm cart-item-remove-button\">
";
// line 340
((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/checkout-item.html.twig", 340);
})())->display(twig_array_merge($context, ["size" => "sm", "name" => "x"]));
// line 341
echo " </button>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 351
public function block_page_checkout_item_children_template($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_children_template"));
$__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_children_template"));
// line 352
echo " ";
if (($context["isNested"] ?? null)) {
// line 353
echo " ";
// line 354
echo " ";
$this->displayBlock('page_checkout_item_children', $context, $blocks);
// line 357
echo " ";
}
// line 358
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 354
public function block_page_checkout_item_children($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_children"));
$__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_children"));
// line 355
echo " ";
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find(($context["childrenTemplate"] ?? null));
return $this->loadTemplate($includeTemplate ?? null, "@Storefront/storefront/page/checkout/checkout-item.html.twig", 355);
})())->display($context);
// line 356
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 365
public function block_page_checkout_item_child($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_child"));
$__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_child"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@Storefront/storefront/page/checkout/checkout-item.html.twig";
}
public function getDebugInfo()
{
return array ( 1697 => 365, 1687 => 356, 1678 => 355, 1668 => 354, 1658 => 358, 1655 => 357, 1652 => 354, 1650 => 353, 1647 => 352, 1637 => 351, 1626 => 341, 1618 => 340, 1613 => 338, 1609 => 337, 1606 => 336, 1596 => 335, 1583 => 330, 1573 => 329, 1560 => 326, 1550 => 325, 1540 => 346, 1535 => 343, 1533 => 335, 1530 => 334, 1528 => 329, 1525 => 328, 1523 => 325, 1515 => 321, 1512 => 320, 1502 => 319, 1490 => 347, 1488 => 319, 1484 => 317, 1474 => 316, 1455 => 308, 1445 => 310, 1442 => 309, 1438 => 308, 1435 => 307, 1433 => 306, 1423 => 305, 1410 => 301, 1407 => 300, 1397 => 299, 1387 => 311, 1385 => 305, 1382 => 304, 1379 => 299, 1369 => 298, 1357 => 312, 1355 => 298, 1351 => 296, 1341 => 295, 1322 => 287, 1312 => 288, 1308 => 287, 1298 => 286, 1285 => 282, 1282 => 281, 1272 => 280, 1262 => 290, 1259 => 289, 1257 => 286, 1254 => 285, 1251 => 280, 1248 => 279, 1238 => 278, 1226 => 291, 1224 => 278, 1220 => 276, 1210 => 275, 1197 => 262, 1194 => 261, 1184 => 260, 1173 => 253, 1164 => 250, 1158 => 249, 1153 => 248, 1149 => 247, 1145 => 246, 1142 => 245, 1132 => 244, 1119 => 240, 1115 => 239, 1111 => 238, 1107 => 237, 1101 => 233, 1091 => 232, 1081 => 256, 1078 => 255, 1075 => 244, 1072 => 243, 1069 => 232, 1066 => 231, 1056 => 230, 1043 => 216, 1033 => 215, 1020 => 212, 1010 => 211, 1000 => 266, 997 => 265, 994 => 260, 992 => 259, 988 => 257, 985 => 230, 983 => 229, 980 => 228, 977 => 227, 974 => 226, 971 => 225, 968 => 224, 965 => 223, 962 => 222, 959 => 220, 957 => 215, 954 => 214, 952 => 211, 943 => 206, 940 => 205, 938 => 204, 928 => 203, 916 => 267, 914 => 203, 910 => 201, 900 => 200, 887 => 196, 884 => 195, 874 => 194, 861 => 270, 859 => 200, 856 => 199, 854 => 194, 849 => 191, 839 => 190, 829 => 176, 826 => 175, 824 => 173, 822 => 170, 819 => 169, 809 => 168, 799 => 166, 794 => 163, 792 => 162, 791 => 161, 790 => 160, 787 => 159, 784 => 158, 774 => 157, 764 => 155, 756 => 152, 753 => 151, 750 => 150, 740 => 149, 730 => 147, 727 => 146, 725 => 144, 723 => 143, 720 => 142, 710 => 141, 698 => 137, 692 => 136, 686 => 134, 684 => 133, 679 => 131, 674 => 130, 670 => 129, 666 => 127, 656 => 126, 646 => 124, 640 => 121, 637 => 120, 631 => 117, 628 => 116, 623 => 114, 617 => 112, 615 => 111, 611 => 110, 605 => 108, 602 => 107, 592 => 106, 580 => 177, 578 => 168, 575 => 167, 573 => 157, 570 => 156, 568 => 149, 565 => 148, 563 => 141, 560 => 140, 558 => 126, 555 => 125, 553 => 106, 549 => 104, 539 => 103, 527 => 180, 525 => 103, 521 => 101, 511 => 100, 501 => 88, 498 => 87, 489 => 84, 486 => 83, 484 => 80, 483 => 79, 482 => 73, 474 => 72, 471 => 71, 461 => 70, 451 => 92, 446 => 89, 444 => 70, 441 => 69, 436 => 67, 430 => 65, 428 => 64, 424 => 63, 418 => 61, 414 => 59, 406 => 56, 403 => 55, 401 => 54, 398 => 53, 390 => 50, 387 => 49, 384 => 48, 374 => 47, 362 => 93, 360 => 47, 356 => 45, 346 => 44, 334 => 96, 332 => 44, 328 => 42, 318 => 41, 306 => 183, 304 => 100, 301 => 99, 299 => 41, 295 => 39, 285 => 38, 273 => 186, 271 => 38, 267 => 36, 257 => 35, 244 => 359, 242 => 351, 239 => 350, 237 => 316, 234 => 315, 232 => 295, 229 => 294, 227 => 275, 224 => 274, 222 => 190, 219 => 189, 217 => 35, 206 => 32, 196 => 31, 185 => 365, 182 => 363, 180 => 31, 177 => 30, 174 => 29, 172 => 28, 169 => 27, 166 => 26, 163 => 24, 160 => 23, 158 => 22, 155 => 21, 152 => 20, 150 => 19, 147 => 18, 144 => 17, 141 => 16, 138 => 15, 135 => 13, 132 => 12, 130 => 11, 127 => 10, 124 => 9, 122 => 8, 119 => 7, 117 => 6, 115 => 5, 113 => 4, 103 => 3, 92 => 367, 90 => 3, 87 => 2,);
}
public function getSourceContext()
{
return new Source("{# @deprecated tag:v6.5.0 - Template `checkout-item.html.twig` is deprecated. Use `storefront/component/line-item/line-item.html.twig` instead. #}
{% block page_checkout_item %}
{# @var page \\Shopware\\Storefront\\Page\\Checkout\\Cart\\CheckoutCartPage #}
{# @var delivery \\Shopware\\Core\\Checkout\\Cart\\Delivery\\Struct\\Delivery #}
{# @var lineItem \\Shopware\\Core\\Checkout\\Cart\\LineItem\\LineItem #}
{% set PRODUCT_LINE_ITEM_TYPE = constant('Shopware\\\\Core\\\\Checkout\\\\Cart\\\\LineItem\\\\LineItem::PRODUCT_LINE_ITEM_TYPE') %}
{% set DISCOUNT_LINE_ITEM_TYPE = constant('Shopware\\\\Core\\\\Checkout\\\\Cart\\\\LineItem\\\\LineItem::DISCOUNT_LINE_ITEM') %}
{% set isDiscount = (not lineItem.good and lineItem.price.totalPrice <= 0) || lineItem.type == DISCOUNT_LINE_ITEM_TYPE %}
{% set isNested = lineItem.children.count > 0 %}
{# @deprecated tag:v6.5.0 - var will be removed - use 'childrenTemplate' instead #}
{% set childTemplate = '@Storefront/storefront/page/checkout/checkout-item.html.twig' %}
{% set childrenTemplate = '@Storefront/storefront/page/checkout/checkout-item-children.html.twig' %}
{% set deliveryPosition = null %}
{% if page.cart.deliveries.count > 0 %}
{% set delivery = page.cart.deliveries.first %}
{% set deliveryPosition = delivery.positions.get(lineItem.id) %}
{% endif %}
{# @deprecated tag:v6.5.0 - `cartItemClasses` & `isChild` will be removed with no replacement #}
{% set cartItemClasses = '' %}
{% set label = lineItem.label|trans|sw_sanitize %}
{% set label = label !== '' ? label : lineItem.label %}
{% block page_checkout_item_container %}
<div class=\"cart-item cart-item-{{ lineItem.type }}{% if isDiscount %} is-discount{% endif %}{{ cartItemClasses }}\">
<div class=\"row cart-item-row\">
{% block page_checkout_item_info %}
<div class=\"col-10 col-md-5 cart-item-info\">
{% block page_checkout_item_info_inner %}
<div class=\"row cart-item-row\">
{% block page_checkout_item_info_image %}
<div class=\"col-auto cart-item-info-img\">
{% block page_checkout_item_info_image_container %}
<div class=\"cart-item-img-container\">
{% block page_checkout_item_info_image_link %}
{% if isDiscount %}
<div class=\"cart-item-img cart-item-discount-icon\">
{% sw_icon 'marketing' style {
'color': 'success'
} %}
</div>
{% elseif isNested %}
<div class=\"cart-item-nested-icon\">
{% sw_icon 'bag-product' style {
'color': 'light'
} %}
</div>
{% else %}
<a href=\"{{ seoUrl('frontend.detail.page', {'productId': lineItem.referencedId}) }}\"
class=\"cart-item-img-link\"
title=\"{{ label }}\"
{% if controllerAction is same as('confirmPage') %}
{{ dataBsToggleAttr }}=\"modal\"
data-modal-class=\"quickview-modal\"
data-url=\"{{ path('widgets.quickview.minimal', { 'productId': lineItem.referencedId }) }}\"
{% endif %}
>
{% block page_checkout_item_info_image_element %}
{% if lineItem.cover.url %}
{% sw_thumbnails 'cart-item-img-thumbnails' with {
media: lineItem.cover,
sizes: {
'default': '100px'
},
attributes: {
'class': 'img-fluid cart-item-img',
'alt': (lineItem.cover.translated.alt ?: ''),
'title': (lineItem.cover.translated.title ?: '')
}
} %}
{% else %}
{% sw_icon 'placeholder' style {
'size': 'fluid'
} %}
{% endif %}
{% endblock %}
</a>
{% endif %}
{% endblock %}
</div>
{% endblock %}
</div>
{% endblock %}
{% block page_checkout_item_info_details %}
<div class=\"col-12 col-sm-7 col-md-8 cart-item-details\">
{% block page_checkout_item_info_details_inner %}
<div class=\"cart-item-details-container\">
{% block page_checkout_item_info_label %}
{% if lineItem.type == PRODUCT_LINE_ITEM_TYPE %}
<a href=\"{{ seoUrl('frontend.detail.page', {'productId': lineItem.referencedId}) }}\"
class=\"cart-item-label\"
title=\"{{ label }}\"
{% if controllerAction is same as('confirmPage') %}
{{ dataBsToggleAttr }}=\"modal\"
data-modal-class=\"quickview-modal\"
data-url=\"{{ path('widgets.quickview.minimal',{ 'productId': lineItem.referencedId }) }}\"
{% endif %}
>
{{ label|u.truncate(60, '...', false)|raw }}
</a>
{% else %}
<div class=\"cart-item-label\">
{{ label|u.truncate(60, '...', false)|raw }}
</div>
{% endif %}
{% endblock %}
{% block page_checkout_item_info_variant_characteristics %}
<div class=\"cart-item-details-characteristics\">
{% for option in lineItem.payload.options %}
{{ option.group }}:
<span class=\"cart-item-details-characteristics-option\">{{ option.option }}</span>
{% if lineItem.payload.options|last != option %}
{{ \" | \" }}
{% endif %}
{% endfor %}
</div>
{% endblock %}
{% block page_checkout_item_info_features %}
{% if lineItem.type == PRODUCT_LINE_ITEM_TYPE and lineItem.payload.features is not null %}
{% sw_include '@Storefront/storefront/component/product/feature/list.html.twig' with {
'features': lineItem.payload.features
} %}
{% endif %}
{% endblock %}
{% block page_checkout_item_info_ordernumber %}
{% if lineItem.payload.productNumber %}
<div class=\"cart-item-ordernumber\">
{{ \"checkout.cartItemInfoId\"|trans|sw_sanitize }} {{ lineItem.payload.productNumber }}
</div>
{% endif %}
{% endblock %}
{% block page_checkout_item_delivery_date %}
{% if deliveryPosition and deliveryPosition.deliveryDate and config('core.cart.showDeliveryTime') %}
<div class=\"cart-item-delivery-date\">
{{ \"checkout.lineItemDeliveryDate\"|trans({
'%earliest%': deliveryPosition.deliveryDate.earliest|format_date('short', locale=app.request.locale),
'%latest%': deliveryPosition.deliveryDate.latest|format_date('short', locale=app.request.locale)
})|sw_sanitize }}
</div>
{% endif %}
{% endblock %}
{% block page_checkout_item_wishlist %}
{% if config('core.cart.wishlistEnabled') and lineItem.type == PRODUCT_LINE_ITEM_TYPE %}
{% sw_include '@Storefront/storefront/component/product/card/wishlist.html.twig' with {
showText: true,
size: 'sm',
productId: lineItem.referencedId
} %}
{% endif %}
{% endblock %}
</div>
{% endblock %}
</div>
{% endblock %}
</div>
{% endblock %}
</div>
{% endblock %}
{% block page_checkout_item_quantity %}
<div class=\"col-12 col-sm-4 col-md-2 cart-item-quantity\">
<div class=\"row cart-item-quantity-row\">
{% block page_checkout_item_quantity_label %}
<div class=\"col-8 col-sm-12 cart-item-quantity-label\">
{{ \"checkout.cartHeaderQuantity\"|trans|sw_sanitize }}
</div>
{% endblock %}
{% block page_checkout_item_quantity_select %}
<div class=\"col-4 col-sm-12\">
{% block page_checkout_item_quantity_form %}
{# @deprecated tag:v6.5.0 - 'isChild' will be removed with no replacement #}
{% if lineItem.quantityInformation and lineItem.stackable and not isChild %}
<form action=\"{{ path('frontend.checkout.line-item.change-quantity', {'id': lineItem.id}) }}\"
class=\"cart-item-quantity-container\"
method=\"post\"
data-form-auto-submit=\"true\">
{% block page_checkout_item_quantity_form_csrf %}
{{ sw_csrf('frontend.checkout.line-item.change-quantity') }}
{% endblock %}
{% block page_checkout_item_quantity_redirect %}
<input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.checkout.cart.page\">
{% endblock %}
{# @var quantityInformation \\Shopware\\Core\\Checkout\\Cart\\LineItem\\QuantityInformation #}
{% set quantityInformation = lineItem.quantityInformation %}
{% if quantityInformation.maxPurchase %}
{% set maxQuantity = quantityInformation.maxPurchase %}
{% else %}
{% set maxQuantity = config('core.cart.maxQuantity') %}
{% endif %}
{% set selectQuantityThreshold = 100 %}
{% block page_product_detail_buy_quantity %}
{% if quantityInformation.maxPurchase / lineItem.quantityInformation.purchaseSteps > selectQuantityThreshold %}
{% block page_product_detail_buy_quantity_input %}
<input
type=\"number\"
name=\"quantity\"
class=\"form-control js-offcanvas-cart-change-quantity\"
min=\"{{ quantityInformation.minPurchase }}\"
max=\"{{ maxQuantity }}\"
step=\"{{ quantityInformation.purchaseSteps }}\"
value=\"{{ lineItem.quantity }}\"
/>
{% endblock %}
{% else %}
{% block page_product_detail_buy_quantity_select %}
<select name=\"quantity\"
class=\"{{ formSelectClass }} quantity-select\">
{% for quantity in range(lineItem.quantityInformation.minPurchase, maxQuantity, lineItem.quantityInformation.purchaseSteps) %}
<option value=\"{{ quantity }}\"
{% if quantity == lineItem.quantity %} selected=\"selected\"{% endif %}>
{{ quantity }}
</option>
{% endfor %}
</select>
{% endblock %}
{% endif %}
{% endblock %}
</form>
{% elseif lineItem.type != \"promotion\" %}
{% block page_checkout_item_quantity_number %}
<div class=\"d-flex justify-content-end cart-item-quantity\">
{{ lineItem.quantity }}
</div>
{% endblock %}
{% endif %}
{% endblock %}
</div>
{% endblock %}
</div>
</div>
{% endblock %}
{% block page_checkout_item_unit_price %}
<div class=\"col-12 col-sm-4 col-md-2 cart-item-unit-price\">
{% block page_checkout_item_unit_price_wrapper %}
{% if not isDiscount %}
{% block page_checkout_item_unit_price_label %}
<div class=\"cart-item-unit-price-label\">
{{ \"checkout.cartHeaderUnitPrice\"|trans|sw_sanitize }}
</div>
{% endblock %}
{% block page_checkout_item_unit_price_inner %}
{{ lineItem.price.unitPrice|currency }}{% block page_checkout_item_unit_price_tax_symbol %}{{ \"general.star\"|trans|sw_sanitize }}{% endblock %}
{% endblock %}
{% endif %}
{% endblock %}
</div>
{% endblock %}
{% block page_checkout_item_total_price %}
<div class=\"col-12 col-sm-4 col-md-2 cart-item-total-price\">
{% block page_checkout_item_total_price_wrapper %}
{% block page_checkout_item_total_price_label %}
<div class=\"cart-item-total-price-label\">
{{ \"checkout.cartHeaderTotalPrice\"|trans|sw_sanitize }}
</div>
{% endblock %}
{% block page_checkout_item_total_price_inner %}
{# Shipping costs discounts always have a price of 0, which might be confusing, therefore we do not show those #}
{% if lineItem.payload.discountScope != 'delivery' %}
{{ lineItem.price.totalPrice|currency }}{% block page_checkout_item_total_price_tax_symbol %}{{ \"general.star\"|trans|sw_sanitize }}{% endblock %}
{% endif %}
{% endblock %}
{% endblock %}
</div>
{% endblock %}
{% block page_checkout_item_remove %}
<div class=\"col-2 col-md-1 cart-item-remove\">
{% block page_checkout_item_remove_form %}
{% if lineItem.removable %}
<form action=\"{{ path('frontend.checkout.line-item.delete', {'id': lineItem.id}) }}\"
method=\"post\"
data-form-csrf-handler=\"true\">
{% block page_checkout_item_remove_form_csrf %}
{{ sw_csrf('frontend.checkout.line-item.delete') }}
{% endblock %}
{% block page_checkout_item_remove_redirect %}
<input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.checkout.cart.page\">
{% endblock %}
{% block page_checkout_item_remove_submit %}
<button type=\"submit\"
title=\"{{ \"checkout.removeLineItem\"|trans|striptags }}\"
data-product-id=\"{{ lineItem.id }}\"
class=\"btn btn-light btn-sm cart-item-remove-button\">
{% sw_icon 'x' style { 'size': 'sm' } %}
</button>
{% endblock %}
</form>
{% endif %}
{% endblock %}
</div>
{% endblock %}
{% block page_checkout_item_children_template %}
{% if isNested %}
{# @deprecated tag:v6.5.0 - block will be moved to `@Storefront/storefront/page/checkout/checkout-item-children.html.twig` #}
{% block page_checkout_item_children %}
{% sw_include childrenTemplate %}
{% endblock %}
{% endif %}
{% endblock %}
</div>
</div>
{% endblock %}
{# @deprecated tag:v6.5.0 - block will be removed #}
{% block page_checkout_item_child %}{% endblock %}
{% endblock %}
", "@Storefront/storefront/page/checkout/checkout-item.html.twig", "/var/www/dev.artecon.426.agency/vendor/shopware/storefront/Resources/views/storefront/page/checkout/checkout-item.html.twig");
}
}