{% sw_extends '@Storefront/storefront/page/product-detail/headline.html.twig' %}
{% block page_product_detail_name %}
<h1 class="product-detail-name"
itemprop="name">
{# {{ dump(page.product) }}#}
{% if page.product.manufacturer %}
{{ page.product.manufacturer.translated.name}}
{% endif %}
{{ page.product.translated.name }}
{%- if page.product.options is defined -%}
{% set optionStrings = [] %} {% set seperatorBetweenOptions = ' ' %}
{%- for option in page.product.options -%}
{%- set singleOption = [option.name] -%}
{%- set optionStrings = optionStrings|merge(singleOption) -%}
{%- endfor -%} {{- optionStrings|join(seperatorBetweenOptions) -}}
{%- endif -%}
</h1>
{% endblock %}