{% sw_extends "@Storefront/storefront/page/product-detail/meta.html.twig" %}
{% block layout_head_title_inner %}
{% if metaTitle %}
{{ metaTitle }}
{% else %}
{{ page.product.translated.name }}{% if page.product.variation %} - {% for variation in page.product.variation %}{{ variation.group }}: {{ variation.option }}{% if page.product.variation|last != variation %}{{ " | " }}{% endif %}{% endfor %}{% endif %}
{% endif %}
{% endblock %}
{% block layout_head_meta_tags_opengraph %}
<meta property="og:type"
content="product"/>
<meta property="og:site_name"
content="{{ shopware.config.core.basicInformation.shopName }}"/>
<meta property="og:url"
content="{{ seoUrl('frontend.detail.page', { productId: page.product.id }) }}"/>
<meta property="og:title"
content="{{ metaTitle }}"/>
<meta property="og:description"
content="{{ metaDescription }}"/>
<meta property="og:image"
content=" {{ page.product.media|first.media.extensions.mediaBoosters.webpMedia.generatedPath }}"/>
{% if page.product.manufacturer %}
<meta property="product:brand"
content="{{ page.product.manufacturer.translated.name }}"/>
{% endif %}
<meta property="product:price"
content="{{ page.product.calculatedPrice.unitPrice|currency }}"/>
<meta property="product:product_link"
content="{{ seoUrl('frontend.detail.page', { productId: page.product.id }) }}"/>
<meta name="twitter:card"
content="product"/>
<meta name="twitter:site"
content="{{ shopware.config.core.basicInformation.shopName }}"/>
<meta name="twitter:title"
content="{{ metaTitle }}"/>
<meta name="twitter:description"
content="{{ metaDescription }}"/>
<meta name="twitter:image"
content="{{ page.product.media|first.media.extensions.mediaBoosters.webpMedia.generatedPath }}"/>
{% endblock %}