var/cache/dev_h61dab171fcb3dd073fc68bfbeb4d9256/twig/80/80347acf594ff08c4707100c6215a516dd1d74d14bc2b9ed7a989c0cdb685470.php line 52

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. /* @BettenABC/storefront/page/product-detail/index.html.twig */
  16. class __TwigTemplate_2dffa5e6b8d0bae3ad3ec58bfa157628 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.             'base_main_inner' => [$this'block_base_main_inner'],
  26.             'page_product_detail_breadcrumb' => [$this'block_page_product_detail_breadcrumb'],
  27.             'page_product_detail_media' => [$this'block_page_product_detail_media'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 2
  33.         return "@BilobaAdGoogleGtagsjs/storefront/page/product-detail/index.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BettenABC/storefront/page/product-detail/index.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BettenABC/storefront/page/product-detail/index.html.twig"));
  42.         $this->parent $this->loadTemplate("@BilobaAdGoogleGtagsjs/storefront/page/product-detail/index.html.twig""@BettenABC/storefront/page/product-detail/index.html.twig"2);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 11
  50.     public function block_base_main_inner($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  57.         // line 12
  58.         echo "    ";
  59.         $this->displayBlock('page_product_detail_breadcrumb'$context$blocks);
  60.         // line 17
  61.         echo "
  62.     <div class=\"container container-product-detail\">
  63.         ";
  64.         // line 19
  65.         $this->displayBlock("base_main_container"$context$blocks);
  66.         echo "
  67.     </div>
  68. ";
  69.         
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71.         
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73.     }
  74.     // line 12
  75.     public function block_page_product_detail_breadcrumb($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_breadcrumb"));
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_breadcrumb"));
  82.         // line 13
  83.         echo "        <div class=\"container breadcrumb-container\">
  84.             ";
  85.         // line 14
  86.         $this->loadTemplate("@Storefront/storefront/page/content/index.html.twig""@BettenABC/storefront/page/product-detail/index.html.twig"14)->displayBlock("cms_breadcrumb"$context);
  87.         echo "
  88.         </div>
  89.     ";
  90.         
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  92.         
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  94.     }
  95.     // line 23
  96.     public function block_page_product_detail_media($context, array $blocks = [])
  97.     {
  98.         $macros $this->macros;
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_media"));
  101.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_media"));
  103.         // line 24
  104.         echo "    <div class=\"col-lg-7 product-detail-media\">
  105.         ";
  106.         // line 25
  107.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse25), "media", [], "any"falsefalsefalse25)) {
  108.             // line 26
  109.             echo "            ";
  110.             $this->loadTemplate("@BettenABC/storefront/element/cms-element-image-gallery.html.twig""@BettenABC/storefront/page/product-detail/index.html.twig"26)->display(twig_array_merge($context, ["mediaItems" =>             // line 27
  111. ($context["mediaItems"] ?? null), "zoom" => true"zoomModal" => true"displayMode" => "contain""gutter" => 5"minHeight" => "270px""navigationArrows" => "inside""navigationDots" => "inside""galleryPosition" => "none""isProduct" => true"fallbackImageTitle" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 37
  112. ($context["page"] ?? null), "product", [], "any"falsefalsefalse37), "translated", [], "any"falsefalsefalse37), "name", [], "any"falsefalsefalse37), "startIndexThumbnails" => (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 38
  113. ($context["page"] ?? null), "product", [], "any"falsefalsefalse38), "cover", [], "any"falsefalsefalse38), "position", [], "any"falsefalsefalse38) + 1), "startIndexSlider" => (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 39
  114. ($context["page"] ?? null), "product", [], "any"falsefalsefalse39), "cover", [], "any"falsefalsefalse39), "position", [], "any"falsefalsefalse39) + 1), "keepAspectRatioOnZoom" => false"slideBy" => 1"responsive" => ["minHeight" => "430px"], "thumbnailSlider" => ["enabled" => true"gutter" => 20"rewind" => true"axis" => "horizontal""items" => 4"slideBy" => 1"controls" => false"responsive" => ["xs" => ["enabled" => true"gutter" => 6"rewind" => true"axis" => "horizontal""items" => 3"controls" => false], "sm" => ["enabled" => true"gutter" => 16"rewind" => true"axis" => "horizontal""items" => 4"controls" => false], "md" => ["gutter" => 16"rewind" => true"axis" => "horizontal""items" => 4"controls" => false], "lg" => ["gutter" => 20"rewind" => true"axis" => "horizontal""items" => 4"controls" => false], "xl" => ["gutter" => 20"rewind" => true"axis" => "horizontal""items" => 4"controls" => false]]]]));
  115.             // line 94
  116.             echo "        ";
  117.         }
  118.         // line 95
  119.         echo "    </div>
  120. ";
  121.         
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  123.         
  124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  125.     }
  126.     public function getTemplateName()
  127.     {
  128.         return "@BettenABC/storefront/page/product-detail/index.html.twig";
  129.     }
  130.     public function isTraitable()
  131.     {
  132.         return false;
  133.     }
  134.     public function getDebugInfo()
  135.     {
  136.         return array (  141 => 95,  138 => 94,  136 => 39,  135 => 38,  134 => 37,  133 => 27,  131 => 26,  129 => 25,  126 => 24,  116 => 23,  103 => 14,  100 => 13,  90 => 12,  77 => 19,  73 => 17,  70 => 12,  60 => 11,  37 => 2,);
  137.     }
  138.     public function getSourceContext()
  139.     {
  140.         return new Source("{#
  141. # Project:      www.betten-abc.de
  142. # Company:      arboro GmbH
  143. # Created by:   Daniel Geike
  144. # Created on:   10.05.22
  145. # Description:
  146. #}
  147. {% sw_extends \"@Storefront/storefront/page/product-detail/index.html.twig\" %}
  148. {% block base_main_inner %}
  149.     {% block page_product_detail_breadcrumb %}
  150.         <div class=\"container breadcrumb-container\">
  151.             {{ block(\"cms_breadcrumb\", \"@Storefront/storefront/page/content/index.html.twig\") }}
  152.         </div>
  153.     {% endblock %}
  154.     <div class=\"container container-product-detail\">
  155.         {{ block(\"base_main_container\") }}
  156.     </div>
  157. {% endblock %}
  158. {% block page_product_detail_media %}
  159.     <div class=\"col-lg-7 product-detail-media\">
  160.         {% if page.product.media %}
  161.             {% sw_include '@Storefront/storefront/element/cms-element-image-gallery.html.twig' with {
  162.                 'mediaItems': mediaItems,
  163.                 'zoom': true,
  164.                 'zoomModal': true,
  165.                 'displayMode': 'contain',
  166.                 'gutter': 5,
  167.                 'minHeight': '270px',
  168.                 'navigationArrows': 'inside',
  169.                 'navigationDots': 'inside',
  170.                 'galleryPosition': 'none',
  171.                 'isProduct': true,
  172.                 'fallbackImageTitle': page.product.translated.name,
  173.                 'startIndexThumbnails': page.product.cover.position + 1,
  174.                 'startIndexSlider': page.product.cover.position + 1,
  175.                 'keepAspectRatioOnZoom': false,
  176.                 'slideBy': 1,
  177.                 'responsive': {
  178.                     'minHeight': '430px',
  179.                 },
  180.                 'thumbnailSlider': {
  181.                     enabled: true,
  182.                     gutter: 20,
  183.                     rewind: true,
  184.                     axis: \"horizontal\",
  185.                     items: 4,
  186.                     slideBy: 1,
  187.                     controls: false,
  188.                     responsive: {
  189.                         \"xs\": {
  190.                             enabled: true,
  191.                             gutter: 6,
  192.                             rewind: true,
  193.                             axis: \"horizontal\",
  194.                             items: 3,
  195.                             controls: false
  196.                         },
  197.                         \"sm\": {
  198.                             enabled: true,
  199.                             gutter: 16,
  200.                             rewind: true,
  201.                             axis: \"horizontal\",
  202.                             items: 4,
  203.                             controls: false
  204.                         },
  205.                         \"md\": {
  206.                             gutter: 16,
  207.                             rewind: true,
  208.                             axis: \"horizontal\",
  209.                             items: 4,
  210.                             controls: false
  211.                         },
  212.                         \"lg\": {
  213.                             gutter: 20,
  214.                             rewind: true,
  215.                             axis: \"horizontal\",
  216.                             items: 4,
  217.                             controls: false
  218.                         },
  219.                         \"xl\": {
  220.                             gutter: 20,
  221.                             rewind: true,
  222.                             axis: \"horizontal\",
  223.                             items: 4,
  224.                             controls: false
  225.                         }
  226.                     }
  227.                 }
  228.             } %}
  229.         {% endif %}
  230.     </div>
  231. {% endblock %}""@BettenABC/storefront/page/product-detail/index.html.twig""/usr/www/users/betten/betten-abc-alt-und-tot.de/custom/plugins/BettenABC/src/Resources/views/storefront/page/product-detail/index.html.twig");
  232.     }
  233. }