<?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;
/* @EmovaTheme/storefront/page/checkout/cart/index.html.twig */
class __TwigTemplate_889d9d7fce3f5eb571b4fc819f90a28d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_head' => [$this, 'block_base_head'],
'page_checkout_container' => [$this, 'block_page_checkout_container'],
'page_checkout_main_header' => [$this, 'block_page_checkout_main_header'],
'page_checkout_cart_header' => [$this, 'block_page_checkout_cart_header'],
'page_checkout_main_content' => [$this, 'block_page_checkout_main_content'],
'page_checkout_cart' => [$this, 'block_page_checkout_cart'],
'page_checkout_cart_product_table' => [$this, 'block_page_checkout_cart_product_table'],
'page_checkout_cart_table_items' => [$this, 'block_page_checkout_cart_table_items'],
'page_checkout_cart_hidden_line_items_information' => [$this, 'block_page_checkout_cart_hidden_line_items_information'],
'page_checkout_cart_add_product_and_shipping' => [$this, 'block_page_checkout_cart_add_product_and_shipping'],
'page_checkout_aside_actions' => [$this, 'block_page_checkout_aside_actions'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@EmovaTheme/storefront/page/checkout/_pageforcart.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", "@EmovaTheme/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", "@EmovaTheme/storefront/page/checkout/cart/index.html.twig"));
$this->parent = $this->loadTemplate("@EmovaTheme/storefront/page/checkout/_pageforcart.html.twig", "@EmovaTheme/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 4
public function block_base_head($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_head"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_head"));
// line 5
echo " ";
$this->loadTemplate("@EmovaTheme/storefront/page/checkout/cart/meta.html.twig", "@EmovaTheme/storefront/page/checkout/cart/index.html.twig", 5)->display($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 8
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 9
echo " ";
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cart", [], "any", false, false, false, 9), "lineItems", [], "any", false, false, false, 9), "count", [], "any", false, false, false, 9) === 0)) {
// line 10
echo " ";
$this->loadTemplate("@EmovaPelletsTheme/storefront/utilities/alert-friendly.html.twig", "@EmovaTheme/storefront/page/checkout/cart/index.html.twig", 10)->display(twig_array_merge($context, ["type" => "info", "heading" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("emova.priceOfferOutdatedHeading")), "content" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("emova.priceOfferOutdatedText")), "target" => ["link" => "/", "message" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("emova.priceOfferOutdatedButton"))]]));
// line 16
echo "
";
// line 17
$context["messages"] = sw_get_attribute($this->env, $this->source, ($context["app"] ?? null), "flashes", [], "any", false, false, false, 17);
// line 18
echo "
";
// line 19
if ((twig_length_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["messages"] ?? null), "danger", [], "any", false, false, false, 19)) > 0)) {
// line 20
echo " <div class=\"flashbags\">
";
// line 21
$this->loadTemplate("@EmovaTheme/storefront/utilities/alert.html.twig", "@EmovaTheme/storefront/page/checkout/cart/index.html.twig", 21)->display(twig_array_merge($context, ["type" => "danger", "list" => sw_get_attribute($this->env, $this->source, ($context["messages"] ?? null), "danger", [], "any", false, false, false, 21)]));
// line 22
echo " </div>
";
}
// line 24
echo " ";
} else {
// line 25
echo " ";
$this->displayParentBlock("page_checkout_container", $context, $blocks);
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 29
public function block_page_checkout_main_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_main_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_main_header"));
// line 30
echo " ";
$this->displayBlock('page_checkout_cart_header', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
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 31
echo " ";
$this->loadTemplate("@EmovaTheme/storefront/component/checkout/step-by-step-bar.html.twig", "@EmovaTheme/storefront/page/checkout/cart/index.html.twig", 31)->display(twig_array_merge($context, ["step" => 2]));
// line 32
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 35
public function block_page_checkout_main_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_main_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_main_content"));
// line 36
echo " ";
$this->displayBlock('page_checkout_cart', $context, $blocks);
// line 71
echo "
<style>
.error-message{
color: var(--red);
padding: 0 26px;
display: flex;
}
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 36
public function block_page_checkout_cart($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart"));
// line 37
echo " ";
$context["upsellLineItem"] = null;
// line 38
echo " ";
$context["mainLineItem"] = null;
// line 39
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cart", [], "any", false, false, false, 39), "lineItems", [], "any", false, false, false, 39));
foreach ($context['_seq'] as $context["_key"] => $context["lineItem"]) {
// line 40
echo " ";
$context["cs"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["lineItem"], "payload", [], "any", false, false, false, 40), "customFields", [], "any", false, false, false, 40);
// line 41
echo " ";
if (($context["cs"] ?? null)) {
// line 42
echo " ";
$context["upsell"] = (($__internal_compile_0 = ($context["cs"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["ev_produktdaten_upsell"] ?? null) : null);
// line 43
echo " ";
if ((($context["upsell"] ?? null) == true)) {
// line 44
echo " ";
$context["upsellLineItem"] = $context["lineItem"];
// line 45
echo " ";
} else {
// line 46
echo " ";
$context["mainLineItem"] = $context["lineItem"];
// line 47
echo " ";
}
// line 48
echo " ";
}
// line 49
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lineItem'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 50
echo " ";
$this->displayBlock('page_checkout_cart_product_table', $context, $blocks);
// line 60
echo "
";
// line 61
$this->displayBlock('page_checkout_cart_hidden_line_items_information', $context, $blocks);
// line 67
echo "
";
// line 68
$this->displayBlock('page_checkout_cart_add_product_and_shipping', $context, $blocks);
// line 70
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 50
public function block_page_checkout_cart_product_table($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_product_table"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_product_table"));
// line 51
echo "
";
// line 52
$this->displayBlock('page_checkout_cart_table_items', $context, $blocks);
// line 59
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 52
public function block_page_checkout_cart_table_items($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_items"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_items"));
// line 53
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cart", [], "any", false, false, false, 53), "lineItems", [], "any", false, false, false, 53));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["lineItem"]) {
// line 54
echo " ";
if (sw_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 54)) {
// line 55
echo " ";
$this->loadTemplate("@EmovaTheme/storefront/page/checkout/cart/index-inner.html.twig", "@EmovaTheme/storefront/page/checkout/cart/index.html.twig", 55)->display($context);
echo "
";
}
// line 57
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lineItem'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 58
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 61
public function block_page_checkout_cart_hidden_line_items_information($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_hidden_line_items_information"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_hidden_line_items_information"));
// line 62
echo " ";
$this->loadTemplate("@Storefront/storefront/component/checkout/hidden-line-items-information.html.twig", "@EmovaTheme/storefront/page/checkout/cart/index.html.twig", 62)->display(twig_array_merge($context, ["cart" => sw_get_attribute($this->env, $this->source, // line 63
($context["page"] ?? null), "cart", [], "any", false, false, false, 63), "lineItems" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 64
($context["page"] ?? null), "cart", [], "any", false, false, false, 64), "lineItems", [], "any", false, false, false, 64)]));
// line 66
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 68
public function block_page_checkout_cart_add_product_and_shipping($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_and_shipping"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_and_shipping"));
// line 69
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 82
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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@EmovaTheme/storefront/page/checkout/cart/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 424 => 82, 414 => 69, 404 => 68, 394 => 66, 392 => 64, 391 => 63, 389 => 62, 379 => 61, 369 => 58, 355 => 57, 349 => 55, 346 => 54, 328 => 53, 318 => 52, 308 => 59, 306 => 52, 303 => 51, 293 => 50, 283 => 70, 281 => 68, 278 => 67, 276 => 61, 273 => 60, 270 => 50, 264 => 49, 261 => 48, 258 => 47, 255 => 46, 252 => 45, 249 => 44, 246 => 43, 243 => 42, 240 => 41, 237 => 40, 232 => 39, 229 => 38, 226 => 37, 216 => 36, 197 => 71, 194 => 36, 184 => 35, 174 => 32, 171 => 31, 151 => 30, 141 => 29, 127 => 25, 124 => 24, 120 => 22, 118 => 21, 115 => 20, 113 => 19, 110 => 18, 108 => 17, 105 => 16, 102 => 10, 99 => 9, 89 => 8, 78 => 5, 68 => 4, 45 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/page/checkout/_pageforcart.html.twig' %}
{% block base_head %}
{% sw_include '@Storefront/storefront/page/checkout/cart/meta.html.twig' %}
{% endblock %}
{% block page_checkout_container %}
{% if page.cart.lineItems.count is same as(0) %}
{% sw_include '@Storefront/storefront/utilities/alert-friendly.html.twig' with {
type: \"info\",
heading: \"emova.priceOfferOutdatedHeading\"|trans|sw_sanitize,
content: \"emova.priceOfferOutdatedText\"|trans|sw_sanitize,
target: { link: \"/\", message: \"emova.priceOfferOutdatedButton\"|trans|sw_sanitize }
} %}
{% set messages = app.flashes %}
{% if messages.danger|length > 0 %}
<div class=\"flashbags\">
{% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: 'danger', list: messages.danger } %}
</div>
{% endif %}
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block page_checkout_main_header %}
{% block page_checkout_cart_header %}
{% sw_include '@Storefront/storefront/component/checkout/step-by-step-bar.html.twig' with {'step': 2} %}
{% endblock %}
{% endblock %}
{% block page_checkout_main_content %}
{% block page_checkout_cart %}
{% set upsellLineItem = null %}
{% set mainLineItem = null %}
{% for lineItem in page.cart.lineItems %}
{% set cs = lineItem.payload.customFields %}
{% if cs %}
{% set upsell = cs[\"ev_produktdaten_upsell\"] %}
{% if upsell == true %}
{% set upsellLineItem = lineItem %}
{% else %}
{% set mainLineItem = lineItem %}
{% endif %}
{% endif %}
{% endfor %}
{% block page_checkout_cart_product_table %}
{% block page_checkout_cart_table_items %}
{% for lineItem in page.cart.lineItems %}
{% if loop.first %}
{% sw_include '@Storefront/storefront/page/checkout/cart/index-inner.html.twig' %}
{% endif %}
{% endfor %}
{% endblock %}
{% endblock %}
{% block page_checkout_cart_hidden_line_items_information %}
{% sw_include '@Storefront/storefront/component/checkout/hidden-line-items-information.html.twig' with {
cart: page.cart,
lineItems: page.cart.lineItems
} %}
{% endblock %}
{% block page_checkout_cart_add_product_and_shipping %}
{% endblock %}
{% endblock %}
<style>
.error-message{
color: var(--red);
padding: 0 26px;
display: flex;
}
</style>
{% endblock %}
{% block page_checkout_aside_actions %}
{% endblock %}
", "@EmovaTheme/storefront/page/checkout/cart/index.html.twig", "/var/www/shop.emova.de/html/custom/plugins/EmovaTheme/src/Resources/views/storefront/page/checkout/cart/index.html.twig");
}
}