var/cache/dev_h709f23ac6750a26dad7ce174fa60cb15/twig/7c/7c1a0792cde01d97a0fb89e6b45d30a3b9546833d7725d94caec1e4f5bc36bd1.php line 51

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. /* @FuerstenbergPorzellan/storefront/page/content/product-detail.html.twig */
  16. class __TwigTemplate_43ef3cddd7edf05a46c6e838b8b16364 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_content' => [$this'block_page_content'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@TrustedShopsEasyIntegrationS6/storefront/page/content/product-detail.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""@FuerstenbergPorzellan/storefront/page/content/product-detail.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""@FuerstenbergPorzellan/storefront/page/content/product-detail.html.twig"));
  41.         $this->parent $this->loadTemplate("@TrustedShopsEasyIntegrationS6/storefront/page/content/product-detail.html.twig""@FuerstenbergPorzellan/storefront/page/content/product-detail.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_base_main_inner($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""base_main_inner"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  56.         // line 4
  57.         echo "    <div class=\"container-main";
  58.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse4), "manufacturer", [], "any"falsefalsefalse4), "translated", [], "any"falsefalsefalse4), "customFields", [], "any"falsefalsefalse4), "custom_hersteller_color", [], "any"falsefalsefalse4)) {
  59.             echo " product-custom";
  60.         }
  61.         echo "\" ";
  62.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse4), "manufacturer", [], "any"falsefalsefalse4), "translated", [], "any"falsefalsefalse4), "customFields", [], "any"falsefalsefalse4), "custom_hersteller_color", [], "any"falsefalsefalse4)) {
  63.             echo "style=\"--tcolor:";
  64.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse4), "manufacturer", [], "any"falsefalsefalse4), "translated", [], "any"falsefalsefalse4), "customFields", [], "any"falsefalsefalse4), "custom_hersteller_color", [], "any"falsefalsefalse4), "html"nulltrue);
  65.             echo "\"";
  66.         }
  67.         echo "> 
  68.         ";
  69.         // line 5
  70.         $this->displayBlock('page_content'$context$blocks);
  71.         // line 8
  72.         echo "    </div>
  73. ";
  74.         
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  76.         
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  78.     }
  79.     // line 5
  80.     public function block_page_content($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  87.         // line 6
  88.         echo "            ";
  89.         $this->displayParentBlock("page_content"$context$blocks);
  90.         echo "
  91.         ";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.     }
  97.     public function getTemplateName()
  98.     {
  99.         return "@FuerstenbergPorzellan/storefront/page/content/product-detail.html.twig";
  100.     }
  101.     public function isTraitable()
  102.     {
  103.         return false;
  104.     }
  105.     public function getDebugInfo()
  106.     {
  107.         return array (  105 => 6,  95 => 5,  84 => 8,  82 => 5,  69 => 4,  59 => 3,  36 => 2,);
  108.     }
  109.     public function getSourceContext()
  110.     {
  111.         return new Source("{% sw_extends '@Storefront/storefront/page/content/product-detail.html.twig' %}
  112. {% block base_main_inner %}
  113.     <div class=\"container-main{% if page.product.manufacturer.translated.customFields.custom_hersteller_color %} product-custom{% endif %}\" {% if page.product.manufacturer.translated.customFields.custom_hersteller_color %}style=\"--tcolor:{{page.product.manufacturer.translated.customFields.custom_hersteller_color}}\"{% endif %}> 
  114.         {% block page_content %}
  115.             {{parent()}}
  116.         {% endblock %}
  117.     </div>
  118. {% endblock %}
  119. ""@FuerstenbergPorzellan/storefront/page/content/product-detail.html.twig""/var/customers/webs/fporzellan/htdocs/custom/plugins/FuerstenbergPorzellan/src/Resources/views/storefront/page/content/product-detail.html.twig");
  120.     }
  121. }