<?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/component/checkout/offcanvas-item.html.twig */
class __TwigTemplate_693b648632d6d8a45db9d87595887b22516843c5327c3c5a01dfe5ff33f64c22 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'component_offcanvas_cart_item_inner' => [$this, 'block_component_offcanvas_cart_item_inner'],
'component_offcanvas_cart_item_container' => [$this, 'block_component_offcanvas_cart_item_container'],
'component_offcanvas_product_image' => [$this, 'block_component_offcanvas_product_image'],
'component_offcanvas_product_image_inner' => [$this, 'block_component_offcanvas_product_image_inner'],
'component_offcanvas_product_details' => [$this, 'block_component_offcanvas_product_details'],
'component_offcanvas_product_details_inner' => [$this, 'block_component_offcanvas_product_details_inner'],
'component_offcanvas_product_label' => [$this, 'block_component_offcanvas_product_label'],
'cart_item_variant_characteristics' => [$this, 'block_cart_item_variant_characteristics'],
'component_offcanvas_product_details_features' => [$this, 'block_component_offcanvas_product_details_features'],
'component_offcanvas_product_quantity_price' => [$this, 'block_component_offcanvas_product_quantity_price'],
'component_offcanvas_product_quantity' => [$this, 'block_component_offcanvas_product_quantity'],
'component_offcanvas_product_quantity_form' => [$this, 'block_component_offcanvas_product_quantity_form'],
'component_offcanvas_product_quantity_form_csrf' => [$this, 'block_component_offcanvas_product_quantity_form_csrf'],
'component_offcanvas_product_quantity_form_redirect' => [$this, 'block_component_offcanvas_product_quantity_form_redirect'],
'component_offcanvas_product_buy_quantity' => [$this, 'block_component_offcanvas_product_buy_quantity'],
'component_offcanvas_product_buy_quantity_input' => [$this, 'block_component_offcanvas_product_buy_quantity_input'],
'component_offcanvas_product_buy_quantity_select' => [$this, 'block_component_offcanvas_product_buy_quantity_select'],
'component_offcanvas_product_total_price' => [$this, 'block_component_offcanvas_product_total_price'],
'component_offcanvas_product_remove' => [$this, 'block_component_offcanvas_product_remove'],
'component_offcanvas_product_remove_form' => [$this, 'block_component_offcanvas_product_remove_form'],
'component_offcanvas_product_remove_form_csrf' => [$this, 'block_component_offcanvas_product_remove_form_csrf'],
'component_offcanvas_product_remove_redirect' => [$this, 'block_component_offcanvas_product_remove_redirect'],
'component_offcanvas_product_remove_submit' => [$this, 'block_component_offcanvas_product_remove_submit'],
'component_offcanvas_children' => [$this, 'block_component_offcanvas_children'],
'component_offcanvas_cart_item_children' => [$this, 'block_component_offcanvas_cart_item_children'],
'component_offcanvas_cart_item_child' => [$this, 'block_component_offcanvas_cart_item_child'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Storefront/storefront/component/checkout/offcanvas-item.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Storefront/storefront/component/checkout/offcanvas-item.html.twig"));
// line 2
echo "
";
// line 3
$this->displayBlock('component_offcanvas_cart_item_inner', $context, $blocks);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function block_component_offcanvas_cart_item_inner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_cart_item_inner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_cart_item_inner"));
// line 4
echo " ";
$context["PRODUCT_LINE_ITEM_TYPE"] = twig_constant("Shopware\\Core\\Checkout\\Cart\\LineItem\\LineItem::PRODUCT_LINE_ITEM_TYPE");
// line 5
echo " ";
$context["DISCOUNT_LINE_ITEM_TYPE"] = twig_constant("Shopware\\Core\\Checkout\\Cart\\LineItem\\LineItem::DISCOUNT_LINE_ITEM");
// line 6
echo "
";
// line 7
$context["price"] = sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "price", [], "any", false, false, false, 7);
// line 8
echo " ";
$context["isDiscount"] = (( !sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "good", [], "any", false, false, false, 8) && (0 >= twig_compare(sw_get_attribute($this->env, $this->source, ($context["price"] ?? null), "totalPrice", [], "any", false, false, false, 8), 0))) || (0 === twig_compare(sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "type", [], "any", false, false, false, 8), ($context["DISCOUNT_LINE_ITEM_TYPE"] ?? null))));
// line 9
echo " ";
$context["isNested"] = (1 === twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "children", [], "any", false, false, false, 9), "count", [], "any", false, false, false, 9), 0));
// line 10
echo " ";
$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, 10)));
// line 11
echo " ";
$context["label"] = (((($context["label"] ?? null) !== "")) ? (($context["label"] ?? null)) : (sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "label", [], "any", false, false, false, 11)));
// line 12
echo "
";
// line 13
$context["referencedId"] = sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "referencedId", [], "any", false, false, false, 13);
// line 14
echo " ";
$context["type"] = sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "type", [], "any", false, false, false, 14);
// line 15
echo " ";
$context["quantity"] = sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "quantity", [], "any", false, false, false, 15);
// line 16
echo " ";
$context["id"] = sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "id", [], "any", false, false, false, 16);
// line 17
echo " ";
$context["childrenTemplate"] = "@Storefront/storefront/component/checkout/offcanvas-item-children.html.twig";
// line 18
echo "
";
// line 20
echo " ";
$context["cartItemClasses"] = "";
// line 21
echo "
";
// line 22
$this->displayBlock('component_offcanvas_cart_item_container', $context, $blocks);
// line 238
echo "
";
// line 240
echo " ";
$this->displayBlock('component_offcanvas_cart_item_child', $context, $blocks);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 22
public function block_component_offcanvas_cart_item_container($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_cart_item_container"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_cart_item_container"));
// line 23
echo " <div class=\"cart-item cart-item-";
echo sw_escape_filter($this->env, ($context["type"] ?? null), "html", null, true);
if (($context["isDiscount"] ?? null)) {
echo " is-discount";
}
echo sw_escape_filter($this->env, ($context["cartItemClasses"] ?? null), "html", null, true);
echo " js-cart-item\">
<div class=\"row cart-item-row\">
";
// line 25
$this->displayBlock('component_offcanvas_product_image', $context, $blocks);
// line 68
echo "
";
// line 69
$this->displayBlock('component_offcanvas_product_details', $context, $blocks);
// line 192
echo "
";
// line 193
$this->displayBlock('component_offcanvas_product_remove', $context, $blocks);
// line 225
echo "
";
// line 226
$this->displayBlock('component_offcanvas_children', $context, $blocks);
// line 234
echo "
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 25
public function block_component_offcanvas_product_image($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_image"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_image"));
// line 26
echo " <div class=\"col-auto\">
";
// line 27
$this->displayBlock('component_offcanvas_product_image_inner', $context, $blocks);
// line 66
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 27
public function block_component_offcanvas_product_image_inner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_image_inner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_image_inner"));
// line 28
echo " <div class=\"cart-item-img\">
";
// line 29
if (($context["isDiscount"] ?? null)) {
// line 30
echo " <div class=\"cart-item-discount-icon\">
";
// line 31
((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/component/checkout/offcanvas-item.html.twig", 31);
})())->display(twig_array_merge($context, ["color" => "success", "name" => "marketing"]));
// line 34
echo " </div>
";
} elseif ( // line 35
($context["isNested"] ?? null)) {
// line 36
echo " <div class=\"cart-item-nested-icon\">
";
// line 37
((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/component/checkout/offcanvas-item.html.twig", 37);
})())->display(twig_array_merge($context, ["color" => "light", "name" => "bag-product"]));
// line 40
echo " </div>
";
} else {
// line 42
echo " <a href=\"";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.detail.page", ["productId" => ($context["referencedId"] ?? null)]), "html", null, true);
echo "\"
class=\"cart-item-img-link\"
title=\"";
// line 44
echo sw_escape_filter($this->env, ($context["label"] ?? null), "html", null, true);
echo "\">
";
// line 45
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "cover", [], "any", false, false, false, 45), "url", [], "any", false, false, false, 45)) {
// line 46
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/component/checkout/offcanvas-item.html.twig", 46);
})())->display(twig_array_merge($context, ["media" => sw_get_attribute($this->env, $this->source, // line 47
($context["lineItem"] ?? null), "cover", [], "any", false, false, false, 47), "sizes" => ["default" => "100px"], "attributes" => ["class" => "img-fluid cart-item-img-source", "alt" => // line 53
($context["label"] ?? null), "title" => // line 54
($context["label"] ?? null)], "name" => "cart-item-img-thumbnails"]));
// line 57
echo " ";
} else {
// line 58
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/component/checkout/offcanvas-item.html.twig", 58);
})())->display(twig_array_merge($context, ["size" => "fluid", "name" => "placeholder"]));
// line 61
echo " ";
}
// line 62
echo " </a>
";
}
// line 64
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 69
public function block_component_offcanvas_product_details($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_details"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_details"));
// line 70
echo " <div class=\"col-7 cart-item-details\">
";
// line 71
$this->displayBlock('component_offcanvas_product_details_inner', $context, $blocks);
// line 190
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 71
public function block_component_offcanvas_product_details_inner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_details_inner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_details_inner"));
// line 72
echo " <div class=\"cart-item-details-container\">
";
// line 73
$this->displayBlock('component_offcanvas_product_label', $context, $blocks);
// line 88
echo "
";
// line 89
$this->displayBlock('cart_item_variant_characteristics', $context, $blocks);
// line 101
echo "
";
// line 102
$this->displayBlock('component_offcanvas_product_details_features', $context, $blocks);
// line 109
echo "
";
// line 110
$this->displayBlock('component_offcanvas_product_quantity_price', $context, $blocks);
// line 188
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 73
public function block_component_offcanvas_product_label($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_label"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_label"));
// line 74
echo " <div class=\"cart-item-details\">
";
// line 75
if ((0 === twig_compare(($context["type"] ?? null), ($context["PRODUCT_LINE_ITEM_TYPE"] ?? null)))) {
// line 76
echo " <a href=\"";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.detail.page", ["productId" => ($context["referencedId"] ?? null)]), "html", null, true);
echo "\"
class=\"cart-item-label\"
title=\"";
// line 78
echo sw_escape_filter($this->env, ($context["label"] ?? null), "html", null, true);
echo "\">
";
// line 79
echo sw_escape_filter($this->env, ($context["quantity"] ?? null), "html", null, true);
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.quantityTimes"));
echo " ";
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, 79);
echo "
</a>
";
} else {
// line 82
echo " <div class=\"cart-item-label\">
";
// line 83
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, 83);
echo "
</div>
";
}
// line 86
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 89
public function block_cart_item_variant_characteristics($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cart_item_variant_characteristics"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cart_item_variant_characteristics"));
// line 90
echo " <div class=\"cart-item-characteristics\">
";
// line 91
$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, 91), "options", [], "any", false, false, false, 91));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 92
echo " ";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["option"], "group", [], "any", false, false, false, 92), "html", null, true);
echo ":
<span class=\"cart-item-characteristics-option\">";
// line 93
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["option"], "option", [], "any", false, false, false, 93), "html", null, true);
echo "</span>
";
// line 95
if ((0 !== twig_compare(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, 95), "options", [], "any", false, false, false, 95)), $context["option"]))) {
// line 96
echo " ";
echo " | ";
echo "
";
}
// line 98
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 99
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 102
public function block_component_offcanvas_product_details_features($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_details_features"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_details_features"));
// line 103
echo " ";
if (((0 === twig_compare(sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "type", [], "any", false, false, false, 103), ($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, 103), "features", [], "any", false, false, false, 103)))) {
// line 104
echo " ";
$this->loadTemplate("@Storefront/storefront/component/product/feature/list.html.twig", "@Storefront/storefront/component/checkout/offcanvas-item.html.twig", 104)->display(twig_array_merge($context, ["features" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 105
($context["lineItem"] ?? null), "payload", [], "any", false, false, false, 105), "features", [], "any", false, false, false, 105)]));
// line 107
echo " ";
}
// line 108
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 110
public function block_component_offcanvas_product_quantity_price($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_quantity_price"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_quantity_price"));
// line 111
echo " <div class=\"cart-quantity-price\">
";
// line 112
$this->displayBlock('component_offcanvas_product_quantity', $context, $blocks);
// line 171
echo "
";
// line 172
$this->displayBlock('component_offcanvas_product_total_price', $context, $blocks);
// line 186
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 112
public function block_component_offcanvas_product_quantity($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_quantity"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_quantity"));
// line 113
echo " <div class=\"cart-item-quantity\">
";
// line 114
$this->displayBlock('component_offcanvas_product_quantity_form', $context, $blocks);
// line 169
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 114
public function block_component_offcanvas_product_quantity_form($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_quantity_form"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_quantity_form"));
// line 115
echo " ";
$context["showQuantitySelect"] = (( !sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "states", [], "any", true, true, false, 115) || !twig_in_filter("is-download", sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "states", [], "any", false, false, false, 115))) || (twig_in_filter("is-download", sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "states", [], "any", false, false, false, 115)) && (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "quantityInformation", [], "any", false, false, false, 115), "maxPurchase", [], "any", false, false, false, 115) !== 1)));
// line 116
echo " ";
if (((sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "quantityInformation", [], "any", false, false, false, 116) && sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "stackable", [], "any", false, false, false, 116)) && ($context["showQuantitySelect"] ?? null))) {
// line 117
echo " <form action=\"";
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.line-item.change-quantity", ["id" => ($context["id"] ?? null)]), "html", null, true);
echo "\"
class=\"cart-item-quantity-container\"
method=\"post\">
";
// line 122
echo " ";
$this->displayBlock('component_offcanvas_product_quantity_form_csrf', $context, $blocks);
// line 125
echo "
";
// line 126
$this->displayBlock('component_offcanvas_product_quantity_form_redirect', $context, $blocks);
// line 131
echo "
";
// line 132
$context["quantityInformation"] = sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "quantityInformation", [], "any", false, false, false, 132);
// line 133
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["quantityInformation"] ?? null), "maxPurchase", [], "any", false, false, false, 133)) {
// line 134
echo " ";
$context["maxQuantity"] = sw_get_attribute($this->env, $this->source, ($context["quantityInformation"] ?? null), "maxPurchase", [], "any", false, false, false, 134);
// line 135
echo " ";
} else {
// line 136
echo " ";
$context["maxQuantity"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "core.cart.maxQuantity");
// line 137
echo " ";
}
// line 138
echo "
";
// line 139
$context["selectQuantityThreshold"] = 100;
// line 140
echo " ";
$this->displayBlock('component_offcanvas_product_buy_quantity', $context, $blocks);
// line 166
echo " </form>
";
}
// line 168
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 122
public function block_component_offcanvas_product_quantity_form_csrf($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_quantity_form_csrf"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_quantity_form_csrf"));
// line 123
echo " ";
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.line-item.change-quantity");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 126
public function block_component_offcanvas_product_quantity_form_redirect($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_quantity_form_redirect"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_quantity_form_redirect"));
// line 127
echo " <input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.cart.offcanvas\"/>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 140
public function block_component_offcanvas_product_buy_quantity($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_buy_quantity"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_buy_quantity"));
// line 141
echo " ";
if ((1 === twig_compare(((($context["maxQuantity"] ?? null) - sw_get_attribute($this->env, $this->source, ($context["quantityInformation"] ?? null), "minPurchase", [], "any", false, false, false, 141)) / sw_get_attribute($this->env, $this->source, ($context["quantityInformation"] ?? null), "purchaseSteps", [], "any", false, false, false, 141)), ($context["selectQuantityThreshold"] ?? null)))) {
// line 142
echo " ";
$this->displayBlock('component_offcanvas_product_buy_quantity_input', $context, $blocks);
// line 153
echo " ";
} else {
// line 154
echo " ";
$this->displayBlock('component_offcanvas_product_buy_quantity_select', $context, $blocks);
// line 164
echo " ";
}
// line 165
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 142
public function block_component_offcanvas_product_buy_quantity_input($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_buy_quantity_input"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_buy_quantity_input"));
// line 143
echo " <input
type=\"number\"
name=\"quantity\"
class=\"form-control js-offcanvas-cart-change-quantity-number\"
min=\"";
// line 147
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["quantityInformation"] ?? null), "minPurchase", [], "any", false, false, false, 147), "html", null, true);
echo "\"
max=\"";
// line 148
echo sw_escape_filter($this->env, ($context["maxQuantity"] ?? null), "html", null, true);
echo "\"
step=\"";
// line 149
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["quantityInformation"] ?? null), "purchaseSteps", [], "any", false, false, false, 149), "html", null, true);
echo "\"
value=\"";
// line 150
echo sw_escape_filter($this->env, ($context["quantity"] ?? null), "html", null, true);
echo "\"
/>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 154
public function block_component_offcanvas_product_buy_quantity_select($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_buy_quantity_select"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_buy_quantity_select"));
// line 155
echo " <select name=\"quantity\" class=\"";
echo sw_escape_filter($this->env, ($context["formSelectClass"] ?? null), "html", null, true);
echo " quantity-select-";
echo sw_escape_filter($this->env, ($context["id"] ?? null), "html", null, true);
echo " js-offcanvas-cart-change-quantity\">
";
// line 156
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(sw_get_attribute($this->env, $this->source, ($context["quantityInformation"] ?? null), "minPurchase", [], "any", false, false, false, 156), ($context["maxQuantity"] ?? null), sw_get_attribute($this->env, $this->source, ($context["quantityInformation"] ?? null), "purchaseSteps", [], "any", false, false, false, 156)));
foreach ($context['_seq'] as $context["_key"] => $context["quantityItem"]) {
// line 157
echo " <option value=\"";
echo sw_escape_filter($this->env, $context["quantityItem"], "html", null, true);
echo "\"
";
// line 158
if ((0 === twig_compare($context["quantityItem"], ($context["quantity"] ?? null)))) {
echo " selected=\"selected\"";
}
echo ">
";
// line 159
echo sw_escape_filter($this->env, $context["quantityItem"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['quantityItem'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 162
echo " </select>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 172
public function block_component_offcanvas_product_total_price($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_total_price"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_total_price"));
// line 173
echo " <div class=\"cart-item-price\">
";
// line 175
echo " ";
if ((0 !== twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "payload", [], "any", false, false, false, 175), "discountScope", [], "any", false, false, false, 175), "delivery"))) {
// line 176
echo " ";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Core\Framework\Adapter\Twig\Filter\CurrencyFilter']->formatCurrency($context, sw_get_attribute($this->env, $this->source, ($context["price"] ?? null), "totalPrice", [], "any", false, false, false, 176)), "html", null, true);
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.star"));
echo "
";
}
// line 178
echo " ";
$context["referencePrice"] = sw_get_attribute($this->env, $this->source, ($context["price"] ?? null), "referencePrice", [], "any", false, false, false, 178);
// line 179
echo " ";
if ( !(null === ($context["referencePrice"] ?? null))) {
// line 180
echo " <small class=\"cart-item-reference-price\">
(";
// line 181
echo sw_escape_filter($this->env, $this->extensions['Shopware\Core\Framework\Adapter\Twig\Filter\CurrencyFilter']->formatCurrency($context, sw_get_attribute($this->env, $this->source, ($context["referencePrice"] ?? null), "price", [], "any", false, false, false, 181)), "html", null, true);
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.star"));
echo " / ";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["referencePrice"] ?? null), "referenceUnit", [], "any", false, false, false, 181), "html", null, true);
echo " ";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["referencePrice"] ?? null), "unitName", [], "any", false, false, false, 181), "html", null, true);
echo ")
</small>
";
}
// line 184
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 193
public function block_component_offcanvas_product_remove($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_remove"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_remove"));
// line 194
echo " <div class=\"cart-item-remove\">
";
// line 195
$this->displayBlock('component_offcanvas_product_remove_form', $context, $blocks);
// line 223
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 195
public function block_component_offcanvas_product_remove_form($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_remove_form"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_remove_form"));
// line 196
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "removable", [], "any", false, false, false, 196)) {
// line 197
echo " <form action=\"";
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.line-item.delete", ["id" => ($context["id"] ?? null)]), "html", null, true);
echo "\"
class=\"cart-item-remove js-offcanvas-cart-remove-product\"
method=\"post\">
";
// line 202
echo " ";
$this->displayBlock('component_offcanvas_product_remove_form_csrf', $context, $blocks);
// line 205
echo "
";
// line 206
$this->displayBlock('component_offcanvas_product_remove_redirect', $context, $blocks);
// line 211
echo "
";
// line 212
$this->displayBlock('component_offcanvas_product_remove_submit', $context, $blocks);
// line 220
echo " </form>
";
}
// line 222
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 202
public function block_component_offcanvas_product_remove_form_csrf($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_remove_form_csrf"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_remove_form_csrf"));
// line 203
echo " ";
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.line-item.delete");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 206
public function block_component_offcanvas_product_remove_redirect($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_remove_redirect"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_remove_redirect"));
// line 207
echo " <input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.cart.offcanvas\"/>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 212
public function block_component_offcanvas_product_remove_submit($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_remove_submit"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_product_remove_submit"));
// line 213
echo " <button type=\"submit\"
title=\"";
// line 214
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 215
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["lineItem"] ?? null), "id", [], "any", false, false, false, 215), "html", null, true);
echo "\"
class=\"btn btn-light cart-item-remove-button\">
";
// line 217
((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/component/checkout/offcanvas-item.html.twig", 217);
})())->display(twig_array_merge($context, ["size" => "sm", "name" => "x"]));
// line 218
echo " </button>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 226
public function block_component_offcanvas_children($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_children"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_children"));
// line 227
echo " ";
if (($context["isNested"] ?? null)) {
// line 228
echo " ";
// line 229
echo " ";
$this->displayBlock('component_offcanvas_cart_item_children', $context, $blocks);
// line 232
echo " ";
}
// line 233
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 229
public function block_component_offcanvas_cart_item_children($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_cart_item_children"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_cart_item_children"));
// line 230
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/component/checkout/offcanvas-item.html.twig", 230);
})())->display($context);
// line 231
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 240
public function block_component_offcanvas_cart_item_child($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_cart_item_child"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_offcanvas_cart_item_child"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@Storefront/storefront/component/checkout/offcanvas-item.html.twig";
}
public function getDebugInfo()
{
return array ( 1115 => 240, 1105 => 231, 1096 => 230, 1086 => 229, 1076 => 233, 1073 => 232, 1070 => 229, 1068 => 228, 1065 => 227, 1055 => 226, 1044 => 218, 1036 => 217, 1031 => 215, 1027 => 214, 1024 => 213, 1014 => 212, 1001 => 207, 991 => 206, 978 => 203, 968 => 202, 958 => 222, 954 => 220, 952 => 212, 949 => 211, 947 => 206, 944 => 205, 941 => 202, 933 => 197, 930 => 196, 920 => 195, 909 => 223, 907 => 195, 904 => 194, 894 => 193, 883 => 184, 872 => 181, 869 => 180, 866 => 179, 863 => 178, 856 => 176, 853 => 175, 850 => 173, 840 => 172, 829 => 162, 820 => 159, 814 => 158, 809 => 157, 805 => 156, 798 => 155, 788 => 154, 775 => 150, 771 => 149, 767 => 148, 763 => 147, 757 => 143, 747 => 142, 737 => 165, 734 => 164, 731 => 154, 728 => 153, 725 => 142, 722 => 141, 712 => 140, 699 => 127, 689 => 126, 676 => 123, 666 => 122, 656 => 168, 652 => 166, 649 => 140, 647 => 139, 644 => 138, 641 => 137, 638 => 136, 635 => 135, 632 => 134, 629 => 133, 627 => 132, 624 => 131, 622 => 126, 619 => 125, 616 => 122, 608 => 117, 605 => 116, 602 => 115, 592 => 114, 581 => 169, 579 => 114, 576 => 113, 566 => 112, 555 => 186, 553 => 172, 550 => 171, 548 => 112, 545 => 111, 535 => 110, 525 => 108, 522 => 107, 520 => 105, 518 => 104, 515 => 103, 505 => 102, 494 => 99, 488 => 98, 482 => 96, 480 => 95, 475 => 93, 470 => 92, 466 => 91, 463 => 90, 453 => 89, 442 => 86, 436 => 83, 433 => 82, 424 => 79, 420 => 78, 414 => 76, 412 => 75, 409 => 74, 399 => 73, 388 => 188, 386 => 110, 383 => 109, 381 => 102, 378 => 101, 376 => 89, 373 => 88, 371 => 73, 368 => 72, 358 => 71, 347 => 190, 345 => 71, 342 => 70, 332 => 69, 321 => 64, 317 => 62, 314 => 61, 305 => 58, 302 => 57, 300 => 54, 299 => 53, 298 => 47, 290 => 46, 288 => 45, 284 => 44, 278 => 42, 274 => 40, 266 => 37, 263 => 36, 261 => 35, 258 => 34, 250 => 31, 247 => 30, 245 => 29, 242 => 28, 232 => 27, 221 => 66, 219 => 27, 216 => 26, 206 => 25, 193 => 234, 191 => 226, 188 => 225, 186 => 193, 183 => 192, 181 => 69, 178 => 68, 176 => 25, 166 => 23, 156 => 22, 145 => 240, 142 => 238, 140 => 22, 137 => 21, 134 => 20, 131 => 18, 128 => 17, 125 => 16, 122 => 15, 119 => 14, 117 => 13, 114 => 12, 111 => 11, 108 => 10, 105 => 9, 102 => 8, 100 => 7, 97 => 6, 94 => 5, 91 => 4, 72 => 3, 69 => 2,);
}
public function getSourceContext()
{
return new Source("{# @deprecated tag:v6.5.0 - Template `offcanvas-item.html.twig` is deprecated. Use `storefront/component/line-item/line-item.html.twig` instead. #}
{% block component_offcanvas_cart_item_inner %}
{% 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 price = lineItem.price %}
{% set isDiscount = (not lineItem.good and price.totalPrice <= 0) || lineItem.type == DISCOUNT_LINE_ITEM_TYPE %}
{% set isNested = lineItem.children.count > 0 %}
{% set label = lineItem.label|trans|sw_sanitize %}
{% set label = label !== '' ? label : lineItem.label %}
{% set referencedId = lineItem.referencedId %}
{% set type = lineItem.type %}
{% set quantity = lineItem.quantity %}
{% set id = lineItem.id %}
{% set childrenTemplate = '@Storefront/storefront/component/checkout/offcanvas-item-children.html.twig' %}
{# @deprecated tag:v6.5.0 - var will be removed with no replacement #}
{% set cartItemClasses = '' %}
{% block component_offcanvas_cart_item_container %}
<div class=\"cart-item cart-item-{{ type }}{% if isDiscount %} is-discount{% endif %}{{ cartItemClasses }} js-cart-item\">
<div class=\"row cart-item-row\">
{% block component_offcanvas_product_image %}
<div class=\"col-auto\">
{% block component_offcanvas_product_image_inner %}
<div class=\"cart-item-img\">
{% if isDiscount %}
<div class=\"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': referencedId}) }}\"
class=\"cart-item-img-link\"
title=\"{{ label }}\">
{% if lineItem.cover.url %}
{% sw_thumbnails 'cart-item-img-thumbnails' with {
media: lineItem.cover,
sizes: {
'default': '100px'
},
attributes: {
'class': 'img-fluid cart-item-img-source',
'alt': label,
'title': label
}
} %}
{% else %}
{% sw_icon 'placeholder' style {
'size': 'fluid'
} %}
{% endif %}
</a>
{% endif %}
</div>
{% endblock %}
</div>
{% endblock %}
{% block component_offcanvas_product_details %}
<div class=\"col-7 cart-item-details\">
{% block component_offcanvas_product_details_inner %}
<div class=\"cart-item-details-container\">
{% block component_offcanvas_product_label %}
<div class=\"cart-item-details\">
{% if type == PRODUCT_LINE_ITEM_TYPE %}
<a href=\"{{ seoUrl('frontend.detail.page', {'productId': referencedId}) }}\"
class=\"cart-item-label\"
title=\"{{ label }}\">
{{ quantity }}{{ \"checkout.quantityTimes\"|trans|sw_sanitize }} {{ label|u.truncate(60, '...', false)|raw }}
</a>
{% else %}
<div class=\"cart-item-label\">
{{ label|u.truncate(60, '...', false)|raw }}
</div>
{% endif %}
</div>
{% endblock %}
{% block cart_item_variant_characteristics %}
<div class=\"cart-item-characteristics\">
{% for option in lineItem.payload.options %}
{{ option.group }}:
<span class=\"cart-item-characteristics-option\">{{ option.option }}</span>
{% if lineItem.payload.options|last != option %}
{{ \" | \" }}
{% endif %}
{% endfor %}
</div>
{% endblock %}
{% block component_offcanvas_product_details_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 component_offcanvas_product_quantity_price %}
<div class=\"cart-quantity-price\">
{% block component_offcanvas_product_quantity %}
<div class=\"cart-item-quantity\">
{% block component_offcanvas_product_quantity_form %}
{% set showQuantitySelect = (not lineItem.states is defined or 'is-download' not in lineItem.states or ('is-download' in lineItem.states and lineItem.quantityInformation.maxPurchase !== 1)) %}
{% if lineItem.quantityInformation and lineItem.stackable and showQuantitySelect %}
<form action=\"{{ path('frontend.checkout.line-item.change-quantity', {'id': id}) }}\"
class=\"cart-item-quantity-container\"
method=\"post\">
{# @deprecated tag:v6.5.0 - Block component_offcanvas_product_quantity_form_csrf will be removed. #}
{% block component_offcanvas_product_quantity_form_csrf %}
{{ sw_csrf('frontend.checkout.line-item.change-quantity') }}
{% endblock %}
{% block component_offcanvas_product_quantity_form_redirect %}
<input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.cart.offcanvas\"/>
{% endblock %}
{% set quantityInformation = lineItem.quantityInformation %}
{% if quantityInformation.maxPurchase %}
{% set maxQuantity = quantityInformation.maxPurchase %}
{% else %}
{% set maxQuantity = config('core.cart.maxQuantity') %}
{% endif %}
{% set selectQuantityThreshold = 100 %}
{% block component_offcanvas_product_buy_quantity %}
{% if (maxQuantity - quantityInformation.minPurchase) / quantityInformation.purchaseSteps > selectQuantityThreshold %}
{% block component_offcanvas_product_buy_quantity_input %}
<input
type=\"number\"
name=\"quantity\"
class=\"form-control js-offcanvas-cart-change-quantity-number\"
min=\"{{ quantityInformation.minPurchase }}\"
max=\"{{ maxQuantity }}\"
step=\"{{ quantityInformation.purchaseSteps }}\"
value=\"{{ quantity }}\"
/>
{% endblock %}
{% else %}
{% block component_offcanvas_product_buy_quantity_select %}
<select name=\"quantity\" class=\"{{ formSelectClass }} quantity-select-{{ id }} js-offcanvas-cart-change-quantity\">
{% for quantityItem in range(quantityInformation.minPurchase, maxQuantity, quantityInformation.purchaseSteps) %}
<option value=\"{{ quantityItem }}\"
{% if quantityItem == quantity %} selected=\"selected\"{% endif %}>
{{ quantityItem }}
</option>
{% endfor %}
</select>
{% endblock %}
{% endif %}
{% endblock %}
</form>
{% endif %}
{% endblock %}
</div>
{% endblock %}
{% block component_offcanvas_product_total_price %}
<div class=\"cart-item-price\">
{# Shipping costs discounts always have a price of 0, which might be confusing, therefore we do not show those #}
{% if lineItem.payload.discountScope != 'delivery' %}
{{ price.totalPrice|currency }}{{ \"general.star\"|trans|sw_sanitize }}
{% endif %}
{% set referencePrice = price.referencePrice %}
{% if referencePrice is not null %}
<small class=\"cart-item-reference-price\">
({{ referencePrice.price|currency }}{{ \"general.star\"|trans|sw_sanitize }} / {{ referencePrice.referenceUnit }} {{ referencePrice.unitName }})
</small>
{% endif %}
</div>
{% endblock %}
</div>
{% endblock %}
</div>
{% endblock %}
</div>
{% endblock %}
{% block component_offcanvas_product_remove %}
<div class=\"cart-item-remove\">
{% block component_offcanvas_product_remove_form %}
{% if lineItem.removable %}
<form action=\"{{ path('frontend.checkout.line-item.delete', {'id': id}) }}\"
class=\"cart-item-remove js-offcanvas-cart-remove-product\"
method=\"post\">
{# @deprecated tag:v6.5.0 - Block component_offcanvas_product_remove_form_csrf will be removed. #}
{% block component_offcanvas_product_remove_form_csrf %}
{{ sw_csrf('frontend.checkout.line-item.delete') }}
{% endblock %}
{% block component_offcanvas_product_remove_redirect %}
<input type=\"hidden\"
name=\"redirectTo\"
value=\"frontend.cart.offcanvas\"/>
{% endblock %}
{% block component_offcanvas_product_remove_submit %}
<button type=\"submit\"
title=\"{{ \"checkout.removeLineItem\"|trans|striptags }}\"
data-product-id=\"{{ lineItem.id }}\"
class=\"btn btn-light cart-item-remove-button\">
{% sw_icon 'x' style { 'size': 'sm' } %}
</button>
{% endblock %}
</form>
{% endif %}
{% endblock %}
</div>
{% endblock %}
{% block component_offcanvas_children %}
{% if isNested %}
{# @deprecated tag:v6.5.0 - block will be removed, use `component_offcanvas_item_children` in `@Storefront/storefront/component/checkout/offcanvas-item-children.html.twig` instead #}
{% block component_offcanvas_cart_item_children %}
{% sw_include childrenTemplate %}
{% endblock %}
{% endif %}
{% endblock %}
</div>
</div>
{% endblock %}
{# @deprecated tag:v6.5.0 - block will be removed #}
{% block component_offcanvas_cart_item_child %}{% endblock %}
{% endblock %}
", "@Storefront/storefront/component/checkout/offcanvas-item.html.twig", "/home/fasflpog/shopware/vendor/shopware/storefront/Resources/views/storefront/component/checkout/offcanvas-item.html.twig");
}
}