Log in
${data.data.count > 99 ? '99+' : data.data.count}
Search products
More links
Sign in
Create an account
${data.data.count > 99 ? '99+' : data.data.count}
${(function() { if (!data || !data.value) return ''; const searchEmptyLang = "Your search for \"_NAME\" did not yield any results.".replace('_NAME', data.value); return `
View more
${searchEmptyLang}
`; })()}
Login
Please enter email and password.
Email
Email is required.
Enter a valid email address
Password
Password is required.
Password must be between 6-16 characters long.
Forgot password?
Sign in
Don't have an account?
Create one
${ Object.keys((data && data.login_setting) || {}) .map((type) => { return `
` }) .join("") }
${function() { var selectedVariant = null; selectedVariant = data.variants.find(v => v.available) || data.variants[0]; if (!!selectedVariant) { return `
`; } return `
-
`; }()}
Quantity
Add to cart
-
${function() { const variantNames = [] || []; const variantStyle = "button"; let thumbSwitchName = ''; return (data.product.options || []).map((option, index) => { const optionName = option.name || ''; const position = `option${index + 1}`; let isThumbImage = false; if (data.product.need_variant_image && thumbSwitchName == '') { for (let i = 0, len = variantNames.length; i < len; i++) { const name = variantNames[i].toLowerCase(); if (name == optionName.toLowerCase()) { isThumbImage = true; thumbSwitchName = name; break; } } } return (variantStyle == 'button' || isThumbImage) ? `
${option.name}
${option.values.map(value => { let selected = ''; selected = data.selectedValues[optionName] == value ? 'selected' : ''; let thumbImage = null; if (isThumbImage) { const variants = data.product.variants; for (let i = 0, len = variants.length; i < len; i++) { const variant = variants[i]; if (variant[position] == value && thumbImage == null) { thumbImage = variant.image; break; } } } return `
${isThumbImage ? `
` : `
${value}
`}
`; }).join('')}
` : `
${option.name}
${option.values.map(value => { let selected = ''; selected = data.selectedValues[optionName] == value ? 'selected' : ''; return `
${value}
`; }).join('')}
`; }).join(''); }()}
Sold out
Save ${function() { const productVariants = data.variants || []; const price = data.price; let compareAtPrice = data.compare_at_price; let offRatio = data.off_ratio; for (let i = 0, len = productVariants.length; i < len; i++) { const variant = productVariants[i]; if (variant.price == price && compareAtPrice < variant.compare_at_price) { compareAtPrice = variant.compare_at_price; offRatio = variant.off_ratio; } } const diffPrice = compareAtPrice - price; return `
`; }()}