<?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;
/* @ATNTheme/storefront/element/cms-element-cross-selling.html.twig */
class __TwigTemplate_d6191cb2146aec5c4dd6958583edc4b14458ed34d65ba8d850d8c811f302b682 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'cms_element_cross_selling_tabs_navigation' => [$this, 'block_cms_element_cross_selling_tabs_navigation'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@SwagCmsExtensions/storefront/element/cms-element-cross-selling.html.twig";
}
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", "@ATNTheme/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", "@ATNTheme/storefront/element/cms-element-cross-selling.html.twig"));
$this->parent = $this->loadTemplate("@SwagCmsExtensions/storefront/element/cms-element-cross-selling.html.twig", "@ATNTheme/storefront/element/cms-element-cross-selling.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
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 4
echo " <div class=\"cms-element-text\">
<h2 class=\"text-uppercase text-white\">
";
// line 6
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(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, 6), "crossSellings", [], "any", false, false, false, 6), "elements", [], "any", false, false, false, 6));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 7
echo " ";
$context["crossSelling"] = sw_get_attribute($this->env, $this->source, $context["item"], "crossSelling", [], "any", false, false, false, 7);
// line 8
echo " ";
$context["products"] = sw_get_attribute($this->env, $this->source, $context["item"], "products", [], "any", false, false, false, 8);
// line 9
echo " ";
$context["id"] = sw_get_attribute($this->env, $this->source, ($context["crossSelling"] ?? null), "id", [], "any", false, false, false, 9);
// line 10
echo " ";
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, 10), "name", [], "any", false, false, false, 10), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 12
echo " </h2>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@ATNTheme/storefront/element/cms-element-cross-selling.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 94 => 12, 85 => 10, 82 => 9, 79 => 8, 76 => 7, 72 => 6, 68 => 4, 58 => 3, 35 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/element/cms-element-cross-selling.html.twig' %}
{% block cms_element_cross_selling_tabs_navigation %}
<div class=\"cms-element-text\">
<h2 class=\"text-uppercase text-white\">
{% for item in element.data.crossSellings.elements %}
{% set crossSelling = item.crossSelling %}
{% set products = item.products %}
{% set id = crossSelling.id %}
{{ crossSelling.translated.name }}
{% endfor %}
</h2>
</div>
{% endblock %}", "@ATNTheme/storefront/element/cms-element-cross-selling.html.twig", "/www/htdocs/w01c128a/atngmbh.webneo-demo.de/www/custom/plugins/ATNTheme/src/Resources/views/storefront/element/cms-element-cross-selling.html.twig");
}
}