<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
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/element/cms-element-cross-selling.html.twig */
class __TwigTemplate_9b02571c454c510fcdbd5e9d6095d0f1bec21470fa39227715d19cd7b3788e22 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'cms_element_cross_selling_tabs_inner' => [$this, 'block_cms_element_cross_selling_tabs_inner'],
'cms_element_cross_selling_tabs_navigation' => [$this, 'block_cms_element_cross_selling_tabs_navigation'],
'cms_element_cross_selling_tabs_navigation_container' => [$this, 'block_cms_element_cross_selling_tabs_navigation_container'],
'cms_element_cross_selling_tabs_content' => [$this, 'block_cms_element_cross_selling_tabs_content'],
'cms_element_cross_selling_tabs_content_container' => [$this, 'block_cms_element_cross_selling_tabs_content_container'],
'cms_element_cross_selling_tabs_content_container_slider' => [$this, 'block_cms_element_cross_selling_tabs_content_container_slider'],
];
}
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/element/cms-element-cross-selling.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/element/cms-element-cross-selling.html.twig"));
// line 1
$this->displayBlock('cms_element_cross_selling_tabs_inner', $context, $blocks);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function block_cms_element_cross_selling_tabs_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", "cms_element_cross_selling_tabs_inner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_element_cross_selling_tabs_inner"));
// line 2
echo " ";
if ( !($context["sliderConfig"] ?? null)) {
// line 3
echo " ";
$context["sliderConfig"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "fieldConfig", [], "any", false, false, false, 3), "elements", [], "any", false, false, false, 3);
// line 4
echo " ";
}
// line 5
echo " <div class=\"product-detail-cross-selling\">
<div class=\"card card-tabs\" data-cross-selling=\"true\">
";
// line 7
$this->displayBlock('cms_element_cross_selling_tabs_navigation', $context, $blocks);
// line 38
echo "
";
// line 39
$this->displayBlock('cms_element_cross_selling_tabs_content', $context, $blocks);
// line 101
echo " </div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 7
public function block_cms_element_cross_selling_tabs_navigation($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", "cms_element_cross_selling_tabs_navigation"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_element_cross_selling_tabs_navigation"));
// line 8
echo " <div class=\"card-header product-detail-tab-navigation product-cross-selling-tab-navigation\">
";
// line 9
$this->displayBlock('cms_element_cross_selling_tabs_navigation_container', $context, $blocks);
// line 36
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 9
public function block_cms_element_cross_selling_tabs_navigation_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", "cms_element_cross_selling_tabs_navigation_container"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_element_cross_selling_tabs_navigation_container"));
// line 10
echo " <ul class=\"nav nav-tabs product-detail-tab-navigation-list\"
id=\"product-detail-cross-selling-tabs\"
role=\"tablist\">
";
// line 13
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "data", [], "any", false, true, false, 13), "crossSellings", [], "any", false, true, false, 13), "elements", [], "any", true, true, false, 13)) {
// line 14
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "data", [], "any", false, false, false, 14), "crossSellings", [], "any", false, false, false, 14), "elements", [], "any", false, false, false, 14), function ($__item__) use ($context, $macros) { $context["item"] = $__item__; return ((1 === twig_compare(sw_get_attribute($this->env, $this->source, $context["item"], "total", [], "any", false, false, false, 14), 0)) && (0 === twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["item"], "crossSelling", [], "any", false, false, false, 14), "active", [], "any", false, false, false, 14), true))); }));
$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 15
echo " ";
$context["crossSelling"] = sw_get_attribute($this->env, $this->source, $context["item"], "crossSelling", [], "any", false, false, false, 15);
// line 16
echo " ";
$context["products"] = sw_get_attribute($this->env, $this->source, $context["item"], "products", [], "any", false, false, false, 16);
// line 17
echo " ";
$context["id"] = sw_get_attribute($this->env, $this->source, ($context["crossSelling"] ?? null), "id", [], "any", false, false, false, 17);
// line 18
echo " <li class=\"nav-item\">
<a class=\"nav-link product-detail-tab-navigation-link";
// line 19
if (sw_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 19)) {
echo " active";
}
echo "\"
id=\"cross-selling-tab-";
// line 20
echo twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true);
echo "\"
";
// line 21
echo twig_escape_filter($this->env, ($context["dataBsToggleAttr"] ?? null), "html", null, true);
echo "=\"tab\"
href=\"#cross-selling-tab-";
// line 22
echo twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true);
echo "-pane\"
role=\"tab\"
aria-controls=\"cross-selling-tab-";
// line 24
echo twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true);
echo "-pane\"
aria-selected=\"true\">
";
// line 26
echo twig_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["crossSelling"] ?? null), "translated", [], "any", false, false, false, 26), "name", [], "any", false, false, false, 26), "html", null, true);
echo "
<span class=\"product-detail-tab-navigation-icon\">
";
// line 28
((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/element/cms-element-cross-selling.html.twig", 28);
})())->display(twig_array_merge($context, ["pack" => "solid", "name" => "arrow-medium-right"]));
// line 29
echo " </span>
</a>
</li>
";
++$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 33
echo " ";
}
// line 34
echo " </ul>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 39
public function block_cms_element_cross_selling_tabs_content($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", "cms_element_cross_selling_tabs_content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_element_cross_selling_tabs_content"));
// line 40
echo " <div class=\"product-detail-tabs-content card-body\">
";
// line 41
$this->displayBlock('cms_element_cross_selling_tabs_content_container', $context, $blocks);
// line 99
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 41
public function block_cms_element_cross_selling_tabs_content_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", "cms_element_cross_selling_tabs_content_container"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_element_cross_selling_tabs_content_container"));
// line 42
echo " <div class=\"tab-content\">
";
// line 43
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "data", [], "any", false, true, false, 43), "crossSellings", [], "any", false, true, false, 43), "elements", [], "any", true, true, false, 43)) {
// line 44
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "data", [], "any", false, false, false, 44), "crossSellings", [], "any", false, false, false, 44), "elements", [], "any", false, false, false, 44), function ($__item__) use ($context, $macros) { $context["item"] = $__item__; return ((1 === twig_compare(sw_get_attribute($this->env, $this->source, $context["item"], "total", [], "any", false, false, false, 44), 0)) && (0 === twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["item"], "crossSelling", [], "any", false, false, false, 44), "active", [], "any", false, false, false, 44), true))); }));
$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 45
echo " ";
$context["crossSelling"] = sw_get_attribute($this->env, $this->source, $context["item"], "crossSelling", [], "any", false, false, false, 45);
// line 46
echo " ";
$context["products"] = sw_get_attribute($this->env, $this->source, $context["item"], "products", [], "any", false, false, false, 46);
// line 47
echo " ";
$context["id"] = sw_get_attribute($this->env, $this->source, ($context["crossSelling"] ?? null), "id", [], "any", false, false, false, 47);
// line 48
echo " <div class=\"tab-pane fade show";
if (sw_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 48)) {
echo " active";
}
echo "\"
id=\"cross-selling-tab-";
// line 49
echo twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true);
echo "-pane\"
role=\"tabpanel\"
aria-labelledby=\"cross-selling-tab-";
// line 51
echo twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true);
echo "\">
";
// line 52
$context["config"] = ["title" => ["value" => sw_get_attribute($this->env, $this->source, // line 54
($context["crossSelling"] ?? null), "name", [], "any", false, false, false, 54)], "border" => ["value" => false], "rotate" => ["value" => false], "products" => ["value" => // line 63
($context["products"] ?? null)], "boxLayout" => ["value" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 66
($context["sliderConfig"] ?? null), "boxLayout", [], "any", false, false, false, 66), "value", [], "any", false, false, false, 66)], "elMinWidth" => ["value" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 69
($context["sliderConfig"] ?? null), "elMinWidth", [], "any", false, false, false, 69), "value", [], "any", false, false, false, 69)], "navigation" => ["value" => true], "displayMode" => ["value" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 75
($context["sliderConfig"] ?? null), "displayMode", [], "any", false, false, false, 75), "value", [], "any", false, false, false, 75)], "verticalAlign" => ["value" => // line 78
($context["center"] ?? null)]];
// line 81
echo "
";
// line 82
$this->displayBlock('cms_element_cross_selling_tabs_content_container_slider', $context, $blocks);
// line 93
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 96
echo " ";
}
// line 97
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 82
public function block_cms_element_cross_selling_tabs_content_container_slider($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", "cms_element_cross_selling_tabs_content_container_slider"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_element_cross_selling_tabs_content_container_slider"));
// line 83
echo " ";
$this->loadTemplate("@Storefront/storefront/element/cms-element-product-slider.html.twig", "@Storefront/storefront/element/cms-element-cross-selling.html.twig", 83)->display(twig_array_merge($context, ["sliderConfig" => // line 84
($context["config"] ?? null), "element" => ["data" => ["products" => // line 87
($context["products"] ?? null)], "type" => "product-slider"]]));
// line 92
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@Storefront/storefront/element/cms-element-cross-selling.html.twig";
}
public function getDebugInfo()
{
return array ( 383 => 92, 381 => 87, 380 => 84, 378 => 83, 368 => 82, 357 => 97, 354 => 96, 338 => 93, 336 => 82, 333 => 81, 331 => 78, 330 => 75, 329 => 69, 328 => 66, 327 => 63, 326 => 54, 325 => 52, 321 => 51, 316 => 49, 309 => 48, 306 => 47, 303 => 46, 300 => 45, 282 => 44, 280 => 43, 277 => 42, 267 => 41, 256 => 99, 254 => 41, 251 => 40, 241 => 39, 230 => 34, 227 => 33, 210 => 29, 202 => 28, 197 => 26, 192 => 24, 187 => 22, 183 => 21, 179 => 20, 173 => 19, 170 => 18, 167 => 17, 164 => 16, 161 => 15, 143 => 14, 141 => 13, 136 => 10, 126 => 9, 115 => 36, 113 => 9, 110 => 8, 100 => 7, 88 => 101, 86 => 39, 83 => 38, 81 => 7, 77 => 5, 74 => 4, 71 => 3, 68 => 2, 49 => 1,);
}
public function getSourceContext()
{
return new Source("{% block cms_element_cross_selling_tabs_inner %}
{% if not sliderConfig %}
{% set sliderConfig = element.fieldConfig.elements %}
{% endif %}
<div class=\"product-detail-cross-selling\">
<div class=\"card card-tabs\" data-cross-selling=\"true\">
{% block cms_element_cross_selling_tabs_navigation %}
<div class=\"card-header product-detail-tab-navigation product-cross-selling-tab-navigation\">
{% block cms_element_cross_selling_tabs_navigation_container %}
<ul class=\"nav nav-tabs product-detail-tab-navigation-list\"
id=\"product-detail-cross-selling-tabs\"
role=\"tablist\">
{% if element.data.crossSellings.elements is defined %}
{% for item in element.data.crossSellings.elements|filter(item => item.total > 0 and item.crossSelling.active == true) %}
{% set crossSelling = item.crossSelling %}
{% set products = item.products %}
{% set id = crossSelling.id %}
<li class=\"nav-item\">
<a class=\"nav-link product-detail-tab-navigation-link{% if loop.first %} active{% endif %}\"
id=\"cross-selling-tab-{{ id }}\"
{{ dataBsToggleAttr }}=\"tab\"
href=\"#cross-selling-tab-{{ id }}-pane\"
role=\"tab\"
aria-controls=\"cross-selling-tab-{{ id }}-pane\"
aria-selected=\"true\">
{{ crossSelling.translated.name }}
<span class=\"product-detail-tab-navigation-icon\">
{% sw_icon 'arrow-medium-right' style {'pack':'solid'} %}
</span>
</a>
</li>
{% endfor %}
{% endif %}
</ul>
{% endblock %}
</div>
{% endblock %}
{% block cms_element_cross_selling_tabs_content %}
<div class=\"product-detail-tabs-content card-body\">
{% block cms_element_cross_selling_tabs_content_container %}
<div class=\"tab-content\">
{% if element.data.crossSellings.elements is defined %}
{% for item in element.data.crossSellings.elements|filter(item => item.total > 0 and item.crossSelling.active == true) %}
{% set crossSelling = item.crossSelling %}
{% set products = item.products %}
{% set id = crossSelling.id %}
<div class=\"tab-pane fade show{% if loop.first %} active{% endif %}\"
id=\"cross-selling-tab-{{ id }}-pane\"
role=\"tabpanel\"
aria-labelledby=\"cross-selling-tab-{{ id }}\">
{% set config = {
'title': {
'value': crossSelling.name
},
'border': {
'value': false
},
'rotate': {
'value': false
},
'products': {
'value': products
},
'boxLayout': {
'value': sliderConfig.boxLayout.value
},
'elMinWidth': {
'value': sliderConfig.elMinWidth.value
},
'navigation': {
'value': true
},
'displayMode': {
'value': sliderConfig.displayMode.value
},
'verticalAlign': {
'value': center
}
} %}
{% block cms_element_cross_selling_tabs_content_container_slider %}
{% sw_include \"@Storefront/storefront/element/cms-element-product-slider.html.twig\" with {
sliderConfig: config,
element: {
'data': {
'products': products
},
type: 'product-slider'
}
} %}
{% endblock %}
</div>
{% endfor %}
{% endif %}
</div>
{% endblock %}
</div>
{% endblock %}
</div>
</div>
{% endblock %}
", "@Storefront/storefront/element/cms-element-cross-selling.html.twig", "/www/htdocs/w01c128a/atngmbh.webneo-demo.de/www/vendor/shopware/storefront/Resources/views/storefront/element/cms-element-cross-selling.html.twig");
}
}