var/cache/dev_h90dfaab4b9218db9f54295f5d696836f/twig/5a/5a8b3e06e9f2d4d8ad6e3d93372a7311319f6baa09f1b215b1dbb47505de2915.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/base.html.twig */
  16. class __TwigTemplate_cb6121ece3676f0cad7394059af1b59b03080666c1a8d83a03f7aa644637d665 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_body_script' => [$this'block_base_body_script'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@SwagCustomNotification/storefront/base.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/base.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/base.html.twig"));
  40.         $this->parent $this->loadTemplate("@SwagCustomNotification/storefront/base.html.twig""@IntediaDoofinderSW6/storefront/base.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_base_body_script($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""base_body_script"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script"));
  55.         // line 4
  56.         echo "
  57.     ";
  58.         // line 5
  59.         $this->displayParentBlock("base_body_script"$context$blocks);
  60.         echo "
  61.     ";
  62.         // line 7
  63.         if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"IntediaDoofinderSW6.config.doofinderEnabled") && (=== twig_compare($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"IntediaDoofinderSW6.config.doofinderInjectionBlock"), 2)))) {
  64.             // line 8
  65.             echo "        <template data-intedia-doofinder data-intedia-doofinder-options='{ \"layerType\": \"";
  66.             echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"IntediaDoofinderSW6.config.doofinderLayer"), "html"nulltrue);
  67.             echo "\", \"engineHash\": \"";
  68.             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"falsefalsefalse8), "extensions", [], "any"falsefalsefalse8), "doofinder", [], "any"falsefalsefalse8), "hashId", [], "any"falsefalsefalse8), "html"nulltrue);
  69.             echo "\", \"installationId\": \"";
  70.             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"falsefalsefalse8), "extensions", [], "any"falsefalsefalse8), "doofinder", [], "any"falsefalsefalse8), "storeId", [], "any"falsefalsefalse8), "html"nulltrue);
  71.             echo "\", \"doofinderRecommendation\": \"";
  72.             echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"IntediaDoofinderSW6.config.doofinderRecommendation"), "html"nulltrue);
  73.             echo "\", \"csrfToken\": \"";
  74.             echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.product.add-by-number", ["mode" => "token"]);
  75.             echo "\", \"addToCartUrl\": \"";
  76.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.product.add-by-number");
  77.             echo "\", \"offCanvasUrl\": \"";
  78.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.cart.offcanvas");
  79.             echo "\" }'></template>
  80.     ";
  81.         }
  82.         // line 10
  83.         echo "
  84. ";
  85.         
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  87.         
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  89.     }
  90.     public function getTemplateName()
  91.     {
  92.         return "@IntediaDoofinderSW6/storefront/base.html.twig";
  93.     }
  94.     public function isTraitable()
  95.     {
  96.         return false;
  97.     }
  98.     public function getDebugInfo()
  99.     {
  100.         return array (  96 => 10,  78 => 8,  76 => 7,  71 => 5,  68 => 4,  58 => 3,  35 => 2,);
  101.     }
  102.     public function getSourceContext()
  103.     {
  104.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  105. {% block base_body_script %}
  106.     {{ parent() }}
  107.     {% if config('IntediaDoofinderSW6.config.doofinderEnabled') and config('IntediaDoofinderSW6.config.doofinderInjectionBlock') == 2 %}
  108.         <template data-intedia-doofinder data-intedia-doofinder-options='{ \"layerType\": \"{{ config('IntediaDoofinderSW6.config.doofinderLayer') }}\", \"engineHash\": \"{{ page.footer.extensions.doofinder.hashId }}\", \"installationId\": \"{{ page.footer.extensions.doofinder.storeId }}\", \"doofinderRecommendation\": \"{{ config('IntediaDoofinderSW6.config.doofinderRecommendation') }}\", \"csrfToken\": \"{{ sw_csrf('frontend.checkout.product.add-by-number', {\"mode\": \"token\"}) }}\", \"addToCartUrl\": \"{{ path('frontend.checkout.product.add-by-number') }}\", \"offCanvasUrl\": \"{{ path('frontend.cart.offcanvas') }}\" }'></template>
  109.     {% endif %}
  110. {% endblock %}""@IntediaDoofinderSW6/storefront/base.html.twig""/home/fasflpog/shopware/custom/plugins/IntediaDoofinderSW6/src/Resources/views/storefront/base.html.twig");
  111.     }
  112. }