Search
Hot Searches
Smok vape coils
Smok vape mods
Smok vape tanks
Smok
Products
()
No results found.
Categories ()
Posts ()
function initMirasvitSearch() {
return {
//initialize Variables
hotSearch: false,
searchResults: false,
noResults: false,
isLoading: false,
isOpen: false,
blockConfig: {“query”:””,”priceFormat”:{“pattern”:”$%s”,”precision”:2,”requiredPrecision”:2,”decimalSymbol”:”.”,”groupSymbol”:”,”,”groupLength”:3,”integerRequired”:false},”minSearchLength”:3,”url”:”https://www.vaporfi.com/searchautocomplete/ajax/suggest/”,”storeId”:”9″,”delay”:500,”isAjaxCartButton”:false,”isShowCartButton”:false,”isShowImage”:true,”isShowPrice”:true,”isShowSku”:false,”isShowRating”:false,”isShowDescription”:false,”isShowStockStatus”:false,”layout”:”1column”,”popularTitle”:”Popular Suggestions”,”popularSearches”:[“Vaporesso”,”Smok vape coils”,”Smok vape mods”,”Smok vape tanks”,”Smok”],”isTypeaheadEnabled”:true,”typeaheadUrl”:”https://www.vaporfi.com/searchautocomplete/ajax/typeahead/”,”minSuggestLength”:2,”currency”:”USD”,”limit”:24,”customerGroupId”:0},
xhttp: false,
noResultsText: ”,
numberResults: ”,
numberResultsUrl: ”,
searchProductsTotal: ”,
searchCategoriesTotal: ”,
searchPagesTotal: ”,
searchProducts: [],
searchCategories: [],
searchPages: [],
searchPosts: [],
searchMap: {
‘magento_cms_page’: ‘Pages’,
‘magento_catalog_category’: ‘Categories’,
‘magento_catalog_product’: ‘Products’,
‘magefan_blog_post’: ‘Posts’
},
hotSearchClickEvent: function (ev) {
var hotSearchClick = event.currentTarget.innerText;
document.getElementById(“search”).value = hotSearchClick;
this.doSearch(hotSearchClick);
},
openSearch: function () {
this.isOpen = true;
searchValue = document.getElementById(“search”).value.length;
if (searchValue >= this.blockConfig.minSearchLength) {
this.hideHotSearch();
} else {
this.showHotSearch();
this.hideSearchResults();
}
},
startSearch: function (e) {
if (e) {
this.isOpen = true;
}
},
closeSearch: function () {
this.isOpen = false;
},
showHotSearch: function () {
this.hotSearch = true;
},
hideHotSearch: function () {
this.hotSearch = false;
},
showSearchResults: function () {
this.searchResults = true;
},
hideSearchResults: function () {
this.searchResults = false;
},
showNoResults: function () {
this.noResults = true;
},
hideNoResults: function () {
this.noResults = false;
},
setNoResultsText(text) {
if (!text) {
return;
}
this.noResultsText = text;
},
setNumberResults(text) {
this.numberResults = text;
},
setNumberResultsUrl(text) {
this.numberResultsUrl = text;
},
resetSearchData: function () {
// Reinitialize Variables to avoid wrong search results.
this.searchPages = [];
this.searchPagesTotal = 0;
this.searchCategories = [];
this.searchCategoriesTotal = 0;
this.searchProducts = [];
this.searchProductsTotal = 0;
},
doSearch: function (query) {
var self = this;
// Min search length
if (query.length 0) {
var res = response.indexes[index];
var map = null;
if (self.searchMap[res.identifier]) {
map = self.searchMap[res.identifier];
self[‘search’ + map] = res.items;
self[‘search’ + map + ‘Total’] = res.totalItems;
}
}
}
self.isLoading = false;
self.hideNoResults();
self.setNumberResults(response.textAll);
self.setNumberResultsUrl(response.urlAll);
if (response.noResults) {
self.setNoResultsText(response.textEmpty);
self.hideSearchResults();
self.showNoResults();
}
}
};
xhttp.send();
}
}
}
The Mixo 40K’s flavor mixing is genius. Highly recommend this retailer!
SMOK Nord 5’s sleek design and performance are unmatched. Thanks for fast shipping!
Ordered Cuttwood Boss Reserve, and it’s pure gold. Fantastic experience!
The Mixo 40K’s 40,000 puffs are great, but it’s a bit pricey. Solid site!
Naked 100 Euro Gold e-liquid is smooth and rich. Love the rewards program here!
Vaporesso Gen 80S is solid, but the display is dim. Nice checkout process!
The adult signature at delivery was handled smoothly. No stress at all!
The Mixo 40K’s 48 combos mean I’m never bored with my vape!
The Mixo 40K’s screen is cool, but the device is bulky. Decent purchase overall!
Funky Republic Ti7000’s flavors are okay, but not very bold. Great service!
GeekVape Z Max tank is a cloud machine. Thanks for fast and safe delivery!