Showing 133–133 of 133 resultsSorted by latest
‘use strict’; function initMiniSearch() { return { minSearchLength: 2, isLiveSearchEnabled: 1, suggestions: [], validated: true, suggest() { const search = this.$refs.searchInput; this.validated = true; if (search.value.length >= this.minSearchLength && !this.isLiveSearchEnabled) { this.fetchSuggestions(search.value); } else { this.suggestions = []; } }, fetchSuggestions(term) { fetch( window.BASE_URL + ‘search/ajax/suggest?’ + new URLSearchParams({q: term}), { headers: { ‘X-Requested-With’: ‘XMLHttpRequest’ […]
No products in the cart.
Select at least 2 productsto compare