custom/plugins/AcrisSearchCS/src/Resources/views/storefront/layout/header/search.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/header/search.html.twig' %}
    
    {% block layout_header_search %}
        {% if context.extensions.acrisProductSearchConfigProductExtension and context.extensions.acrisProductSearchConfigProductExtension.minSearchLength != 3 %}
            <div class="collapse"
                 id="searchCollapse">
                <div class="header-search">
                    {% set searchFormOptions = {
                        searchWidgetMinChars: context.extensions.acrisProductSearchConfigProductExtension.minSearchLength
                    } %}
    
                    <form action="{{ path('frontend.search.page') }}"
                          method="get"
                          data-search-form="true"
                          data-search-widget-options='{{ searchFormOptions|json_encode }}'
                          data-url="{{ path('frontend.search.suggest') }}?search="
                          class="header-search-form">
    
                        {% block layout_header_search_input_group %}
                            {{ parent() }}
                        {% endblock %}
                    </form>
                </div>
            </div>
        {% else %}
            {{ parent() }}
        {% endif %}
    {% endblock %}