{% sw_extends '@Storefront/storefront/element/cms-element-product-name.html.twig' %}

{% block element_product_name %}
    {% if cmsPage is not defined or cmsPage.type != 'product_detail' %}
        {{ parent() }}
    {% endif %}
{% endblock %}
