{% sw_extends '@parent/storefront/page/product-detail/meta.html.twig' %}
{# Todo: Make a setting for canonicalUrl or include in client-specific theme #}
{% block layout_head_canonical %}
{% set canonicalUrl = page.product.id %}
{% if page.product.canonicalProductId %}
{% set canonicalUrl = page.product.canonicalProductId %}
{% endif %}
{#ToDo: check whether seoUrlVloerkleden exists #}
{#<link rel="canonical" href="{{ seoUrlVloerkleden('frontend.detail.page', { productId: canonicalUrl }) }}" />#}
{% endblock %}