var/cache/dev_h3c3440ec00b8b6b995f16213b12b8432/twig/c1/c1964ed6391762b4a7b4bd04d5660b0a0df029e89ec8945dfa2595d5fd756453.php line 44

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. /* @NdFashion/storefront/page/product-detail/meta.html.twig */
  16. class __TwigTemplate_ab9ee74b59e40cd902dc42acfeb2f22c 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.             'layout_head_meta_tags_description' => [$this'block_layout_head_meta_tags_description'],
  26.             'layout_head_meta_tags_opengraph' => [$this'block_layout_head_meta_tags_opengraph'],
  27.             'layout_head_title' => [$this'block_layout_head_title'],
  28.             'layout_head_title_inner' => [$this'block_layout_head_title_inner'],
  29.             'layout_head_canonical' => [$this'block_layout_head_canonical'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 2
  35.         return "@Storefront/storefront/page/product-detail/meta.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@NdFashion/storefront/page/product-detail/meta.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@NdFashion/storefront/page/product-detail/meta.html.twig"));
  44.         // line 5
  45.         $context["colors"] = 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"falsefalsefalse5), "properties", [], "any"falsefalsefalse5), "filterByGroupId", [=> "269c7e40a54a462e884edb004c5f7bc8"], "method"falsefalsefalse5), "first", [], "any"falsefalsefalse5), "name", [], "any"falsefalsefalse5);
  46.         // line 6
  47.         $context["colors2"] = 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"falsefalsefalse6), "properties", [], "any"falsefalsefalse6), "filterByGroupId", [=> "70dda5dfb8053dc6d1c492574bce9bfd"], "method"falsefalsefalse6), "first", [], "any"falsefalsefalse6), "name", [], "any"falsefalsefalse6);
  48.         // line 2
  49.         $this->parent $this->loadTemplate("@Storefront/storefront/page/product-detail/meta.html.twig""@NdFashion/storefront/page/product-detail/meta.html.twig"2);
  50.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  51.         
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  53.         
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  55.     }
  56.     // line 8
  57.     public function block_layout_head_meta_tags_description($context, array $blocks = [])
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_description"));
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_description"));
  64.         // line 9
  65.         echo "\t\t";
  66.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse9), "name", [], "any"falsefalsefalse9), "html"nulltrue);
  67.         echo " ✔Meer dan 200 merken online ✔Ontvang spaarpunten ✔Gratis verzending v.a. €50 ✔Gratis Personal Shopper ✔Shop voor het hele gezin
  68. ";
  69.         
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71.         
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73.     }
  74.     // line 11
  75.     public function block_layout_head_meta_tags_opengraph($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_opengraph"));
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_opengraph"));
  82.         // line 12
  83.         echo "\t<meta property=\"og:type\"
  84. \t\t  content=\"product\"/>
  85. \t<meta property=\"og:site_name\"
  86. \t\t  content=\"";
  87.         // line 15
  88.         echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"core.basicInformation.shopName"), "html"nulltrue);
  89.         echo "\"/>
  90. \t<meta property=\"og:url\"
  91. \t\t  content=\"";
  92.         // line 17
  93.         echo sw_escape_filter($this->env$this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.detail.page", ["productId" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse17), "id", [], "any"falsefalsefalse17)]), "html"nulltrue);
  94.         echo "\"/>
  95. \t<meta property=\"og:title\"
  96. \t\t  content=\"";
  97.         // line 19
  98.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse19), "name", [], "any"falsefalsefalse19), "html"nulltrue);
  99.         echo " ";
  100.         echo sw_escape_filter($this->envtwig_capitalize_string_filter($this->env, ($context["colors"] ?? null)), "html"nulltrue);
  101.         echo sw_escape_filter($this->envtwig_capitalize_string_filter($this->env, ($context["colors2"] ?? null)), "html"nulltrue);
  102.         echo " | ";
  103.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.product.shopName"));
  104.         echo "\"/>
  105. \t<meta property=\"og:description\"
  106. \t\t  content=\"";
  107.         // line 22
  108.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse22), "name", [], "any"falsefalsefalse22), "html"nulltrue);
  109.         echo " ✔Meer dan 200 merken online ✔Ontvang spaarpunten ✔Gratis verzending v.a. €50 ✔Gratis Personal Shopper ✔Shop voor het hele gezin\"/>
  110. \t<meta property=\"og:image\"
  111. \t\t  content=\"";
  112.         // line 24
  113.         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), "product", [], "any"falsefalsefalse24), "cover", [], "any"falsefalsefalse24), "media", [], "any"falsefalsefalse24), "url", [], "any"falsefalsefalse24), "html"nulltrue);
  114.         echo "\"/>
  115. \t";
  116.         // line 26
  117.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse26), "manufacturer", [], "any"falsefalsefalse26)) {
  118.             // line 27
  119.             echo "\t\t<meta property=\"product:brand\"
  120. \t\t\t  content=\"";
  121.             // line 28
  122.             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), "product", [], "any"falsefalsefalse28), "manufacturer", [], "any"falsefalsefalse28), "translated", [], "any"falsefalsefalse28), "name", [], "any"falsefalsefalse28), "html"nulltrue);
  123.             echo "\"/>
  124. \t";
  125.         }
  126.         // line 30
  127.         echo "
  128. \t";
  129.         // line 31
  130.         $context["metaPrice"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse31), "calculatedPrice", [], "any"falsefalsefalse31);
  131.         // line 32
  132.         echo "\t";
  133.         if ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse32), "calculatedPrices", [], "any"falsefalsefalse32), "count", [], "any"falsefalsefalse32) > 0)) {
  134.             // line 33
  135.             echo "\t\t";
  136.             $context["metaPrice"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse33), "calculatedPrices", [], "any"falsefalsefalse33), "last", [], "any"falsefalsefalse33);
  137.             // line 34
  138.             echo "\t";
  139.         }
  140.         // line 35
  141.         echo "\t<meta property=\"product:price:amount\"
  142. \t\t  content=\"";
  143.         // line 36
  144.         echo sw_escape_filter($this->envtwig_round(sw_get_attribute($this->env$this->source, ($context["metaPrice"] ?? null), "unitPrice", [], "any"falsefalsefalse36), sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "currency", [], "any"falsefalsefalse36), "itemRounding", [], "any"falsefalsefalse36), "decimals", [], "any"falsefalsefalse36)), "html"nulltrue);
  145.         echo "\"/>
  146. \t<meta property=\"product:price:currency\"
  147. \t\t  content=\"";
  148.         // line 38
  149.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "currency", [], "any"falsefalsefalse38), "isoCode", [], "any"falsefalsefalse38), "html"nulltrue);
  150.         echo "\"/>
  151. \t<meta property=\"product:product_link\"
  152. \t\t  content=\"";
  153.         // line 40
  154.         echo sw_escape_filter($this->env$this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.detail.page", ["productId" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse40), "id", [], "any"falsefalsefalse40)]), "html"nulltrue);
  155.         echo "\"/>
  156. \t<meta name=\"twitter:card\"
  157. \t\t  content=\"product\"/>
  158. \t<meta name=\"twitter:site\"
  159. \t\t  content=\"";
  160.         // line 45
  161.         echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"core.basicInformation.shopName"), "html"nulltrue);
  162.         echo "\"/>
  163. \t<meta name=\"twitter:title\"
  164. \t\t  content=\"";
  165.         // line 47
  166.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse47), "manufacturer", [], "any"falsefalsefalse47), "name", [], "any"falsefalsefalse47), "html"nulltrue);
  167.         echo " ";
  168.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse47), "name", [], "any"falsefalsefalse47), "html"nulltrue);
  169.         echo " ";
  170.         echo sw_escape_filter($this->envtwig_capitalize_string_filter($this->env, ($context["colors"] ?? null)), "html"nulltrue);
  171.         echo sw_escape_filter($this->envtwig_capitalize_string_filter($this->env, ($context["colors2"] ?? null)), "html"nulltrue);
  172.         echo " ";
  173.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.product.shopName"));
  174.         echo "\"/>
  175. \t<meta name=\"twitter:description\"
  176. \t\t  content=\"";
  177.         // line 49
  178.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse49), "name", [], "any"falsefalsefalse49), "html"nulltrue);
  179.         echo " ✔Meer dan 200 merken online ✔Ontvang spaarpunten ✔Gratis verzending v.a. €50 ✔Gratis Personal Shopper ✔Shop voor het hele gezin\"/>
  180. \t<meta name=\"twitter:image\"
  181. \t\t  content=\"";
  182.         // line 51
  183.         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), "product", [], "any"falsefalsefalse51), "cover", [], "any"falsefalsefalse51), "media", [], "any"falsefalsefalse51), "url", [], "any"falsefalsefalse51), "html"nulltrue);
  184.         echo "\"/>
  185. ";
  186.         
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  188.         
  189.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  190.     }
  191.     // line 54
  192.     public function block_layout_head_title($context, array $blocks = [])
  193.     {
  194.         $macros $this->macros;
  195.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_title"));
  197.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  198.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_title"));
  199.         // line 55
  200.         echo "\t<title itemprop=\"name\">
  201. \t\t";
  202.         // line 56
  203.         $this->displayBlock('layout_head_title_inner'$context$blocks);
  204.         // line 59
  205.         echo "\t</title>
  206. ";
  207.         
  208.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  209.         
  210.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  211.     }
  212.     // line 56
  213.     public function block_layout_head_title_inner($context, array $blocks = [])
  214.     {
  215.         $macros $this->macros;
  216.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  217.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_title_inner"));
  218.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  219.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_title_inner"));
  220.         // line 57
  221.         echo "\t\t\t";
  222.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse57), "manufacturer", [], "any"falsefalsefalse57), "name", [], "any"falsefalsefalse57), "html"nulltrue);
  223.         echo " ";
  224.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse57), "name", [], "any"falsefalsefalse57), "html"nulltrue);
  225.         echo " ";
  226.         echo sw_escape_filter($this->envtwig_capitalize_string_filter($this->env, ($context["colors"] ?? null)), "html"nulltrue);
  227.         echo sw_escape_filter($this->envtwig_capitalize_string_filter($this->env, ($context["colors2"] ?? null)), "html"nulltrue);
  228.         echo " ";
  229.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pages.product.shopName"));
  230.         echo "
  231. \t\t";
  232.         
  233.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  234.         
  235.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  236.     }
  237.     // line 63
  238.     public function block_layout_head_canonical($context, array $blocks = [])
  239.     {
  240.         $macros $this->macros;
  241.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  242.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_canonical"));
  243.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  244.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_canonical"));
  245.         // line 64
  246.         echo "\t";
  247.         if ( !(null === sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse64), "parentId", [], "any"falsefalsefalse64))) {
  248.             // line 65
  249.             echo "\t\t";
  250.             $context["canonicalUrl"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse65), "parentId", [], "any"falsefalsefalse65);
  251.             // line 66
  252.             echo "\t";
  253.         } else {
  254.             // line 67
  255.             echo "\t\t";
  256.             $context["canonicalUrl"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse67), "id", [], "any"falsefalsefalse67);
  257.             // line 68
  258.             echo "\t";
  259.         }
  260.         // line 69
  261.         echo "
  262. \t";
  263.         // line 70
  264.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse70), "canonicalProductId", [], "any"falsefalsefalse70)) {
  265.             // line 71
  266.             echo "\t\t";
  267.             $context["canonicalUrl"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse71), "canonicalProductId", [], "any"falsefalsefalse71);
  268.             // line 72
  269.             echo "\t";
  270.         }
  271.         // line 73
  272.         echo "
  273. \t<link rel=\"canonical\" href=\"";
  274.         // line 74
  275.         echo sw_escape_filter($this->env$this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.detail.page", ["productId" => ($context["canonicalUrl"] ?? null)]), "html"nulltrue);
  276.         echo "\"/>
  277. ";
  278.         
  279.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  280.         
  281.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  282.     }
  283.     public function getTemplateName()
  284.     {
  285.         return "@NdFashion/storefront/page/product-detail/meta.html.twig";
  286.     }
  287.     public function isTraitable()
  288.     {
  289.         return false;
  290.     }
  291.     public function getDebugInfo()
  292.     {
  293.         return array (  310 => 74,  307 => 73,  304 => 72,  301 => 71,  299 => 70,  296 => 69,  293 => 68,  290 => 67,  287 => 66,  284 => 65,  281 => 64,  271 => 63,  251 => 57,  241 => 56,  230 => 59,  228 => 56,  225 => 55,  215 => 54,  203 => 51,  198 => 49,  186 => 47,  181 => 45,  173 => 40,  168 => 38,  163 => 36,  160 => 35,  157 => 34,  154 => 33,  151 => 32,  149 => 31,  146 => 30,  141 => 28,  138 => 27,  136 => 26,  131 => 24,  126 => 22,  115 => 19,  110 => 17,  105 => 15,  100 => 12,  90 => 11,  77 => 9,  67 => 8,  56 => 2,  54 => 6,  52 => 5,  39 => 2,);
  294.     }
  295.     public function getSourceContext()
  296.     {
  297.         return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/meta.html.twig' %}
  298. {# TODO @Mick please check this entire file and compare it with COEF. See what's global and add specific overrides into the NdVoorwindenTHeme :-) #}
  299. {% set colors = page.product.properties.filterByGroupId(\"269c7e40a54a462e884edb004c5f7bc8\").first.name %}
  300. {% set colors2 = page.product.properties.filterByGroupId(\"70dda5dfb8053dc6d1c492574bce9bfd\").first.name %}
  301. {% block layout_head_meta_tags_description %}
  302. \t\t{{ page.product.name }} ✔Meer dan 200 merken online ✔Ontvang spaarpunten ✔Gratis verzending v.a. €50 ✔Gratis Personal Shopper ✔Shop voor het hele gezin
  303. {% endblock %}
  304. {% block layout_head_meta_tags_opengraph %}
  305. \t<meta property=\"og:type\"
  306. \t\t  content=\"product\"/>
  307. \t<meta property=\"og:site_name\"
  308. \t\t  content=\"{{ config('core.basicInformation.shopName') }}\"/>
  309. \t<meta property=\"og:url\"
  310. \t\t  content=\"{{ seoUrl('frontend.detail.page', { productId: page.product.id }) }}\"/>
  311. \t<meta property=\"og:title\"
  312. \t\t  content=\"{{ page.product.name }} {{ colors|capitalize }}{{ colors2|capitalize }} | {{ \"pages.product.shopName\"|trans|sw_sanitize }}\"/>
  313. \t<meta property=\"og:description\"
  314. \t\t  content=\"{{ page.product.name }} ✔Meer dan 200 merken online ✔Ontvang spaarpunten ✔Gratis verzending v.a. €50 ✔Gratis Personal Shopper ✔Shop voor het hele gezin\"/>
  315. \t<meta property=\"og:image\"
  316. \t\t  content=\"{{ page.product.cover.media.url }}\"/>
  317. \t{% if page.product.manufacturer %}
  318. \t\t<meta property=\"product:brand\"
  319. \t\t\t  content=\"{{ page.product.manufacturer.translated.name }}\"/>
  320. \t{% endif %}
  321. \t{% set metaPrice = page.product.calculatedPrice %}
  322. \t{% if page.product.calculatedPrices.count > 0 %}
  323. \t\t{% set metaPrice = page.product.calculatedPrices.last %}
  324. \t{% endif %}
  325. \t<meta property=\"product:price:amount\"
  326. \t\t  content=\"{{ metaPrice.unitPrice|round(context.currency.itemRounding.decimals) }}\"/>
  327. \t<meta property=\"product:price:currency\"
  328. \t\t  content=\"{{ context.currency.isoCode }}\"/>
  329. \t<meta property=\"product:product_link\"
  330. \t\t  content=\"{{ seoUrl('frontend.detail.page', { productId: page.product.id }) }}\"/>
  331. \t<meta name=\"twitter:card\"
  332. \t\t  content=\"product\"/>
  333. \t<meta name=\"twitter:site\"
  334. \t\t  content=\"{{ config('core.basicInformation.shopName') }}\"/>
  335. \t<meta name=\"twitter:title\"
  336. \t\t  content=\"{{ page.product.manufacturer.name }} {{ page.product.name }} {{ colors|capitalize }}{{ colors2|capitalize }} {{ \"pages.product.shopName\"|trans|sw_sanitize }}\"/>
  337. \t<meta name=\"twitter:description\"
  338. \t\t  content=\"{{ page.product.name }} ✔Meer dan 200 merken online ✔Ontvang spaarpunten ✔Gratis verzending v.a. €50 ✔Gratis Personal Shopper ✔Shop voor het hele gezin\"/>
  339. \t<meta name=\"twitter:image\"
  340. \t\t  content=\"{{ page.product.cover.media.url }}\"/>
  341. {% endblock %}
  342. {% block layout_head_title %}
  343. \t<title itemprop=\"name\">
  344. \t\t{% block layout_head_title_inner %}
  345. \t\t\t{{ page.product.manufacturer.name }} {{ page.product.name }} {{ colors|capitalize }}{{ colors2|capitalize }} {{ \"pages.product.shopName\"|trans|sw_sanitize }}
  346. \t\t{% endblock %}
  347. \t</title>
  348. {% endblock %}
  349. {% block layout_head_canonical %}
  350. \t{% if page.product.parentId is not null %}
  351. \t\t{% set canonicalUrl = page.product.parentId %}
  352. \t{% else %}
  353. \t\t{% set canonicalUrl = page.product.id %}
  354. \t{% endif %}
  355. \t{% if page.product.canonicalProductId %}
  356. \t\t{% set canonicalUrl = page.product.canonicalProductId %}
  357. \t{% endif %}
  358. \t<link rel=\"canonical\" href=\"{{ seoUrl('frontend.detail.page', { productId: canonicalUrl }) }}\"/>
  359. {% endblock %}
  360. ""@NdFashion/storefront/page/product-detail/meta.html.twig""/var/www/dev/deployer/releases/56/custom/static-plugins/NdFashion/src/Resources/views/storefront/page/product-detail/meta.html.twig");
  361.     }
  362. }