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 RPM 5 Pro is perfect for cloud chasers. Love shopping at this site!
Customer support was so helpful when I needed to change my shipping address.
The product images are high-quality, so I knew exactly what I was getting.
The Age Restriction Policy is clear and easy to understand. Trustworthy site!
Vaporesso Gen 80S is solid, but the display is dim. Nice checkout process!
The site’s FAQs saved me time figuring out the adult signature fee.
Funky Republic Ti7000 is good, but the tropical flavors are mild. Quick delivery!
The About Us page made me feel confident shopping with a legit retailer.
Naked 100 Polar Breeze e-liquid is so crisp. Thanks for quick delivery!
Naked 100 Cuban Blend is smooth, but lacks punch. Love the site’s design!