var/cache/dev_ha6cdf01c8a14124e315e8ec5e6f48dc2/twig/8d/8db9ab57d30ee6a299eead2293703c41f98392d91e9f2b91a34206ea8807501d.php line 212

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. /* @DecomTheme/storefront/base.html.twig */
  16. class __TwigTemplate_8c1383cbc36ee4356a2bfe22e474fd3e6e1a36896cc659ec6b9547ae416db23a 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_header' => [$this'block_base_header'],
  26.             'base_header_inner' => [$this'block_base_header_inner'],
  27.             'base_navigation' => [$this'block_base_navigation'],
  28.             'base_breadcrumb' => [$this'block_base_breadcrumb'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "@WeedesignImages2WebP/storefront/base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DecomTheme/storefront/base.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DecomTheme/storefront/base.html.twig"));
  43.         $this->parent $this->loadTemplate("@WeedesignImages2WebP/storefront/base.html.twig""@DecomTheme/storefront/base.html.twig"2);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 3
  51.     public function block_base_header($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  58.         // line 4
  59.         echo "    <header class=\"header-main\">
  60.         ";
  61.         // line 5
  62.         $this->displayBlock('base_header_inner'$context$blocks);
  63.         // line 8
  64.         echo "    </header>
  65.     ";
  66.         // line 10
  67.         if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-contact-phone-link") || $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-contact-email-link"))) {
  68.             // line 11
  69.             echo "        <div class=\"floating-cta\">
  70.             ";
  71.             // line 12
  72.             if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-contact-phone-link")) {
  73.                 // line 13
  74.                 echo "                <div class=\"cta-item\">   
  75.                     <p><a href=\"tel:";
  76.                 // line 14
  77.                 echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-contact-phone-link"), "html"nulltrue);
  78.                 echo "\">";
  79.                 echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-contact-phone-link"), "html"nulltrue);
  80.                 echo "</a></p>
  81.                     ";
  82.                 // line 15
  83.                 ((function () use ($context$blocks) {
  84.                     $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  85.                     $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  86.                     return $this->loadTemplate($includeTemplate ?? null"@DecomTheme/storefront/base.html.twig"15);
  87.                 })())->display(twig_array_merge($context, ["namespace" => "DecomTheme""name" => "phone-icon"]));
  88.                 // line 16
  89.                 echo "                </div>
  90.             ";
  91.             }
  92.             // line 18
  93.             echo "
  94.             ";
  95.             // line 19
  96.             if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-contact-email-link")) {
  97.                 // line 20
  98.                 echo "                <div class=\"cta-item\">   
  99.                     <p><a href=\"mailto:";
  100.                 // line 21
  101.                 echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-contact-email-link"), "html"nulltrue);
  102.                 echo "\">";
  103.                 echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context"sw-contact-email-link"), "html"nulltrue);
  104.                 echo "</a></p>
  105.                     ";
  106.                 // line 22
  107.                 ((function () use ($context$blocks) {
  108.                     $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  109.                     $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  110.                     return $this->loadTemplate($includeTemplate ?? null"@DecomTheme/storefront/base.html.twig"22);
  111.                 })())->display(twig_array_merge($context, ["namespace" => "DecomTheme""name" => "email-icon"]));
  112.                 // line 23
  113.                 echo "                </div>
  114.             ";
  115.             }
  116.             // line 25
  117.             echo "        </div>
  118.     ";
  119.         }
  120.         // line 27
  121.         echo "    
  122. ";
  123.         
  124.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  125.         
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  127.     }
  128.     // line 5
  129.     public function block_base_header_inner($context, array $blocks = [])
  130.     {
  131.         $macros $this->macros;
  132.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  133.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header_inner"));
  134.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header_inner"));
  136.         // line 6
  137.         echo "            ";
  138.         $this->loadTemplate("@DecomTheme/storefront/layout/header/header.html.twig""@DecomTheme/storefront/base.html.twig"6)->display($context);
  139.         // line 7
  140.         echo "        ";
  141.         
  142.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  143.         
  144.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  145.     }
  146.     // line 30
  147.     public function block_base_navigation($context, array $blocks = [])
  148.     {
  149.         $macros $this->macros;
  150.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  151.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation"));
  152.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  153.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation"));
  154.         // line 31
  155.         echo "    
  156. ";
  157.         
  158.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  159.         
  160.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  161.     }
  162.     // line 35
  163.     public function block_base_breadcrumb($context, array $blocks = [])
  164.     {
  165.         $macros $this->macros;
  166.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  167.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_breadcrumb"));
  168.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  169.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_breadcrumb"));
  170.         // line 36
  171.         echo "    ";
  172.         if ((=== twig_compare(($context["controllerName"] ?? null), "Product"))) {
  173.             // line 37
  174.             echo "        ";
  175.             $this->loadTemplate("@DecomTheme/storefront/layout/breadcrumb.html.twig""@DecomTheme/storefront/base.html.twig"37)->display(twig_to_array(["context" =>             // line 38
  176. ($context["context"] ?? null), "category" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 39
  177. ($context["page"] ?? null), "product", [], "any"falsefalsefalse39), "seoCategory", [], "any"falsefalsefalse39), "misc" => sw_get_attribute($this->env$this->source,             // line 40
  178. ($context["page"] ?? null), "product", [], "any"falsefalsefalse40)]));
  179.             // line 42
  180.             echo "    ";
  181.         } else {
  182.             // line 43
  183.             echo "        
  184.         ";
  185.             // line 44
  186.             $this->loadTemplate("@DecomTheme/storefront/layout/breadcrumb.html.twig""@DecomTheme/storefront/base.html.twig"44)->display(twig_to_array(["context" =>             // line 45
  187. ($context["context"] ?? null), "category" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 46
  188. ($context["page"] ?? null), "product", [], "any"falsefalsefalse46), "seoCategory", [], "any"falsefalsefalse46)]));
  189.             // line 47
  190.             echo "   
  191.     ";
  192.         }
  193.         
  194.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  195.         
  196.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  197.     }
  198.     public function getTemplateName()
  199.     {
  200.         return "@DecomTheme/storefront/base.html.twig";
  201.     }
  202.     public function isTraitable()
  203.     {
  204.         return false;
  205.     }
  206.     public function getDebugInfo()
  207.     {
  208.         return array (  222 => 47,  220 => 46,  219 => 45,  218 => 44,  215 => 43,  212 => 42,  210 => 40,  209 => 39,  208 => 38,  206 => 37,  203 => 36,  193 => 35,  182 => 31,  172 => 30,  162 => 7,  159 => 6,  149 => 5,  138 => 27,  134 => 25,  130 => 23,  122 => 22,  116 => 21,  113 => 20,  111 => 19,  108 => 18,  104 => 16,  96 => 15,  90 => 14,  87 => 13,  85 => 12,  82 => 11,  80 => 10,  76 => 8,  74 => 5,  71 => 4,  61 => 3,  38 => 2,);
  209.     }
  210.     public function getSourceContext()
  211.     {
  212.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  213. {% block base_header %}
  214.     <header class=\"header-main\">
  215.         {% block base_header_inner %}
  216.             {% sw_include '@Storefront/storefront/layout/header/header.html.twig' %}
  217.         {% endblock %}
  218.     </header>
  219.     {% if theme_config('sw-contact-phone-link') or theme_config('sw-contact-email-link')  %}
  220.         <div class=\"floating-cta\">
  221.             {% if theme_config('sw-contact-phone-link') %}
  222.                 <div class=\"cta-item\">   
  223.                     <p><a href=\"tel:{{ theme_config('sw-contact-phone-link') }}\">{{ theme_config('sw-contact-phone-link') }}</a></p>
  224.                     {% sw_icon 'phone-icon' style {'namespace': 'DecomTheme' } %}
  225.                 </div>
  226.             {% endif %}
  227.             {% if theme_config('sw-contact-email-link') %}
  228.                 <div class=\"cta-item\">   
  229.                     <p><a href=\"mailto:{{ theme_config('sw-contact-email-link') }}\">{{ theme_config('sw-contact-email-link') }}</a></p>
  230.                     {% sw_icon 'email-icon' style {'namespace': 'DecomTheme' } %}
  231.                 </div>
  232.             {% endif %}
  233.         </div>
  234.     {% endif %}
  235.     
  236. {% endblock %}
  237. {% block base_navigation %}
  238.     
  239. {% endblock %}
  240. {% block base_breadcrumb %}
  241.     {% if controllerName == 'Product' %}
  242.         {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  243.             context: context,
  244.             category: page.product.seoCategory,
  245.             misc: page.product
  246.         } only %}
  247.     {% else %}
  248.         
  249.         {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  250.             context: context,
  251.             category: page.product.seoCategory
  252.         } only %}   
  253.     {% endif %}
  254. {% endblock %}""@DecomTheme/storefront/base.html.twig""/var/customers/webs/youksakka/htdocs/custom/plugins/DecomTheme/src/Resources/views/storefront/base.html.twig");
  255.     }
  256. }