var/cache/dev_ha61ef46992a3948952fe944d3fcb7240/twig/f7/f7f0b82fc222ed78c771b24e9ee412a7f56281fc9e5c0024255870578600f6a1.php line 49

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use Twig\Error\LoaderError;
  5. use Twig\Error\RuntimeError;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* @ATNTheme/storefront/element/cms-element-cross-selling.html.twig */
  15. class __TwigTemplate_d6191cb2146aec5c4dd6958583edc4b14458ed34d65ba8d850d8c811f302b682 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'cms_element_cross_selling_tabs_navigation' => [$this'block_cms_element_cross_selling_tabs_navigation'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 2
  30.         return "@SwagCmsExtensions/storefront/element/cms-element-cross-selling.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ATNTheme/storefront/element/cms-element-cross-selling.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ATNTheme/storefront/element/cms-element-cross-selling.html.twig"));
  39.         $this->parent $this->loadTemplate("@SwagCmsExtensions/storefront/element/cms-element-cross-selling.html.twig""@ATNTheme/storefront/element/cms-element-cross-selling.html.twig"2);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_cms_element_cross_selling_tabs_navigation($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_element_cross_selling_tabs_navigation"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_element_cross_selling_tabs_navigation"));
  54.         // line 4
  55.         echo "    <div class=\"cms-element-text\">
  56.         <h2 class=\"text-uppercase text-white\">
  57.             ";
  58.         // line 6
  59.         $context['_parent'] = $context;
  60.         $context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["element"] ?? null), "data", [], "any"falsefalsefalse6), "crossSellings", [], "any"falsefalsefalse6), "elements", [], "any"falsefalsefalse6));
  61.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  62.             // line 7
  63.             echo "                ";
  64.             $context["crossSelling"] = sw_get_attribute($this->env$this->source$context["item"], "crossSelling", [], "any"falsefalsefalse7);
  65.             // line 8
  66.             echo "                ";
  67.             $context["products"] = sw_get_attribute($this->env$this->source$context["item"], "products", [], "any"falsefalsefalse8);
  68.             // line 9
  69.             echo "                ";
  70.             $context["id"] = sw_get_attribute($this->env$this->source, ($context["crossSelling"] ?? null), "id", [], "any"falsefalsefalse9);
  71.             // line 10
  72.             echo "                ";
  73.             echo twig_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["crossSelling"] ?? null), "translated", [], "any"falsefalsefalse10), "name", [], "any"falsefalsefalse10), "html"nulltrue);
  74.             echo "
  75.             ";
  76.         }
  77.         $_parent $context['_parent'];
  78.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  79.         $context array_intersect_key($context$_parent) + $_parent;
  80.         // line 12
  81.         echo "        </h2>
  82.     </div>
  83. ";
  84.         
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  86.         
  87.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  88.     }
  89.     public function getTemplateName()
  90.     {
  91.         return "@ATNTheme/storefront/element/cms-element-cross-selling.html.twig";
  92.     }
  93.     public function isTraitable()
  94.     {
  95.         return false;
  96.     }
  97.     public function getDebugInfo()
  98.     {
  99.         return array (  94 => 12,  85 => 10,  82 => 9,  79 => 8,  76 => 7,  72 => 6,  68 => 4,  58 => 3,  35 => 2,);
  100.     }
  101.     public function getSourceContext()
  102.     {
  103.         return new Source("{% sw_extends '@Storefront/storefront/element/cms-element-cross-selling.html.twig' %}
  104. {% block cms_element_cross_selling_tabs_navigation %}
  105.     <div class=\"cms-element-text\">
  106.         <h2 class=\"text-uppercase text-white\">
  107.             {% for item in element.data.crossSellings.elements %}
  108.                 {% set crossSelling = item.crossSelling %}
  109.                 {% set products = item.products %}
  110.                 {% set id = crossSelling.id %}
  111.                 {{ crossSelling.translated.name }}
  112.             {% endfor %}
  113.         </h2>
  114.     </div>
  115. {% 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");
  116.     }
  117. }