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();
}
}
}
SMOK Nord 5 is reliable, but the pods leak slightly. Fast and secure shipping!
Love the loyalty rewards program! Earned points on my first purchase.
Funky Republic Ti7000’s battery lasts ages. Great prices and super fast delivery!
SMOK Nord 5’s performance is good, but the buttons feel cheap. Great site!
Funky Republic Ti7000 is good, but the flavors fade slightly over time. Quick delivery!
Their social media updates keep me in the loop on new products. Awesome!
Age verification was seamless, and the package arrived securely with adult signature.
Naked 100 Polar Breeze is cool, but the menthol is intense. Fast delivery!
Got the Beard Vape Co. No. 71 e-liquid, and it’s so sweet and smooth. Awesome purchase!