var/cache/dev_h1a4062f81b00b5d1d1cdf5941a50d072/twig/da/da05c255a01778759abaf7275748eee564bbfd59c963cac8a37ec4c7d86ee098.php line 58

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. /* @DreiscSeoPro/storefront/page/product-detail/meta.html.twig */
  16. class __TwigTemplate_e4837bba7ca507fcf7756ef86a4b0a61ac3125067417410d14f5fb3a5da99694 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_title' => [$this'block_layout_head_title'],
  26.             'dreisc_seo__layout_head_title__title_inner' => [$this'block_dreisc_seo__layout_head_title__title_inner'],
  27.             'layout_head_meta_tags_opengraph' => [$this'block_layout_head_meta_tags_opengraph'],
  28.             'dreisc_seo__layout_head_meta_tags_opengraph__og_type' => [$this'block_dreisc_seo__layout_head_meta_tags_opengraph__og_type'],
  29.             'dreisc_seo__layout_head_meta_tags_opengraph__og_site_name' => [$this'block_dreisc_seo__layout_head_meta_tags_opengraph__og_site_name'],
  30.             'dreisc_seo__layout_head_meta_tags_opengraph__url' => [$this'block_dreisc_seo__layout_head_meta_tags_opengraph__url'],
  31.             'dreisc_seo__layout_head_meta_tags_opengraph__og_title' => [$this'block_dreisc_seo__layout_head_meta_tags_opengraph__og_title'],
  32.             'dreisc_seo__layout_head_meta_tags_opengraph__og_description' => [$this'block_dreisc_seo__layout_head_meta_tags_opengraph__og_description'],
  33.             'dreisc_seo__layout_head_meta_tags_opengraph__og_image' => [$this'block_dreisc_seo__layout_head_meta_tags_opengraph__og_image'],
  34.             'dreisc_seo__layout_head_meta_tags_opengraph__og_product_brand' => [$this'block_dreisc_seo__layout_head_meta_tags_opengraph__og_product_brand'],
  35.             'dreisc_seo__layout_head_meta_tags_opengraph__og_product_price' => [$this'block_dreisc_seo__layout_head_meta_tags_opengraph__og_product_price'],
  36.             'dreisc_seo__layout_head_meta_tags_opengraph__og_product_link' => [$this'block_dreisc_seo__layout_head_meta_tags_opengraph__og_product_link'],
  37.             'dreisc_seo__layout_head_meta_tags_twitter__card' => [$this'block_dreisc_seo__layout_head_meta_tags_twitter__card'],
  38.             'dreisc_seo__layout_head_meta_tags_twitter__site' => [$this'block_dreisc_seo__layout_head_meta_tags_twitter__site'],
  39.             'dreisc_seo__layout_head_meta_tags_twitter__title' => [$this'block_dreisc_seo__layout_head_meta_tags_twitter__title'],
  40.             'dreisc_seo__layout_head_meta_tags_twitter__description' => [$this'block_dreisc_seo__layout_head_meta_tags_twitter__description'],
  41.             'dreisc_seo__layout_head_meta_tags_twitter__image' => [$this'block_dreisc_seo__layout_head_meta_tags_twitter__image'],
  42.             'layout_head_canonical' => [$this'block_layout_head_canonical'],
  43.             'dreisc_seo__layout_head_canonical__individual' => [$this'block_dreisc_seo__layout_head_canonical__individual'],
  44.         ];
  45.     }
  46.     protected function doGetParent(array $context)
  47.     {
  48.         // line 2
  49.         return "@Storefront/storefront/page/product-detail/meta.html.twig";
  50.     }
  51.     protected function doDisplay(array $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(), "template""@DreiscSeoPro/storefront/page/product-detail/meta.html.twig"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DreiscSeoPro/storefront/page/product-detail/meta.html.twig"));
  58.         $this->parent $this->loadTemplate("@Storefront/storefront/page/product-detail/meta.html.twig""@DreiscSeoPro/storefront/page/product-detail/meta.html.twig"2);
  59.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  60.         
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  62.         
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.     }
  65.     // line 4
  66.     public function block_layout_head_title($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_title"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_title"));
  73.         // line 5
  74.         echo "    ";
  75.         if ( !twig_test_empty(($context["metaTitle"] ?? null))) {
  76.             // line 6
  77.             echo "        <title>";
  78.             $this->displayBlock('dreisc_seo__layout_head_title__title_inner'$context$blocks);
  79.             echo "</title>
  80.     ";
  81.         } else {
  82.             // line 8
  83.             echo "        ";
  84.             $this->displayParentBlock("layout_head_title"$context$blocks);
  85.             echo "
  86.     ";
  87.         }
  88.         
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  90.         
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  92.     }
  93.     // line 6
  94.     public function block_dreisc_seo__layout_head_title__title_inner($context, array $blocks = [])
  95.     {
  96.         $macros $this->macros;
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_title__title_inner"));
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_title__title_inner"));
  101.         echo sw_escape_filter($this->env, ($context["metaTitle"] ?? null), "html"nulltrue);
  102.         
  103.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  104.         
  105.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  106.     }
  107.     // line 12
  108.     public function block_layout_head_meta_tags_opengraph($context, array $blocks = [])
  109.     {
  110.         $macros $this->macros;
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  112.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_opengraph"));
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_opengraph"));
  115.         // line 13
  116.         echo "    ";
  117.         // line 14
  118.         echo "    ";
  119.         $context["socialMediaDataStruct"] = (($__internal_compile_0 sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "extensions", [], "any"falsefalsefalse14)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_constant("DreiscSeoPro\\Subscriber\\Installment\\SocialMedia\\SocialMediaSubscriber::DREISC_SEO_INSTALLMENT_SOCIAL_MEDIA_DATA")] ?? null) : null);
  120.         // line 15
  121.         echo "
  122.     ";
  123.         // line 16
  124.         if ((=== twig_compare(null, ($context["socialMediaDataStruct"] ?? null)))) {
  125.             // line 17
  126.             echo "    ";
  127.             // line 18
  128.             echo "    ";
  129.             $this->displayParentBlock("layout_head_meta_tags_opengraph"$context$blocks);
  130.             echo "
  131.     ";
  132.         } else {
  133.             // line 20
  134.             echo "        ";
  135.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_opengraph__og_type'$context$blocks);
  136.             // line 23
  137.             echo "
  138.         ";
  139.             // line 24
  140.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_opengraph__og_site_name'$context$blocks);
  141.             // line 27
  142.             echo "
  143.         ";
  144.             // line 28
  145.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_opengraph__url'$context$blocks);
  146.             // line 31
  147.             echo "
  148.         ";
  149.             // line 32
  150.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_opengraph__og_title'$context$blocks);
  151.             // line 39
  152.             echo "
  153.         ";
  154.             // line 40
  155.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_opengraph__og_description'$context$blocks);
  156.             // line 47
  157.             echo "
  158.         ";
  159.             // line 48
  160.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_opengraph__og_image'$context$blocks);
  161.             // line 55
  162.             echo "
  163.         ";
  164.             // line 56
  165.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_opengraph__og_product_brand'$context$blocks);
  166.             // line 61
  167.             echo "
  168.         ";
  169.             // line 62
  170.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_opengraph__og_product_price'$context$blocks);
  171.             // line 73
  172.             echo "
  173.         ";
  174.             // line 74
  175.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_opengraph__og_product_link'$context$blocks);
  176.             // line 77
  177.             echo "
  178.         ";
  179.             // line 78
  180.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_twitter__card'$context$blocks);
  181.             // line 81
  182.             echo "
  183.         ";
  184.             // line 82
  185.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_twitter__site'$context$blocks);
  186.             // line 85
  187.             echo "
  188.         ";
  189.             // line 86
  190.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_twitter__title'$context$blocks);
  191.             // line 93
  192.             echo "
  193.         ";
  194.             // line 94
  195.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_twitter__description'$context$blocks);
  196.             // line 101
  197.             echo "
  198.         ";
  199.             // line 102
  200.             $this->displayBlock('dreisc_seo__layout_head_meta_tags_twitter__image'$context$blocks);
  201.             // line 109
  202.             echo "    ";
  203.         }
  204.         
  205.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  206.         
  207.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  208.     }
  209.     // line 20
  210.     public function block_dreisc_seo__layout_head_meta_tags_opengraph__og_type($context, array $blocks = [])
  211.     {
  212.         $macros $this->macros;
  213.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  214.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_type"));
  215.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  216.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_type"));
  217.         // line 21
  218.         echo "            <meta property=\"og:type\" content=\"product\"/>
  219.         ";
  220.         
  221.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  222.         
  223.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  224.     }
  225.     // line 24
  226.     public function block_dreisc_seo__layout_head_meta_tags_opengraph__og_site_name($context, array $blocks = [])
  227.     {
  228.         $macros $this->macros;
  229.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  230.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_site_name"));
  231.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  232.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_site_name"));
  233.         // line 25
  234.         echo "            <meta property=\"og:site_name\" content=\"";
  235.         echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"core.basicInformation.shopName"), "html"nulltrue);
  236.         echo "\"/>
  237.         ";
  238.         
  239.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  240.         
  241.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  242.     }
  243.     // line 28
  244.     public function block_dreisc_seo__layout_head_meta_tags_opengraph__url($context, array $blocks = [])
  245.     {
  246.         $macros $this->macros;
  247.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  248.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__url"));
  249.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  250.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__url"));
  251.         // line 29
  252.         echo "            <meta property=\"og:url\" content=\"";
  253.         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"falsefalsefalse29), "id", [], "any"falsefalsefalse29)]), "html"nulltrue);
  254.         echo "\"/>
  255.         ";
  256.         
  257.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  258.         
  259.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  260.     }
  261.     // line 32
  262.     public function block_dreisc_seo__layout_head_meta_tags_opengraph__og_title($context, array $blocks = [])
  263.     {
  264.         $macros $this->macros;
  265.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  266.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_title"));
  267.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  268.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_title"));
  269.         // line 33
  270.         echo "            ";
  271.         if ( !twig_test_empty(sw_get_attribute($this->env$this->source, ($context["socialMediaDataStruct"] ?? null), "facebookTitle", [], "any"falsefalsefalse33))) {
  272.             // line 34
  273.             echo "                <meta property=\"og:title\" content=\"";
  274.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["socialMediaDataStruct"] ?? null), "facebookTitle", [], "any"falsefalsefalse34), "html"nulltrue);
  275.             echo "\"/>
  276.             ";
  277.         } else {
  278.             // line 36
  279.             echo "                <meta property=\"og:title\" content=\"";
  280.             echo sw_escape_filter($this->env, ($context["metaTitle"] ?? null), "html"nulltrue);
  281.             echo "\"/>
  282.             ";
  283.         }
  284.         // line 38
  285.         echo "        ";
  286.         
  287.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  288.         
  289.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  290.     }
  291.     // line 40
  292.     public function block_dreisc_seo__layout_head_meta_tags_opengraph__og_description($context, array $blocks = [])
  293.     {
  294.         $macros $this->macros;
  295.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  296.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_description"));
  297.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  298.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_description"));
  299.         // line 41
  300.         echo "            ";
  301.         if ( !twig_test_empty(sw_get_attribute($this->env$this->source, ($context["socialMediaDataStruct"] ?? null), "facebookDescription", [], "any"falsefalsefalse41))) {
  302.             // line 42
  303.             echo "                <meta property=\"og:description\" content=\"";
  304.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["socialMediaDataStruct"] ?? null), "facebookDescription", [], "any"falsefalsefalse42), "html"nulltrue);
  305.             echo "\"/>
  306.             ";
  307.         } else {
  308.             // line 44
  309.             echo "                <meta property=\"og:description\" content=\"";
  310.             echo sw_escape_filter($this->env, ($context["metaDescription"] ?? null), "html"nulltrue);
  311.             echo "\"/>
  312.             ";
  313.         }
  314.         // line 46
  315.         echo "        ";
  316.         
  317.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  318.         
  319.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  320.     }
  321.     // line 48
  322.     public function block_dreisc_seo__layout_head_meta_tags_opengraph__og_image($context, array $blocks = [])
  323.     {
  324.         $macros $this->macros;
  325.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  326.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_image"));
  327.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  328.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_image"));
  329.         // line 49
  330.         echo "            ";
  331.         if ( !twig_test_empty(sw_get_attribute($this->env$this->source, ($context["socialMediaDataStruct"] ?? null), "facebookImage", [], "any"falsefalsefalse49))) {
  332.             // line 50
  333.             echo "                <meta property=\"og:image\" content=\"";
  334.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["socialMediaDataStruct"] ?? null), "facebookImage", [], "any"falsefalsefalse50), "html"nulltrue);
  335.             echo "\"/>
  336.             ";
  337.         } else {
  338.             // line 52
  339.             echo "                <meta property=\"og:image\" content=\"";
  340.             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"falsefalsefalse52), "cover", [], "any"falsefalsefalse52), "media", [], "any"falsefalsefalse52), "url", [], "any"falsefalsefalse52), "html"nulltrue);
  341.             echo "\"/>
  342.             ";
  343.         }
  344.         // line 54
  345.         echo "        ";
  346.         
  347.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  348.         
  349.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  350.     }
  351.     // line 56
  352.     public function block_dreisc_seo__layout_head_meta_tags_opengraph__og_product_brand($context, array $blocks = [])
  353.     {
  354.         $macros $this->macros;
  355.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  356.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_product_brand"));
  357.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  358.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_product_brand"));
  359.         // line 57
  360.         echo "            ";
  361.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse57), "manufacturer", [], "any"falsefalsefalse57)) {
  362.             // line 58
  363.             echo "                <meta property=\"product:brand\" content=\"";
  364.             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"falsefalsefalse58), "manufacturer", [], "any"falsefalsefalse58), "translated", [], "any"falsefalsefalse58), "name", [], "any"falsefalsefalse58), "html"nulltrue);
  365.             echo "\"/>
  366.             ";
  367.         }
  368.         // line 60
  369.         echo "        ";
  370.         
  371.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  372.         
  373.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  374.     }
  375.     // line 62
  376.     public function block_dreisc_seo__layout_head_meta_tags_opengraph__og_product_price($context, array $blocks = [])
  377.     {
  378.         $macros $this->macros;
  379.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  380.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_product_price"));
  381.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  382.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_product_price"));
  383.         // line 63
  384.         echo "            ";
  385.         $context["metaPrice"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse63), "calculatedPrice", [], "any"falsefalsefalse63);
  386.         // line 64
  387.         echo "            ";
  388.         if ((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse64), "calculatedPrices", [], "any"falsefalsefalse64), "count", [], "any"falsefalsefalse64), 0))) {
  389.             // line 65
  390.             echo "                ";
  391.             $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"falsefalsefalse65), "calculatedPrices", [], "any"falsefalsefalse65), "last", [], "any"falsefalsefalse65);
  392.             // line 66
  393.             echo "            ";
  394.         }
  395.         // line 67
  396.         echo "
  397.             <meta property=\"product:price:amount\"
  398.                   content=\"";
  399.         // line 69
  400.         echo sw_escape_filter($this->envtwig_round(sw_get_attribute($this->env$this->source, ($context["metaPrice"] ?? null), "unitPrice", [], "any"falsefalsefalse69), sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "currency", [], "any"falsefalsefalse69), "itemRounding", [], "any"falsefalsefalse69), "decimals", [], "any"falsefalsefalse69)), "html"nulltrue);
  401.         echo "\"/>
  402.             <meta property=\"product:price:currency\"
  403.                   content=\"";
  404.         // line 71
  405.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "currency", [], "any"falsefalsefalse71), "isoCode", [], "any"falsefalsefalse71), "html"nulltrue);
  406.         echo "\"/>
  407.         ";
  408.         
  409.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  410.         
  411.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  412.     }
  413.     // line 74
  414.     public function block_dreisc_seo__layout_head_meta_tags_opengraph__og_product_link($context, array $blocks = [])
  415.     {
  416.         $macros $this->macros;
  417.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  418.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_product_link"));
  419.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  420.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_opengraph__og_product_link"));
  421.         // line 75
  422.         echo "            <meta property=\"product:product_link\" content=\"";
  423.         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"falsefalsefalse75), "id", [], "any"falsefalsefalse75)]), "html"nulltrue);
  424.         echo "\"/>
  425.         ";
  426.         
  427.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  428.         
  429.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  430.     }
  431.     // line 78
  432.     public function block_dreisc_seo__layout_head_meta_tags_twitter__card($context, array $blocks = [])
  433.     {
  434.         $macros $this->macros;
  435.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  436.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_twitter__card"));
  437.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  438.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_twitter__card"));
  439.         // line 79
  440.         echo "            <meta name=\"twitter:card\" content=\"product\"/>
  441.         ";
  442.         
  443.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  444.         
  445.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  446.     }
  447.     // line 82
  448.     public function block_dreisc_seo__layout_head_meta_tags_twitter__site($context, array $blocks = [])
  449.     {
  450.         $macros $this->macros;
  451.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  452.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_twitter__site"));
  453.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  454.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_twitter__site"));
  455.         // line 83
  456.         echo "            <meta name=\"twitter:site\" content=\"";
  457.         echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"core.basicInformation.shopName"), "html"nulltrue);
  458.         echo "\"/>
  459.         ";
  460.         
  461.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  462.         
  463.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  464.     }
  465.     // line 86
  466.     public function block_dreisc_seo__layout_head_meta_tags_twitter__title($context, array $blocks = [])
  467.     {
  468.         $macros $this->macros;
  469.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  470.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_twitter__title"));
  471.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  472.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_twitter__title"));
  473.         // line 87
  474.         echo "            ";
  475.         if ( !twig_test_empty(sw_get_attribute($this->env$this->source, ($context["socialMediaDataStruct"] ?? null), "twitterTitle", [], "any"falsefalsefalse87))) {
  476.             // line 88
  477.             echo "                <meta property=\"twitter:title\" content=\"";
  478.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["socialMediaDataStruct"] ?? null), "twitterTitle", [], "any"falsefalsefalse88), "html"nulltrue);
  479.             echo "\"/>
  480.             ";
  481.         } else {
  482.             // line 90
  483.             echo "                <meta property=\"twitter:title\" content=\"";
  484.             echo sw_escape_filter($this->env, ($context["metaTitle"] ?? null), "html"nulltrue);
  485.             echo "\"/>
  486.             ";
  487.         }
  488.         // line 92
  489.         echo "        ";
  490.         
  491.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  492.         
  493.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  494.     }
  495.     // line 94
  496.     public function block_dreisc_seo__layout_head_meta_tags_twitter__description($context, array $blocks = [])
  497.     {
  498.         $macros $this->macros;
  499.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  500.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_twitter__description"));
  501.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  502.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_twitter__description"));
  503.         // line 95
  504.         echo "            ";
  505.         if ( !twig_test_empty(sw_get_attribute($this->env$this->source, ($context["socialMediaDataStruct"] ?? null), "twitterDescription", [], "any"falsefalsefalse95))) {
  506.             // line 96
  507.             echo "                <meta property=\"twitter:description\" content=\"";
  508.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["socialMediaDataStruct"] ?? null), "twitterDescription", [], "any"falsefalsefalse96), "html"nulltrue);
  509.             echo "\"/>
  510.             ";
  511.         } else {
  512.             // line 98
  513.             echo "                <meta property=\"twitter:description\" content=\"";
  514.             echo sw_escape_filter($this->env, ($context["metaDescription"] ?? null), "html"nulltrue);
  515.             echo "\"/>
  516.             ";
  517.         }
  518.         // line 100
  519.         echo "        ";
  520.         
  521.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  522.         
  523.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  524.     }
  525.     // line 102
  526.     public function block_dreisc_seo__layout_head_meta_tags_twitter__image($context, array $blocks = [])
  527.     {
  528.         $macros $this->macros;
  529.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  530.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_twitter__image"));
  531.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  532.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_meta_tags_twitter__image"));
  533.         // line 103
  534.         echo "            ";
  535.         if ( !twig_test_empty(sw_get_attribute($this->env$this->source, ($context["socialMediaDataStruct"] ?? null), "twitterImage", [], "any"falsefalsefalse103))) {
  536.             // line 104
  537.             echo "                <meta property=\"twitter:image\" content=\"";
  538.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["socialMediaDataStruct"] ?? null), "twitterImage", [], "any"falsefalsefalse104), "html"nulltrue);
  539.             echo "\"/>
  540.             ";
  541.         } else {
  542.             // line 106
  543.             echo "                <meta property=\"twitter:image\" content=\"";
  544.             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"falsefalsefalse106), "cover", [], "any"falsefalsefalse106), "media", [], "any"falsefalsefalse106), "url", [], "any"falsefalsefalse106), "html"nulltrue);
  545.             echo "\"/>
  546.             ";
  547.         }
  548.         // line 108
  549.         echo "        ";
  550.         
  551.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  552.         
  553.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  554.     }
  555.     // line 112
  556.     public function block_layout_head_canonical($context, array $blocks = [])
  557.     {
  558.         $macros $this->macros;
  559.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  560.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_canonical"));
  561.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  562.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_canonical"));
  563.         ob_start();
  564.         // line 113
  565.         echo "    ";
  566.         $context["canonicalDataStruct"] = (($__internal_compile_1 sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "extensions", [], "any"falsefalsefalse113)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[twig_constant("DreiscSeoPro\\Subscriber\\Installment\\Canonical\\CanonicalSubscriber::DREISC_SEO_INSTALLMENT_CANONICAL_DATA")] ?? null) : null);
  567.         // line 114
  568.         echo "
  569.     ";
  570.         // line 115
  571.         if (((!== twig_compare(null, ($context["canonicalDataStruct"] ?? null))) &&  !twig_test_empty(sw_get_attribute($this->env$this->source, ($context["canonicalDataStruct"] ?? null), "canonicalLink", [], "any"falsefalsefalse115)))) {
  572.             // line 116
  573.             echo "        ";
  574.             $this->displayBlock('dreisc_seo__layout_head_canonical__individual'$context$blocks);
  575.             // line 119
  576.             echo "    ";
  577.         } else {
  578.             // line 120
  579.             echo "        ";
  580.             // line 121
  581.             echo "        ";
  582.             $this->displayParentBlock("layout_head_canonical"$context$blocks);
  583.             echo "
  584.     ";
  585.         }
  586.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  587.         // line 112
  588.         echo twig_spaceless($___internal_parse_0_);
  589.         
  590.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  591.         
  592.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  593.     }
  594.     // line 116
  595.     public function block_dreisc_seo__layout_head_canonical__individual($context, array $blocks = [])
  596.     {
  597.         $macros $this->macros;
  598.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  599.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_canonical__individual"));
  600.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  601.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dreisc_seo__layout_head_canonical__individual"));
  602.         // line 117
  603.         echo "            <link rel=\"canonical\" href=\"";
  604.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["canonicalDataStruct"] ?? null), "canonicalLink", [], "any"falsefalsefalse117), "html"nulltrue);
  605.         echo "\" />
  606.         ";
  607.         
  608.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  609.         
  610.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  611.     }
  612.     public function getTemplateName()
  613.     {
  614.         return "@DreiscSeoPro/storefront/page/product-detail/meta.html.twig";
  615.     }
  616.     public function isTraitable()
  617.     {
  618.         return false;
  619.     }
  620.     public function getDebugInfo()
  621.     {
  622.         return array (  705 => 117,  695 => 116,  685 => 112,  678 => 121,  676 => 120,  673 => 119,  670 => 116,  668 => 115,  665 => 114,  662 => 113,  651 => 112,  641 => 108,  635 => 106,  629 => 104,  626 => 103,  616 => 102,  606 => 100,  600 => 98,  594 => 96,  591 => 95,  581 => 94,  571 => 92,  565 => 90,  559 => 88,  556 => 87,  546 => 86,  533 => 83,  523 => 82,  512 => 79,  502 => 78,  489 => 75,  479 => 74,  467 => 71,  462 => 69,  458 => 67,  455 => 66,  452 => 65,  449 => 64,  446 => 63,  436 => 62,  426 => 60,  420 => 58,  417 => 57,  407 => 56,  397 => 54,  391 => 52,  385 => 50,  382 => 49,  372 => 48,  362 => 46,  356 => 44,  350 => 42,  347 => 41,  337 => 40,  327 => 38,  321 => 36,  315 => 34,  312 => 33,  302 => 32,  289 => 29,  279 => 28,  266 => 25,  256 => 24,  245 => 21,  235 => 20,  224 => 109,  222 => 102,  219 => 101,  217 => 94,  214 => 93,  212 => 86,  209 => 85,  207 => 82,  204 => 81,  202 => 78,  199 => 77,  197 => 74,  194 => 73,  192 => 62,  189 => 61,  187 => 56,  184 => 55,  182 => 48,  179 => 47,  177 => 40,  174 => 39,  172 => 32,  169 => 31,  167 => 28,  164 => 27,  162 => 24,  159 => 23,  156 => 20,  150 => 18,  148 => 17,  146 => 16,  143 => 15,  140 => 14,  138 => 13,  128 => 12,  109 => 6,  95 => 8,  89 => 6,  86 => 5,  76 => 4,  53 => 2,);
  623.     }
  624.     public function getSourceContext()
  625.     {
  626.         return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/meta.html.twig' %}
  627. {# Make sure that the meta title will be displayed #}
  628. {% block layout_head_title %}
  629.     {% if metaTitle is not empty %}
  630.         <title>{% block dreisc_seo__layout_head_title__title_inner %}{{ metaTitle }}{% endblock %}</title>
  631.     {% else %}
  632.         {{ parent() }}
  633.     {% endif %}
  634. {% endblock %}
  635. {% block layout_head_meta_tags_opengraph %}
  636.     {# Fecth social media data #}
  637.     {% set socialMediaDataStruct = page.extensions[constant('DreiscSeoPro\\\\Subscriber\\\\Installment\\\\SocialMedia\\\\SocialMediaSubscriber::DREISC_SEO_INSTALLMENT_SOCIAL_MEDIA_DATA')] %}
  638.     {% if null == socialMediaDataStruct %}
  639.     {# Call the parent #}
  640.     {{ parent() }}
  641.     {% else %}
  642.         {% block dreisc_seo__layout_head_meta_tags_opengraph__og_type %}
  643.             <meta property=\"og:type\" content=\"product\"/>
  644.         {% endblock %}
  645.         {% block dreisc_seo__layout_head_meta_tags_opengraph__og_site_name %}
  646.             <meta property=\"og:site_name\" content=\"{{ config('core.basicInformation.shopName') }}\"/>
  647.         {% endblock %}
  648.         {% block dreisc_seo__layout_head_meta_tags_opengraph__url %}
  649.             <meta property=\"og:url\" content=\"{{ seoUrl('frontend.detail.page', { productId: page.product.id }) }}\"/>
  650.         {% endblock %}
  651.         {% block dreisc_seo__layout_head_meta_tags_opengraph__og_title %}
  652.             {% if socialMediaDataStruct.facebookTitle is not empty %}
  653.                 <meta property=\"og:title\" content=\"{{ socialMediaDataStruct.facebookTitle }}\"/>
  654.             {% else %}
  655.                 <meta property=\"og:title\" content=\"{{ metaTitle }}\"/>
  656.             {% endif %}
  657.         {% endblock %}
  658.         {% block dreisc_seo__layout_head_meta_tags_opengraph__og_description %}
  659.             {% if socialMediaDataStruct.facebookDescription is not empty %}
  660.                 <meta property=\"og:description\" content=\"{{ socialMediaDataStruct.facebookDescription }}\"/>
  661.             {% else %}
  662.                 <meta property=\"og:description\" content=\"{{ metaDescription }}\"/>
  663.             {% endif %}
  664.         {% endblock %}
  665.         {% block dreisc_seo__layout_head_meta_tags_opengraph__og_image %}
  666.             {% if socialMediaDataStruct.facebookImage is not empty %}
  667.                 <meta property=\"og:image\" content=\"{{ socialMediaDataStruct.facebookImage }}\"/>
  668.             {% else %}
  669.                 <meta property=\"og:image\" content=\"{{ page.product.cover.media.url }}\"/>
  670.             {% endif %}
  671.         {% endblock %}
  672.         {% block dreisc_seo__layout_head_meta_tags_opengraph__og_product_brand %}
  673.             {% if page.product.manufacturer %}
  674.                 <meta property=\"product:brand\" content=\"{{ page.product.manufacturer.translated.name }}\"/>
  675.             {% endif %}
  676.         {% endblock %}
  677.         {% block dreisc_seo__layout_head_meta_tags_opengraph__og_product_price %}
  678.             {% set metaPrice = page.product.calculatedPrice %}
  679.             {% if page.product.calculatedPrices.count > 0 %}
  680.                 {% set metaPrice = page.product.calculatedPrices.last %}
  681.             {% endif %}
  682.             <meta property=\"product:price:amount\"
  683.                   content=\"{{ metaPrice.unitPrice|round(context.currency.itemRounding.decimals) }}\"/>
  684.             <meta property=\"product:price:currency\"
  685.                   content=\"{{ context.currency.isoCode }}\"/>
  686.         {% endblock %}
  687.         {% block dreisc_seo__layout_head_meta_tags_opengraph__og_product_link %}
  688.             <meta property=\"product:product_link\" content=\"{{ seoUrl('frontend.detail.page', { productId: page.product.id }) }}\"/>
  689.         {% endblock %}
  690.         {% block dreisc_seo__layout_head_meta_tags_twitter__card %}
  691.             <meta name=\"twitter:card\" content=\"product\"/>
  692.         {% endblock %}
  693.         {% block dreisc_seo__layout_head_meta_tags_twitter__site %}
  694.             <meta name=\"twitter:site\" content=\"{{ config('core.basicInformation.shopName') }}\"/>
  695.         {% endblock %}
  696.         {% block dreisc_seo__layout_head_meta_tags_twitter__title %}
  697.             {% if socialMediaDataStruct.twitterTitle is not empty %}
  698.                 <meta property=\"twitter:title\" content=\"{{ socialMediaDataStruct.twitterTitle }}\"/>
  699.             {% else %}
  700.                 <meta property=\"twitter:title\" content=\"{{ metaTitle }}\"/>
  701.             {% endif %}
  702.         {% endblock %}
  703.         {% block dreisc_seo__layout_head_meta_tags_twitter__description %}
  704.             {% if socialMediaDataStruct.twitterDescription is not empty %}
  705.                 <meta property=\"twitter:description\" content=\"{{ socialMediaDataStruct.twitterDescription }}\"/>
  706.             {% else %}
  707.                 <meta property=\"twitter:description\" content=\"{{ metaDescription }}\"/>
  708.             {% endif %}
  709.         {% endblock %}
  710.         {% block dreisc_seo__layout_head_meta_tags_twitter__image %}
  711.             {% if socialMediaDataStruct.twitterImage is not empty %}
  712.                 <meta property=\"twitter:image\" content=\"{{ socialMediaDataStruct.twitterImage }}\"/>
  713.             {% else %}
  714.                 <meta property=\"twitter:image\" content=\"{{ page.product.cover.media.url }}\"/>
  715.             {% endif %}
  716.         {% endblock %}
  717.     {% endif %}
  718. {% endblock %}
  719. {% block layout_head_canonical %}{% apply spaceless %}
  720.     {% set canonicalDataStruct = page.extensions[constant('DreiscSeoPro\\\\Subscriber\\\\Installment\\\\Canonical\\\\CanonicalSubscriber::DREISC_SEO_INSTALLMENT_CANONICAL_DATA')] %}
  721.     {% if null != canonicalDataStruct and canonicalDataStruct.canonicalLink is not empty %}
  722.         {% block dreisc_seo__layout_head_canonical__individual %}
  723.             <link rel=\"canonical\" href=\"{{ canonicalDataStruct.canonicalLink }}\" />
  724.         {% endblock %}
  725.     {% else %}
  726.         {# Call parent #}
  727.         {{ parent() }}
  728.     {% endif %}
  729. {% endapply %}{% endblock %}
  730. ""@DreiscSeoPro/storefront/page/product-detail/meta.html.twig""/var/www/share/staging.traumkonzept.de/shopware/custom/plugins/DreiscSeoPro/src/Resources/views/storefront/page/product-detail/meta.html.twig");
  731.     }
  732. }