Product Search
This generates a form for search products.
Required classes
sl-product-search
Remarks
sl-product-search
requires aform
element with input and submit buttonsl-search-clear
will clear the search input on click
<form class="sl-product-search">
<button disabled type="submit"><i class="fa fa-search"></i></button>
<input disabled maxlength="100" placeholder="{{ 'themes.search' | translate }}" />
<button disabled type="button" class="sl-search-clear">
<i class="fa fa-times"></i>
</button>
</form>
Updated almost 7 years ago