var/cache/dev_hc896b0aecebc6aae6bec469c82cd525f/twig/67/67e9005744b3fa4ec6781d1a4beb15b083f55d7d39daf58cb8ba220c51b44601.php line 41

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. /* @EfbStorefront/storefront/page/product-detail/index.html.twig */
  16. class __TwigTemplate_392b7f222c2ea0976b380a03a99e46ba 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_product_detail_media' => [$this'block_page_product_detail_media'],
  26.             'page_product_detail_tabs' => [$this'block_page_product_detail_tabs'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@IntediaDoofinderSW6/storefront/page/product-detail/index.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EfbStorefront/storefront/page/product-detail/index.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EfbStorefront/storefront/page/product-detail/index.html.twig"));
  41.         $this->parent $this->loadTemplate("@IntediaDoofinderSW6/storefront/page/product-detail/index.html.twig""@EfbStorefront/storefront/page/product-detail/index.html.twig"2);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_page_product_detail_media($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_media"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_media"));
  56.         // line 4
  57.         echo "    <div class=\"col-lg-7 product-detail-media\">
  58.         ";
  59.         // line 5
  60.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse5), "media", [], "any"falsefalsefalse5)) {
  61.             // line 6
  62.             echo "            ";
  63.             $this->loadTemplate("@ZeobvAnimatedExperience/storefront/element/cms-element-image-gallery.html.twig""@EfbStorefront/storefront/page/product-detail/index.html.twig"6)->display(twig_array_merge($context, ["mediaItems" =>             // line 7
  64. ($context["mediaItems"] ?? null), "zoom" => true"zoomModal" => true"displayMode" => "contain""gutter" => 5"minHeight" => "430px""navigationArrows" => "inside""navigationDots" => false"galleryPosition" => "left""isProduct" => true"fallbackImageTitle" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 17
  65. ($context["page"] ?? null), "product", [], "any"falsefalsefalse17), "translated", [], "any"falsefalsefalse17), "name", [], "any"falsefalsefalse17), "startIndexThumbnails" => (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 18
  66. ($context["page"] ?? null), "product", [], "any"falsefalsefalse18), "cover", [], "any"falsefalsefalse18), "position", [], "any"falsefalsefalse18) + 1), "startIndexSlider" => (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 19
  67. ($context["page"] ?? null), "product", [], "any"falsefalsefalse19), "cover", [], "any"falsefalsefalse19), "position", [], "any"falsefalsefalse19) + 1)]));
  68.             // line 21
  69.             echo "        ";
  70.         }
  71.         // line 22
  72.         echo "
  73.         ";
  74.         // line 23
  75.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse23), "extensions", [], "any"falsefalsefalse23), "badges", [], "any"falsefalsefalse23)) {
  76.             // line 24
  77.             echo "            <div class=\"product-detail-special-badges\">
  78.                 ";
  79.             // line 25
  80.             $context['_parent'] = $context;
  81.             $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["page"] ?? null), "product", [], "any"falsefalsefalse25), "extensions", [], "any"falsefalsefalse25), "badges", [], "any"falsefalsefalse25));
  82.             foreach ($context['_seq'] as $context["_key"] => $context["badge"]) {
  83.                 // line 26
  84.                 echo "                    ";
  85.                 $context["badge"] = sw_get_attribute($this->env$this->source$context["badge"], "media", [], "any"falsefalsefalse26);
  86.                 // line 27
  87.                 echo "                    <img
  88.                         src=\"";
  89.                 // line 28
  90.                 echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source$context["badge"], "url", [], "any"falsefalsefalse28), "html"nulltrue);
  91.                 echo "\"
  92.                         alt=\"";
  93.                 // line 29
  94.                 echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source$context["badge"], "translated", [], "any"falsefalsefalse29), "alt", [], "any"falsefalsefalse29), "html"nulltrue);
  95.                 echo "\"
  96.                         title=\"";
  97.                 // line 30
  98.                 echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source$context["badge"], "transladed", [], "any"falsefalsefalse30), "title", [], "any"falsefalsefalse30), "html"nulltrue);
  99.                 echo "\"
  100.                         class=\"product-detail-special-badge\"
  101.                     />
  102.                 ";
  103.             }
  104.             $_parent $context['_parent'];
  105.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['badge'], $context['_parent'], $context['loop']);
  106.             $context array_intersect_key($context$_parent) + $_parent;
  107.             // line 34
  108.             echo "            </div>
  109.         ";
  110.         }
  111.         // line 36
  112.         echo "    </div>
  113. ";
  114.         
  115.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  116.         
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  118.     }
  119.     // line 39
  120.     public function block_page_product_detail_tabs($context, array $blocks = [])
  121.     {
  122.         $macros $this->macros;
  123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_tabs"));
  125.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  126.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_tabs"));
  127.         // line 40
  128.         echo "    <div class=\"product-detail-tabs\">
  129.         ";
  130.         // line 41
  131.         $this->loadTemplate("@UandiEfbDownloadCenter/storefront/page/product-detail/tabs/tabs.html.twig""@EfbStorefront/storefront/page/product-detail/index.html.twig"41)->display($context);
  132.         // line 42
  133.         echo "    </div>
  134. ";
  135.         
  136.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  137.         
  138.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  139.     }
  140.     public function getTemplateName()
  141.     {
  142.         return "@EfbStorefront/storefront/page/product-detail/index.html.twig";
  143.     }
  144.     public function isTraitable()
  145.     {
  146.         return false;
  147.     }
  148.     public function getDebugInfo()
  149.     {
  150.         return array (  150 => 42,  148 => 41,  145 => 40,  135 => 39,  124 => 36,  120 => 34,  110 => 30,  106 => 29,  102 => 28,  99 => 27,  96 => 26,  92 => 25,  89 => 24,  87 => 23,  84 => 22,  81 => 21,  79 => 19,  78 => 18,  77 => 17,  76 => 7,  74 => 6,  72 => 5,  69 => 4,  59 => 3,  36 => 2,);
  151.     }
  152.     public function getSourceContext()
  153.     {
  154.         return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
  155. {% block page_product_detail_media %}
  156.     <div class=\"col-lg-7 product-detail-media\">
  157.         {% if page.product.media %}
  158.             {% sw_include '@Storefront/storefront/element/cms-element-image-gallery.html.twig' with {
  159.                 'mediaItems': mediaItems,
  160.                 'zoom': true,
  161.                 'zoomModal': true,
  162.                 'displayMode': 'contain',
  163.                 'gutter': 5,
  164.                 'minHeight': '430px',
  165.                 'navigationArrows': 'inside',
  166.                 'navigationDots': false,
  167.                 'galleryPosition': 'left',
  168.                 'isProduct': true,
  169.                 'fallbackImageTitle': page.product.translated.name,
  170.                 'startIndexThumbnails': page.product.cover.position + 1,
  171.                 'startIndexSlider': page.product.cover.position + 1
  172.             } %}
  173.         {% endif %}
  174.         {% if page.product.extensions.badges %}
  175.             <div class=\"product-detail-special-badges\">
  176.                 {% for badge in page.product.extensions.badges %}
  177.                     {% set badge = badge.media %}
  178.                     <img
  179.                         src=\"{{ badge.url }}\"
  180.                         alt=\"{{ badge.translated.alt }}\"
  181.                         title=\"{{ badge.transladed.title }}\"
  182.                         class=\"product-detail-special-badge\"
  183.                     />
  184.                 {% endfor %}
  185.             </div>
  186.         {% endif %}
  187.     </div>
  188. {% endblock %}
  189. {% block page_product_detail_tabs %}
  190.     <div class=\"product-detail-tabs\">
  191.         {% sw_include '@EfbStorefront/storefront/page/product-detail/tabs/tabs.html.twig' %}
  192.     </div>
  193. {% endblock %}
  194. ""@EfbStorefront/storefront/page/product-detail/index.html.twig""/var/www/share/efb-elektronik.dev.mc.emzcustomers.de/shopware6/custom/static-plugins/EfbStorefront/Resources/views/storefront/page/product-detail/index.html.twig");
  195.     }
  196. }