custom/plugins/ZweiPunktVariantenAusgrauen/src/Resources/views/storefront/page/product-detail/configurator/select.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/configurator/select.html.twig' %}
  2. {% block page_product_detail_configurator_select_option %}
  3.     {% set showParent = true %}
  4.     {% set grayOption = false %}
  5.     {% if option.id in page.unavailable %}
  6.         {% if page.hideselection %}
  7.             {# output nothing, option is not issued #}
  8.             {% set showParent = false %}
  9.         {% else %}
  10.             {% set grayOption = true %}
  11.         {% endif %}
  12.     {% endif %}
  13.     {% if showParent %}
  14.         <option value="{{ option.id }}"
  15.             {% if selected %} selected="selected"{% endif %}
  16.             {% if grayOption %} disabled="disabled"{% endif %}>
  17.             {{ option.translated.name }}
  18.         </option>
  19.     {% endif %}
  20. {% endblock %}