Go button no submitting search

DexterandFox
Tourist
7 0 3

Hi there, 

 

When I click GO nothing happens, it clears the search!

IMG_F6603B3D9801-1.jpeg

 

 

This is the code on header search: 

 

<div class="quick-search" data-quick-search>
<script type="application/json" data-settings>{{ settings }}</script>

<div class="quick-search__overlay" data-overlay></div>
<form action="{{ routes.search_url }}" class="quick-search__container" autocomplete="off">
<div class="quick-search__bar">
<input
class="quick-search__input"
type="text"
name="q"
placeholder="{{ 'search.placeholder' | t }}"
data-input
/>
<div class="quick-search__actions">
<a class="quick-search__clear" href="#" data-clear>
{% render 'icon' with icon: 'close' %}
</a>
<button class="quick-search__submit" type="submit">
{% render 'icon' with icon: 'search' %}
</button>
</div>
</div>
<div class="quick-search__results" data-results></div>
</form>
</div>

 

0 Likes
Ninthony
Shopify Partner
1794 259 707

It works on my end. Tested in on desktop, in responsive mode, and also checked on my phone. Search is working on all of them.

If my solution helped you, please like and accept as solution!
If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish :D
0 Likes