custom/plugins/KsGeutherTheme/src/Resources/views/storefront/page/product-detail/meta.html.twig line 7

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/meta.html.twig' %}
  2. {% block layout_head_canonical %}
  3.     {% set canonicalUrl = page.product.id %}
  4.     {% if page.product.parentId and page.product.mainVariantId %}
  5.         {% set canonicalUrl = page.product.mainVariantId %}
  6.     {% endif %}
  7. {% endblock %}