{% sw_extends '@Storefront/storefront/page/product-detail/configurator/select.html.twig' %}
{% block page_product_detail_configurator_select %}
<div class="form-row">
<div class="col-md-4">
<select name="{{ group.id }}" id="{{ group.id }}" class="custom-select product-detail-configurator-select-input">
{% for option in group.options %}
{% set selected = false %}
{% if option.id in page.product.optionIds %}
{% set selected = true %}
{% endif %}
{% block page_product_detail_configurator_select_option %}
<option value="{{ option.id }}"{% if selected %} selected="selected"{% endif %}>
{{ option.translated.name }}
</option>
{% endblock %}
{% endfor %}
</select></div></div>
{% endblock %}