var/cache/dev_h35c9e4fa64367e5a564f83803cfdec08/twig/c2/c2af2ec60ff5d275e628678a4486caedee68e92b5a9fd799f4e2cd22e33bded0.php line 76

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. /* @Storefront/storefront/component/product/description.html.twig */
  16. class __TwigTemplate_72ca544e7842cdafaf1aa0e2229d4700 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.             'utilities_offcanvas_content' => [$this'block_utilities_offcanvas_content'],
  26.             'component_product_description_container' => [$this'block_component_product_description_container'],
  27.             'component_product_description_title' => [$this'block_component_product_description_title'],
  28.             'component_product_description_content' => [$this'block_component_product_description_content'],
  29.             'component_product_description_content_text' => [$this'block_component_product_description_content_text'],
  30.             'component_product_description_content_properties' => [$this'block_component_product_description_content_properties'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 2
  36.         return "@Storefront/storefront/utilities/offcanvas.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/component/product/description.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/component/product/description.html.twig"));
  45.         $this->parent $this->loadTemplate("@Storefront/storefront/utilities/offcanvas.html.twig""@Storefront/storefront/component/product/description.html.twig"2);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     public function block_utilities_offcanvas_content($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_content"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_content"));
  60.         // line 4
  61.         echo "    ";
  62.         $this->displayBlock('component_product_description_container'$context$blocks);
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.     }
  68.     public function block_component_product_description_container($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_description_container"));
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_description_container"));
  75.         // line 5
  76.         echo "        <div class=\"product-detail-description tab-pane-container\">
  77.             ";
  78.         // line 6
  79.         $this->displayBlock('component_product_description_title'$context$blocks);
  80.         // line 11
  81.         echo "
  82.             ";
  83.         // line 12
  84.         $this->displayBlock('component_product_description_content'$context$blocks);
  85.         // line 26
  86.         echo "        </div>
  87.     ";
  88.         
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  90.         
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  92.     }
  93.     // line 6
  94.     public function block_component_product_description_title($context, array $blocks = [])
  95.     {
  96.         $macros $this->macros;
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_description_title"));
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_description_title"));
  101.         // line 7
  102.         echo "                <div class=\"h3 product-detail-description-title\">
  103.                     ";
  104.         // line 8
  105.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.descriptionTitle"));
  106.         echo " \"";
  107.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["product"] ?? null), "translated", [], "any"falsefalsefalse8), "name", [], "any"falsefalsefalse8), "html"nulltrue);
  108.         echo "\"
  109.                 </div>
  110.             ";
  111.         
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  113.         
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  115.     }
  116.     // line 12
  117.     public function block_component_product_description_content($context, array $blocks = [])
  118.     {
  119.         $macros $this->macros;
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  121.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_description_content"));
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_description_content"));
  124.         // line 13
  125.         echo "                ";
  126.         $this->displayBlock('component_product_description_content_text'$context$blocks);
  127.         // line 19
  128.         echo "
  129.                 ";
  130.         // line 20
  131.         $this->displayBlock('component_product_description_content_properties'$context$blocks);
  132.         // line 25
  133.         echo "            ";
  134.         
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  136.         
  137.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  138.     }
  139.     // line 13
  140.     public function block_component_product_description_content_text($context, array $blocks = [])
  141.     {
  142.         $macros $this->macros;
  143.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  144.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_description_content_text"));
  145.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  146.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_description_content_text"));
  147.         // line 14
  148.         echo "                    <div class=\"product-detail-description-text\"
  149.                          itemprop=\"description\">
  150.                         ";
  151.         // line 16
  152.         echo sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["product"] ?? null), "translated", [], "any"falsefalsefalse16), "description", [], "any"falsefalsefalse16);
  153.         echo "
  154.                     </div>
  155.                 ";
  156.         
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  158.         
  159.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  160.     }
  161.     // line 20
  162.     public function block_component_product_description_content_properties($context, array $blocks = [])
  163.     {
  164.         $macros $this->macros;
  165.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_description_content_properties"));
  167.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_description_content_properties"));
  169.         // line 21
  170.         echo "                    ";
  171.         if ((twig_length_filter($this->envsw_get_attribute($this->env$this->source, ($context["product"] ?? null), "sortedProperties", [], "any"falsefalsefalse21)) > 0)) {
  172.             // line 22
  173.             echo "                        ";
  174.             $this->loadTemplate("@LDSCustom/storefront/component/product/properties.html.twig""@Storefront/storefront/component/product/description.html.twig"22)->display($context);
  175.             // line 23
  176.             echo "                    ";
  177.         }
  178.         // line 24
  179.         echo "                ";
  180.         
  181.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  182.         
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  184.     }
  185.     public function getTemplateName()
  186.     {
  187.         return "@Storefront/storefront/component/product/description.html.twig";
  188.     }
  189.     public function isTraitable()
  190.     {
  191.         return false;
  192.     }
  193.     public function getDebugInfo()
  194.     {
  195.         return array (  216 => 24,  213 => 23,  210 => 22,  207 => 21,  197 => 20,  184 => 16,  180 => 14,  170 => 13,  160 => 25,  158 => 20,  155 => 19,  152 => 13,  142 => 12,  127 => 8,  124 => 7,  114 => 6,  103 => 26,  101 => 12,  98 => 11,  96 => 6,  93 => 5,  73 => 4,  63 => 3,  40 => 2,);
  196.     }
  197.     public function getSourceContext()
  198.     {
  199.         return new Source("{% sw_extends '@Storefront/storefront/utilities/offcanvas.html.twig' %}
  200. {% block utilities_offcanvas_content %}
  201.     {% block component_product_description_container %}
  202.         <div class=\"product-detail-description tab-pane-container\">
  203.             {% block component_product_description_title %}
  204.                 <div class=\"h3 product-detail-description-title\">
  205.                     {{ \"detail.descriptionTitle\"|trans|sw_sanitize }} \"{{ product.translated.name }}\"
  206.                 </div>
  207.             {% endblock %}
  208.             {% block component_product_description_content %}
  209.                 {% block component_product_description_content_text %}
  210.                     <div class=\"product-detail-description-text\"
  211.                          itemprop=\"description\">
  212.                         {{ product.translated.description|raw }}
  213.                     </div>
  214.                 {% endblock %}
  215.                 {% block component_product_description_content_properties %}
  216.                     {% if product.sortedProperties|length > 0 %}
  217.                         {% sw_include '@Storefront/storefront/component/product/properties.html.twig' %}
  218.                     {% endif %}
  219.                 {% endblock %}
  220.             {% endblock %}
  221.         </div>
  222.     {% endblock %}
  223. {% endblock %}
  224. ""@Storefront/storefront/component/product/description.html.twig""/var/customers/webs/kew/htdocs6/vendor/shopware/storefront/Resources/views/storefront/component/product/description.html.twig");
  225.     }
  226. }