<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @Storefront/storefront/component/product/card/meta.html.twig */
class __TwigTemplate_16090bb84827ff8b6f5da861028af3cf979df5d69fb0f5ab287ed83f89363ee0 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'component_product_box_rich_snippets_inner' => [$this, 'block_component_product_box_rich_snippets_inner'],
'component_product_box_rich_snippets_brand' => [$this, 'block_component_product_box_rich_snippets_brand'],
'component_product_box_rich_snippets_gtin13' => [$this, 'block_component_product_box_rich_snippets_gtin13'],
'component_product_box_rich_snippets_mpn' => [$this, 'block_component_product_box_rich_snippets_mpn'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Storefront/storefront/component/product/card/meta.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Storefront/storefront/component/product/card/meta.html.twig"));
// line 1
$this->displayBlock('component_product_box_rich_snippets_inner', $context, $blocks);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function block_component_product_box_rich_snippets_inner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_box_rich_snippets_inner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_box_rich_snippets_inner"));
// line 2
echo " ";
@trigger_error("@deprecated tag:v6.5.0 - File and Block will be removed completely"." (\"@Storefront/storefront/component/product/card/meta.html.twig\" at line 2).", E_USER_DEPRECATED);
// line 3
echo "
";
// line 4
$this->displayBlock('component_product_box_rich_snippets_brand', $context, $blocks);
// line 9
echo "
";
// line 10
$this->displayBlock('component_product_box_rich_snippets_gtin13', $context, $blocks);
// line 17
echo "
";
// line 18
$this->displayBlock('component_product_box_rich_snippets_mpn', $context, $blocks);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 4
public function block_component_product_box_rich_snippets_brand($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_box_rich_snippets_brand"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_box_rich_snippets_brand"));
// line 5
echo " <div itemprop=\"brand\" itemtype=\"https://schema.org/Brand\" itemscope>
<meta itemprop=\"name\" content=\"";
// line 6
echo twig_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["product"] ?? null), "manufacturer", [], "any", false, false, false, 6), "translated", [], "any", false, false, false, 6), "name", [], "any", false, false, false, 6), "html", null, true);
echo "\" />
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 10
public function block_component_product_box_rich_snippets_gtin13($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_box_rich_snippets_gtin13"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_box_rich_snippets_gtin13"));
// line 11
echo " ";
$context["ean"] = sw_get_attribute($this->env, $this->source, ($context["product"] ?? null), "ean", [], "any", false, false, false, 11);
// line 12
echo " ";
if (($context["ean"] ?? null)) {
// line 13
echo " <meta itemprop=\"gtin13\"
content=\"";
// line 14
echo twig_escape_filter($this->env, ($context["ean"] ?? null), "html", null, true);
echo "\"/>
";
}
// line 16
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
public function block_component_product_box_rich_snippets_mpn($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_box_rich_snippets_mpn"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_box_rich_snippets_mpn"));
// line 19
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["product"] ?? null), "manufacturerNumber", [], "any", false, false, false, 19)) {
// line 20
echo " <meta itemprop=\"mpn\"
content=\"";
// line 21
echo twig_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["product"] ?? null), "manufacturerNumber", [], "any", false, false, false, 21), "html", null, true);
echo "\"/>
";
}
// line 23
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@Storefront/storefront/component/product/card/meta.html.twig";
}
public function getDebugInfo()
{
return array ( 173 => 23, 168 => 21, 165 => 20, 162 => 19, 152 => 18, 142 => 16, 137 => 14, 134 => 13, 131 => 12, 128 => 11, 118 => 10, 105 => 6, 102 => 5, 92 => 4, 82 => 18, 79 => 17, 77 => 10, 74 => 9, 72 => 4, 69 => 3, 66 => 2, 47 => 1,);
}
public function getSourceContext()
{
return new Source("{% block component_product_box_rich_snippets_inner %}
{% deprecated '@deprecated tag:v6.5.0 - File and Block will be removed completely' %}
{% block component_product_box_rich_snippets_brand %}
<div itemprop=\"brand\" itemtype=\"https://schema.org/Brand\" itemscope>
<meta itemprop=\"name\" content=\"{{ product.manufacturer.translated.name }}\" />
</div>
{% endblock %}
{% block component_product_box_rich_snippets_gtin13 %}
{% set ean = product.ean %}
{% if ean %}
<meta itemprop=\"gtin13\"
content=\"{{ ean }}\"/>
{% endif %}
{% endblock %}
{% block component_product_box_rich_snippets_mpn %}
{% if product.manufacturerNumber %}
<meta itemprop=\"mpn\"
content=\"{{ product.manufacturerNumber }}\"/>
{% endif %}
{% endblock %}
{% endblock %}", "@Storefront/storefront/component/product/card/meta.html.twig", "/www/htdocs/w01c128a/atngmbh.webneo-demo.de/www/vendor/shopware/storefront/Resources/views/storefront/component/product/card/meta.html.twig");
}
}