<?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;
/* @ProxaBasketCrossSellingSW6/storefront/page/checkout/cart/index.html.twig */
class __TwigTemplate_80ad5fad2e3e4f9365d71c3a8e61cf88 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_checkout_aside' => [$this, 'block_page_checkout_aside'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@Storefront/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", "@ProxaBasketCrossSellingSW6/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", "@ProxaBasketCrossSellingSW6/storefront/page/checkout/cart/index.html.twig"));
$this->parent = $this->loadTemplate("@Storefront/storefront/page/checkout/cart/index.html.twig", "@ProxaBasketCrossSellingSW6/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_page_checkout_aside($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"));
$__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"));
// line 5
echo " ";
$this->displayParentBlock("page_checkout_aside", $context, $blocks);
echo "
";
// line 7
if (sw_get_attribute($this->env, $this->source, 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, 7), "extensions", [], "any", false, false, false, 7), "sliderProducts", [], "any", false, false, false, 7), "all", [], "any", false, false, false, 7)) {
// line 8
echo " ";
$context["config"] = ["title" => ["value" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("proxa-basket-cross-selling.cart-slider-title")], "border" => ["value" => false], "rotate" => ["value" => false], "boxLayout" => ["value" => "cart"], "elMinWidth" => ["value" => "300px"], "navigation" => ["value" => true], "displayMode" => ["value" => "minimal"], "position" => ["value" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 31
($context["page"] ?? null), "cart", [], "any", false, false, false, 31), "extensions", [], "any", false, false, false, 31), "sliderType", [], "any", false, false, false, 31), "get", [0 => 0], "method", false, false, false, 31)]];
// line 34
echo " <div class=\"checkout-product-slider\">
<div class=\"col-12\">
";
// line 36
$this->loadTemplate("@ProxaBasketCrossSellingSW6/storefront/element/cms-element-cart-product-slider.html.twig", "@ProxaBasketCrossSellingSW6/storefront/page/checkout/cart/index.html.twig", 36)->display(twig_array_merge($context, ["elements" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 37
($context["page"] ?? null), "cart", [], "any", false, false, false, 37), "extensions", [], "any", false, false, false, 37), "sliderProducts", [], "any", false, false, false, 37), "all", [], "any", false, false, false, 37), "sliderConfig" => // line 38
($context["config"] ?? null)]));
// line 40
echo " </div>
</div>
";
}
// line 43
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@ProxaBasketCrossSellingSW6/storefront/page/checkout/cart/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 93 => 43, 88 => 40, 86 => 38, 85 => 37, 84 => 36, 80 => 34, 78 => 31, 76 => 8, 74 => 7, 68 => 5, 58 => 4, 35 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/page/checkout/cart/index.html.twig' %}
{% block page_checkout_aside %}
{{ parent() }}
{% if page.cart.extensions.sliderProducts.all %}
{% set config = {
'title': {
'value': 'proxa-basket-cross-selling.cart-slider-title'|trans
},
'border': {
'value': false
},
'rotate': {
'value': false
},
'boxLayout': {
'value': 'cart'
},
'elMinWidth': {
'value': '300px'
},
'navigation': {
'value': true
},
'displayMode': {
'value': 'minimal'
},
'position' :{
'value': page.cart.extensions.sliderType.get(0)
}
} %}
<div class=\"checkout-product-slider\">
<div class=\"col-12\">
{% sw_include '@Storefront/storefront/element/cms-element-cart-product-slider.html.twig' with {
elements: page.cart.extensions.sliderProducts.all ,
sliderConfig: config,
} %}
</div>
</div>
{% endif %}
{% endblock %}
", "@ProxaBasketCrossSellingSW6/storefront/page/checkout/cart/index.html.twig", "/var/customers/webs/kew/htdocs6/vendor/store.shopware.com/proxabasketcrosssellingsw6/src/Resources/views/storefront/page/checkout/cart/index.html.twig");
}
}