{% sw_extends '@Storefront/storefront/block/cms-block-product-heading.html.twig' %}

{% block block_product_heading %}
    {% set productNameElement = block.slots.getSlot('left') %}
    {% set properties = page.product.extensions.vRProperties %}
    {% set lage = '018f29ffd6867e83865e58e544757e33' %}
    {% set weinlinie = '018f29fc2bd0716e9e292d7895975450' %}

    {% block block_product_heading_product_name_element %}
        <div class="col product-heading-name-container" data-cms-element-id="{{ productNameElement.id }}">
            {% if properties.get(lage) is not empty %}
                <div>{{ properties.get(lage) }}</div>
            {% endif %}
            {% block block_product_heading_product_name_inner %}
                {{ parent() }}
            {% endblock %}
            {% if properties.get(weinlinie) is not empty %}
                <div>{{ properties.get(weinlinie) }}</div>
            {% endif %}
        </div>
    {% endblock %}
{% endblock %}