var/cache/dev_h90dfaab4b9218db9f54295f5d696836f/twig/b4/b437f49071ae56783e65b2077cd603b5dc62bedfd01c3c523831bd36c24ddc96.php line 40

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. /* @IntediaDoofinderSW6/storefront/page/product-detail/index.html.twig */
  16. class __TwigTemplate_c0deae60c4e75563992d066b8c6fe78820be1db2919934e72b86b4040f82a4bb 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_cross_selling' => [$this'block_page_product_detail_cross_selling'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@Storefront/storefront/page/product-detail/index.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@IntediaDoofinderSW6/storefront/page/product-detail/index.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@IntediaDoofinderSW6/storefront/page/product-detail/index.html.twig"));
  40.         $this->parent $this->loadTemplate("@Storefront/storefront/page/product-detail/index.html.twig""@IntediaDoofinderSW6/storefront/page/product-detail/index.html.twig"2);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_page_product_detail_cross_selling($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_cross_selling"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_cross_selling"));
  55.         // line 4
  56.         echo "
  57.     ";
  58.         // line 5
  59.         if ((($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"IntediaDoofinderSW6.config.doofinderEnabled") && $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"IntediaDoofinderSW6.config.doofinderRecommendation")) && sw_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), "footer", [], "any"falsefalsefalse5), "extensions", [], "any"falsefalsefalse5), "doofinder", [], "any"falsefalsefalse5), "hashId", [], "any"falsefalsefalse5))) {
  60.             // line 6
  61.             echo "        <df-recommendations hashid=\"";
  62.             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->source, ($context["page"] ?? null), "footer", [], "any"falsefalsefalse6), "extensions", [], "any"falsefalsefalse6), "doofinder", [], "any"falsefalsefalse6), "hashId", [], "any"falsefalsefalse6), "html"nulltrue);
  63.             echo "\"></df-recommendations>
  64.     ";
  65.         }
  66.         // line 8
  67.         echo "
  68.     ";
  69.         // line 9
  70.         $this->displayParentBlock("page_product_detail_cross_selling"$context$blocks);
  71.         echo "
  72. ";
  73.         
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  75.         
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  77.     }
  78.     public function getTemplateName()
  79.     {
  80.         return "@IntediaDoofinderSW6/storefront/page/product-detail/index.html.twig";
  81.     }
  82.     public function isTraitable()
  83.     {
  84.         return false;
  85.     }
  86.     public function getDebugInfo()
  87.     {
  88.         return array (  82 => 9,  79 => 8,  73 => 6,  71 => 5,  68 => 4,  58 => 3,  35 => 2,);
  89.     }
  90.     public function getSourceContext()
  91.     {
  92.         return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
  93. {% block page_product_detail_cross_selling %}
  94.     {% if config('IntediaDoofinderSW6.config.doofinderEnabled') and config('IntediaDoofinderSW6.config.doofinderRecommendation') and page.footer.extensions.doofinder.hashId %}
  95.         <df-recommendations hashid=\"{{ page.footer.extensions.doofinder.hashId }}\"></df-recommendations>
  96.     {% endif %}
  97.     {{ parent() }}
  98. {% endblock %}""@IntediaDoofinderSW6/storefront/page/product-detail/index.html.twig""/home/fasflpog/shopware/custom/plugins/IntediaDoofinderSW6/src/Resources/views/storefront/page/product-detail/index.html.twig");
  99.     }
  100. }