<?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;
/* @EfbStorefront/storefront/page/checkout/cart/index.html.twig */
class __TwigTemplate_c19862632dae65739d25b1522b746551 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_checkout_cart_header' => [$this, 'block_page_checkout_cart_header'],
'page_checkout_aside_actions' => [$this, 'block_page_checkout_aside_actions'],
'page_checkout_cart_add_promotion' => [$this, 'block_page_checkout_cart_add_promotion'],
'page_checkout_cart_action_proceed' => [$this, 'block_page_checkout_cart_action_proceed'],
'page_checkout_cart_add_promotion_submit' => [$this, 'block_page_checkout_cart_add_promotion_submit'],
'page_checkout_cart_add_product' => [$this, 'block_page_checkout_cart_add_product'],
'page_checkout_container' => [$this, 'block_page_checkout_container'],
'page_checkout_cart_add_product_moved' => [$this, 'block_page_checkout_cart_add_product_moved'],
'page_checkout_cart_add_product_csrf' => [$this, 'block_page_checkout_cart_add_product_csrf'],
'page_checkout_cart_add_product_redirect' => [$this, 'block_page_checkout_cart_add_product_redirect'],
'page_checkout_cart_add_product_input_group' => [$this, 'block_page_checkout_cart_add_product_input_group'],
'page_checkout_cart_add_product_label' => [$this, 'block_page_checkout_cart_add_product_label'],
'page_checkout_cart_add_product_input' => [$this, 'block_page_checkout_cart_add_product_input'],
'page_checkout_cart_add_product_submit' => [$this, 'block_page_checkout_cart_add_product_submit'],
'page_checkout_cart_shipping_costs' => [$this, 'block_page_checkout_cart_shipping_costs'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@SwagB2bPlatform/storefront/page/checkout/cart/index.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@EfbStorefront/storefront/page/checkout/cart/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@EfbStorefront/storefront/page/checkout/cart/index.html.twig"));
$this->parent = $this->loadTemplate("@SwagB2bPlatform/storefront/page/checkout/cart/index.html.twig", "@EfbStorefront/storefront/page/checkout/cart/index.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_page_checkout_cart_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_header"));
// line 4
echo "
<h1 class=\"cart-main-header\">
";
// line 6
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.cartHeader"));
echo "
</h1>
";
// line 8
$context["EnnoEmptyCartSW6"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "EnnoEmptyCartSW6");
// line 9
echo " ";
if (((($context["EnnoEmptyCartSW6"] ?? null) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["EnnoEmptyCartSW6"] ?? null), "config", [], "any", false, false, false, 9), "active", [], "any", false, false, false, 9)) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["EnnoEmptyCartSW6"] ?? null), "config", [], "any", false, false, false, 9), "activemaincart", [], "any", false, false, false, 9))) {
// line 10
echo " <a class=\"enno-empty-cart\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.emptyCart");
echo "\">
";
// line 11
((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, "@EfbStorefront/storefront/page/checkout/cart/index.html.twig", 11);
})())->display(twig_array_merge($context, ["namespace" => "EfbStorefront", "name" => "bin"]));
// line 12
echo " </a>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 17
public function block_page_checkout_aside_actions($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_aside_actions"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_aside_actions"));
// line 18
echo " <div class=\"checkout-aside-action\">
<div class=\"accordions\">
<div class=\"accordion\">
<input type=\"checkbox\" id=\"accordion-trigger\">
<label class=\"accordion-label\" for=\"accordion-trigger\">";
// line 22
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.addPromotionAccordionLabel"));
echo "
";
// line 23
((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, "@EfbStorefront/storefront/page/checkout/cart/index.html.twig", 23);
})())->display(twig_array_merge($context, ["namespace" => "EfbStorefront", "name" => "chevron-right-s"]));
echo "</label>
<div class=\"accordion-content\">
";
// line 25
$this->displayBlock('page_checkout_cart_add_promotion', $context, $blocks);
// line 28
echo " </div>
</div>
</div>
</div>
";
// line 35
$this->displayBlock('page_checkout_cart_action_proceed', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 25
public function block_page_checkout_cart_add_promotion($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion"));
// line 26
echo " ";
$this->displayParentBlock("page_checkout_cart_add_promotion", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 35
public function block_page_checkout_cart_action_proceed($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_action_proceed"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_action_proceed"));
// line 36
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "AgiqonOci", [], "any", false, false, false, 36)) {
// line 37
echo " ";
if ((sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "AgiqonOciSystem", [], "any", false, false, false, 37) == "oci")) {
// line 38
echo " ";
$this->loadTemplate("@AgiqonOci/storefront/plugin/oci-form.html.twig", "@EfbStorefront/storefront/page/checkout/cart/index.html.twig", 38)->display($context);
// line 39
echo " ";
} elseif ((sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "AgiqonOciSystem", [], "any", false, false, false, 39) == "cxml")) {
// line 40
echo " ";
$this->loadTemplate("@AgiqonOci/storefront/plugin/oci-cxml.html.twig", "@EfbStorefront/storefront/page/checkout/cart/index.html.twig", 40)->display($context);
// line 41
echo " ";
} else {
// line 42
echo " ";
$this->loadTemplate("@AgiqonOci/storefront/plugin/oci-form.html.twig", "@EfbStorefront/storefront/page/checkout/cart/index.html.twig", 42)->display($context);
// line 43
echo " ";
}
// line 44
echo " ";
} else {
// line 45
echo " <div class=\"checkout-aside-action\">
<a href=\"";
// line 46
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.confirm.page");
echo "\"
class=\"btn btn-primary btn-block btn-lg begin-checkout-btn\"
title=\"";
// line 48
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.proceedLink")), "html", null, true);
echo "\">
";
// line 49
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.proceedLink"));
echo "
</a>
";
// line 53
echo " ";
// line 54
echo " ";
// line 55
echo " ";
// line 56
echo " ";
// line 57
echo " ";
// line 58
echo " ";
// line 59
echo " ";
// line 60
echo "
";
// line 62
echo " ";
// line 63
echo " ";
// line 64
echo " ";
// line 65
echo " ";
// line 66
echo " ";
// line 67
echo " ";
// line 68
echo " </div>
";
}
// line 70
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 73
public function block_page_checkout_cart_add_promotion_submit($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_submit"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_submit"));
// line 74
echo " <div class=\"input-group-append\">
<button class=\"btn btn-primary\"
type=\"submit\"
id=\"addPromotion\">
";
// line 78
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.addPromotionOffcanvasCart"));
echo "
</button>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 83
public function block_page_checkout_cart_add_product($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 85
public function block_page_checkout_container($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_container"));
// line 86
echo " ";
$this->displayParentBlock("page_checkout_container", $context, $blocks);
echo "
<div class=\"quick-order-contaier\">
";
// line 90
$this->displayBlock('page_checkout_cart_add_product_moved', $context, $blocks);
// line 131
echo "
";
// line 132
if (($context["b2bSuite"] ?? null)) {
// line 133
echo " <div
class=\"col-md-12 b2b--ajax-panel\"
data-id=\"fast-order-upload\"
data-url=\"";
// line 136
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.b2b.b2bfastorder.upload");
echo "\"
data-plugins=\"ajaxPanelUpload,accordion\"
></div>
";
} else {
// line 140
echo " ";
$this->loadTemplate("@EfbStorefront/storefront/component/checkout/csv-upload.html.twig", "@EfbStorefront/storefront/page/checkout/cart/index.html.twig", 140)->display($context);
// line 141
echo " ";
}
// line 142
echo " </div>
";
// line 144
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, 144), "extensions", [], "any", false, false, false, 144), "crossSelling", [], "any", false, false, false, 144)) {
// line 145
echo " <div class=\"checkout-cross-selling\">
";
// line 146
$context["crossSellings"] = 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, 146), "extensions", [], "any", false, false, false, 146), "crossSelling", [], "any", false, false, false, 146);
// line 147
echo "
";
// line 148
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['Shopware\Core\Framework\Adapter\Twig\SecurityExtension']->filter(($context["crossSellings"] ?? null), function ($__item__) use ($context, $macros) { $context["item"] = $__item__; return (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["item"], "crossSelling", [], "any", false, false, false, 148), "active", [], "any", false, false, false, 148) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["item"], "getProducts", [], "method", false, false, false, 148), "elements", [], "any", false, false, false, 148)); }));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 149
echo " <div class=\"cross-selling\">
";
// line 150
$context["config"] = ["title" => ["value" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 152
$context["item"], "crossSelling", [], "any", false, false, false, 152), "name", [], "any", false, false, false, 152)], "border" => ["value" => false], "rotate" => ["value" => false], "products" => ["value" => sw_get_attribute($this->env, $this->source, // line 161
$context["item"], "getProducts", [], "method", false, false, false, 161)], "boxLayout" => ["value" => "minimal"], "elMinWidth" => ["value" => "300px"], "navigation" => ["value" => true], "displayMode" => ["value" => "minimal"], "verticalAlign" => ["value" => "top"]];
// line 179
echo "
";
// line 180
$this->loadTemplate("@EfbStorefront/storefront/element/cms-element-product-slider.html.twig", "@EfbStorefront/storefront/page/checkout/cart/index.html.twig", 180)->display(twig_array_merge($context, ["sliderConfig" => // line 181
($context["config"] ?? null), "element" => ["data" => ["products" => ["elements" => sw_get_attribute($this->env, $this->source, // line 185
$context["item"], "getProducts", [], "method", false, false, false, 185)]], "type" => "product-slider"]]));
// line 191
echo " </div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 193
echo " </div>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 90
public function block_page_checkout_cart_add_product_moved($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_moved"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_moved"));
// line 91
echo " <div class=\"cart-add-product-container\">
<h3> ";
// line 93
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.quickOrder"));
echo "</h3>
<form action=\"";
// line 95
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.product.add-by-number");
echo "\"
data-form-csrf-handler=\"true\"
class=\"cart-add-product\"
method=\"post\">
";
// line 100
$this->displayBlock('page_checkout_cart_add_product_csrf', $context, $blocks);
// line 103
echo "
";
// line 104
$this->displayBlock('page_checkout_cart_add_product_redirect', $context, $blocks);
// line 107
echo "
";
// line 108
$this->displayBlock('page_checkout_cart_add_product_input_group', $context, $blocks);
// line 128
echo " </form>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 100
public function block_page_checkout_cart_add_product_csrf($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_csrf"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_csrf"));
// line 101
echo " ";
$this->displayParentBlock("page_checkout_cart_add_product_csrf", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 104
public function block_page_checkout_cart_add_product_redirect($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_redirect"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_redirect"));
// line 105
echo " ";
$this->displayParentBlock("page_checkout_cart_add_product_redirect", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 108
public function block_page_checkout_cart_add_product_input_group($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input_group"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input_group"));
// line 109
echo " <div class=\"input-group-row\">
";
// line 110
$this->displayBlock('page_checkout_cart_add_product_label', $context, $blocks);
// line 113
echo "
";
// line 114
$this->displayBlock('page_checkout_cart_add_product_input', $context, $blocks);
// line 117
echo "
";
// line 118
$this->displayBlock('page_checkout_cart_add_product_submit', $context, $blocks);
// line 125
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 110
public function block_page_checkout_cart_add_product_label($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_label"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_label"));
// line 111
echo " ";
$this->displayParentBlock("page_checkout_cart_add_product_label", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 114
public function block_page_checkout_cart_add_product_input($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input"));
// line 115
echo " ";
$this->displayParentBlock("page_checkout_cart_add_product_input", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 118
public function block_page_checkout_cart_add_product_submit($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_submit"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_submit"));
// line 119
echo " <button class=\"btn btn-primary\"
type=\"submit\"
id=\"addProductButton\">
";
// line 122
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.addProductToCart"));
echo "
</button>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 197
public function block_page_checkout_cart_shipping_costs($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@EfbStorefront/storefront/page/checkout/cart/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 665 => 197, 652 => 122, 647 => 119, 637 => 118, 624 => 115, 614 => 114, 601 => 111, 591 => 110, 579 => 125, 577 => 118, 574 => 117, 572 => 114, 569 => 113, 567 => 110, 564 => 109, 554 => 108, 541 => 105, 531 => 104, 518 => 101, 508 => 100, 496 => 128, 494 => 108, 491 => 107, 489 => 104, 486 => 103, 484 => 100, 476 => 95, 471 => 93, 467 => 91, 457 => 90, 445 => 193, 430 => 191, 428 => 185, 427 => 181, 426 => 180, 423 => 179, 421 => 161, 420 => 152, 419 => 150, 416 => 149, 399 => 148, 396 => 147, 394 => 146, 391 => 145, 389 => 144, 385 => 142, 382 => 141, 379 => 140, 372 => 136, 367 => 133, 365 => 132, 362 => 131, 360 => 90, 352 => 86, 342 => 85, 324 => 83, 310 => 78, 304 => 74, 294 => 73, 284 => 70, 280 => 68, 278 => 67, 276 => 66, 274 => 65, 272 => 64, 270 => 63, 268 => 62, 265 => 60, 263 => 59, 261 => 58, 259 => 57, 257 => 56, 255 => 55, 253 => 54, 251 => 53, 245 => 49, 241 => 48, 236 => 46, 233 => 45, 230 => 44, 227 => 43, 224 => 42, 221 => 41, 218 => 40, 215 => 39, 212 => 38, 209 => 37, 206 => 36, 196 => 35, 183 => 26, 173 => 25, 163 => 35, 154 => 28, 152 => 25, 141 => 23, 137 => 22, 131 => 18, 121 => 17, 109 => 12, 101 => 11, 96 => 10, 93 => 9, 91 => 8, 86 => 6, 82 => 4, 72 => 3, 49 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/page/checkout/cart/index.html.twig' %}
{% block page_checkout_cart_header %}
<h1 class=\"cart-main-header\">
{{ \"checkout.cartHeader\"|trans|sw_sanitize }}
</h1>
{% set EnnoEmptyCartSW6 = config('EnnoEmptyCartSW6') %}
{% if EnnoEmptyCartSW6 and EnnoEmptyCartSW6.config.active and EnnoEmptyCartSW6.config.activemaincart %}
<a class=\"enno-empty-cart\" href=\"{{ path('frontend.checkout.emptyCart') }}\">
{% sw_icon 'bin' style {'namespace': 'EfbStorefront'} %}
</a>
{% endif %}
{% endblock %}
{% block page_checkout_aside_actions %}
<div class=\"checkout-aside-action\">
<div class=\"accordions\">
<div class=\"accordion\">
<input type=\"checkbox\" id=\"accordion-trigger\">
<label class=\"accordion-label\" for=\"accordion-trigger\">{{ \"checkout.addPromotionAccordionLabel\"|trans|sw_sanitize }}
{% sw_icon 'chevron-right-s' style { 'namespace': 'EfbStorefront' } %}</label>
<div class=\"accordion-content\">
{% block page_checkout_cart_add_promotion %}
{{ parent() }}
{% endblock %}
</div>
</div>
</div>
</div>
{% block page_checkout_cart_action_proceed %}
{% if page.AgiqonOci %}
{% if page.AgiqonOciSystem == 'oci' %}
{% sw_include '@Storefront/storefront/plugin/oci-form.html.twig' %}
{% elseif page.AgiqonOciSystem == 'cxml' %}
{% sw_include '@Storefront/storefront/plugin/oci-cxml.html.twig' %}
{% else %}
{% sw_include '@Storefront/storefront/plugin/oci-form.html.twig' %}
{% endif %}
{% else %}
<div class=\"checkout-aside-action\">
<a href=\"{{ path('frontend.checkout.confirm.page') }}\"
class=\"btn btn-primary btn-block btn-lg begin-checkout-btn\"
title=\"{{ \"checkout.proceedLink\"|trans|striptags }}\">
{{ \"checkout.proceedLink\"|trans|sw_sanitize }}
</a>
{# <form#}
{# action=\"{{ path('frontend.b2b.b2bcreateofferthroughcart.createOffer') }}\"#}
{# method=\"post\"#}
{# data-form-csrf-handler=\"true\"#}
{# data-form-preserver=\"true\"#}
{# data-csrf-token=\"{{ sw_csrf('frontend.b2b.b2bcreateofferthroughcart.createOffer', { mode: 'token' }) }}\"#}
{# >#}
{# {{ sw_csrf('frontend.b2b.b2bcreateofferthroughcart.createOffer') }}#}
{# <button#}
{# type=\"submit\"#}
{# class=\"btn btn-request-offer\"#}
{# >#}
{# {{ \"b2b.RequestAnOffer\"|trans|sw_sanitize }}#}
{# </button>#}
{# </form>#}
</div>
{% endif %}
{% endblock %}
{% endblock %}
{% block page_checkout_cart_add_promotion_submit %}
<div class=\"input-group-append\">
<button class=\"btn btn-primary\"
type=\"submit\"
id=\"addPromotion\">
{{ \"checkout.addPromotionOffcanvasCart\"|trans|sw_sanitize }}
</button>
</div>
{% endblock %}
{% block page_checkout_cart_add_product %}{% endblock %}
{% block page_checkout_container %}
{{ parent() }}
<div class=\"quick-order-contaier\">
{% block page_checkout_cart_add_product_moved %}
<div class=\"cart-add-product-container\">
<h3> {{ \"checkout.quickOrder\"|trans|sw_sanitize }}</h3>
<form action=\"{{ path('frontend.checkout.product.add-by-number') }}\"
data-form-csrf-handler=\"true\"
class=\"cart-add-product\"
method=\"post\">
{% block page_checkout_cart_add_product_csrf %}
{{ parent() }}
{% endblock %}
{% block page_checkout_cart_add_product_redirect %}
{{ parent() }}
{% endblock %}
{% block page_checkout_cart_add_product_input_group %}
<div class=\"input-group-row\">
{% block page_checkout_cart_add_product_label %}
{{ parent() }}
{% endblock %}
{% block page_checkout_cart_add_product_input %}
{{ parent() }}
{% endblock %}
{% block page_checkout_cart_add_product_submit %}
<button class=\"btn btn-primary\"
type=\"submit\"
id=\"addProductButton\">
{{ \"checkout.addProductToCart\"|trans|sw_sanitize }}
</button>
{% endblock %}
</div>
{% endblock %}
</form>
</div>
{% endblock %}
{% if b2bSuite %}
<div
class=\"col-md-12 b2b--ajax-panel\"
data-id=\"fast-order-upload\"
data-url=\"{{ path('frontend.b2b.b2bfastorder.upload') }}\"
data-plugins=\"ajaxPanelUpload,accordion\"
></div>
{% else %}
{% sw_include \"@Storefront/storefront/component/checkout/csv-upload.html.twig\" %}
{% endif %}
</div>
{% if page.cart.extensions.crossSelling %}
<div class=\"checkout-cross-selling\">
{% set crossSellings = page.cart.extensions.crossSelling %}
{% for item in crossSellings|filter(item => item.crossSelling.active and item.getProducts().elements) %}
<div class=\"cross-selling\">
{% set config = {
'title': {
'value': item.crossSelling.name
},
'border': {
'value': false
},
'rotate': {
'value': false
},
'products': {
'value': item.getProducts()
},
'boxLayout': {
'value': 'minimal'
},
'elMinWidth': {
'value': '300px'
},
'navigation': {
'value': true
},
'displayMode': {
'value': 'minimal'
},
'verticalAlign': {
'value': 'top'
},
} %}
{% sw_include \"@Storefront/storefront/element/cms-element-product-slider.html.twig\" with {
sliderConfig: config,
element: {
'data': {
'products': {
elements: item.getProducts()
}
},
type: 'product-slider'
}
} %}
</div>
{% endfor %}
</div>
{% endif %}
{% endblock %}
{% block page_checkout_cart_shipping_costs %}{% endblock %}
", "@EfbStorefront/storefront/page/checkout/cart/index.html.twig", "/var/www/share/efb-elektronik.dev.mc.emzcustomers.de/shopware6/custom/static-plugins/EfbStorefront/Resources/views/storefront/page/checkout/cart/index.html.twig");
}
}