var/cache/dev_h35c9e4fa64367e5a564f83803cfdec08/twig/51/51194f190577c3759938fde982e86ec7d74fa43df92d1f4021f7f9d1cfa4125d.php line 50

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @ProxaBasketCrossSellingSW6/storefront/page/checkout/cart/index.html.twig */
  16. class __TwigTemplate_80ad5fad2e3e4f9365d71c3a8e61cf88 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'page_checkout_aside' => [$this'block_page_checkout_aside'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@Storefront/storefront/page/checkout/cart/index.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProxaBasketCrossSellingSW6/storefront/page/checkout/cart/index.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProxaBasketCrossSellingSW6/storefront/page/checkout/cart/index.html.twig"));
  40.         $this->parent $this->loadTemplate("@Storefront/storefront/page/checkout/cart/index.html.twig""@ProxaBasketCrossSellingSW6/storefront/page/checkout/cart/index.html.twig"2);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 4
  48.     public function block_page_checkout_aside($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_aside"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_aside"));
  55.         // line 5
  56.         echo "     ";
  57.         $this->displayParentBlock("page_checkout_aside"$context$blocks);
  58.         echo "
  59.      ";
  60.         // line 7
  61.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cart", [], "any"falsefalsefalse7), "extensions", [], "any"falsefalsefalse7), "sliderProducts", [], "any"falsefalsefalse7), "all", [], "any"falsefalsefalse7)) {
  62.             // line 8
  63.             echo "         ";
  64.             $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->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 31
  65. ($context["page"] ?? null), "cart", [], "any"falsefalsefalse31), "extensions", [], "any"falsefalsefalse31), "sliderType", [], "any"falsefalsefalse31), "get", [=> 0], "method"falsefalsefalse31)]];
  66.             // line 34
  67.             echo "         <div class=\"checkout-product-slider\">
  68.              <div class=\"col-12\">
  69.                  ";
  70.             // line 36
  71.             $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->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 37
  72. ($context["page"] ?? null), "cart", [], "any"falsefalsefalse37), "extensions", [], "any"falsefalsefalse37), "sliderProducts", [], "any"falsefalsefalse37), "all", [], "any"falsefalsefalse37), "sliderConfig" =>             // line 38
  73. ($context["config"] ?? null)]));
  74.             // line 40
  75.             echo "             </div>
  76.          </div>
  77.      ";
  78.         }
  79.         // line 43
  80.         echo " ";
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.     }
  86.     public function getTemplateName()
  87.     {
  88.         return "@ProxaBasketCrossSellingSW6/storefront/page/checkout/cart/index.html.twig";
  89.     }
  90.     public function isTraitable()
  91.     {
  92.         return false;
  93.     }
  94.     public function getDebugInfo()
  95.     {
  96.         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,);
  97.     }
  98.     public function getSourceContext()
  99.     {
  100.         return new Source("{% sw_extends '@Storefront/storefront/page/checkout/cart/index.html.twig' %}
  101.  {% block page_checkout_aside %}
  102.      {{ parent() }}
  103.      {% if page.cart.extensions.sliderProducts.all %}
  104.          {% set config = {
  105.              'title': {
  106.                  'value':  'proxa-basket-cross-selling.cart-slider-title'|trans
  107.              },
  108.              'border': {
  109.                  'value': false
  110.              },
  111.              'rotate': {
  112.                  'value': false
  113.              },
  114.              'boxLayout': {
  115.                  'value': 'cart'
  116.              },
  117.              'elMinWidth': {
  118.                  'value': '300px'
  119.              },
  120.              'navigation': {
  121.                  'value': true
  122.              },
  123.              'displayMode': {
  124.                  'value': 'minimal'
  125.              },
  126.              'position' :{
  127.                  'value': page.cart.extensions.sliderType.get(0)
  128.              }
  129.          } %}
  130.          <div class=\"checkout-product-slider\">
  131.              <div class=\"col-12\">
  132.                  {% sw_include '@Storefront/storefront/element/cms-element-cart-product-slider.html.twig' with {
  133.                      elements: page.cart.extensions.sliderProducts.all ,
  134.                      sliderConfig: config,
  135.                  } %}
  136.              </div>
  137.          </div>
  138.      {% endif %}
  139.  {% endblock %}
  140. ""@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");
  141.     }
  142. }