Free Shipping With Promo Code
Free Shipping With Promo Code
Advanced Search Options
New
Page 5 of 5
Obj = { countryName: countryName, countryCode: countryCode, blacklisted: isBlacklisted }; $('.freeshipping.hidden-phone').html(template(countryObj)); $('.mobile-shipping-info').html(template(countryObj)); } }); Handlebars.registerHelper('bold', function (options) { return new Handlebars.SafeString( '' + options.fn(this) + ''); }); Handlebars.registerHelper('capitalize', function (str) { str = str.toLowerCase().split(' '); // will split the string delimited by space into an array of words for ( var i = 0; i < str.length; i++ ) { // str.length holds the number of occurrences of the array... str[i] = str[i].split(''); // splits the array occurrence into an array of letters str[i][0] = str[i][0].toUpperCase(); // converts the first occurrence of the array to uppercase str[i] = str[i].join(''); // converts the array of letters back into a word. } return str.join(' '); }); Handlebars.registerHelper('uppercase', function (str) { return str.toUpperCase(); });
Advanced Search Options
Brands:
Price Range: