${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "133.33%"; const product_image = data.image; const secondary_image = data.secondImage; const image_width = product_image.width; let image_height = product_image.height; if(setting_product_image_display == '100%'){ image_height = image_width }else if(setting_product_image_display == '133.33%'){ image_height = image_width * 1.3333; }; const product_image_hover_on = true && !!secondary_image.src; const has_save_label = true && ((+data.compare_at_price) > (+data.price)); const is_single_variant = data.variants.length == 1; const min_price_variant_href = (data.min_price_variant && data.min_price_variant.available) ? data.min_price_variant.withinUrl : data.withinUrl; const retail_price_max = data.retail_price_max || data.compare_at_price_max; const THUMBNAILS_MAX_SIZE = 3; const thumbnails = data.thumbVariants.slice(0, THUMBNAILS_MAX_SIZE); const image_wrap_id = 'image_wrap_' + get_random_six_digits(); const image_carousel_id = 'image_carousel_' + get_random_six_digits(); const thumbnails_selector_id = 'thumbnails_selector_' + get_random_six_digits(); const form_id = 'form_' + get_random_six_digits(); const mixed_wholesale = data.mixed_wholesale; return `
${ data.available ? `${ (+data.compare_at_price > +data.price) ? `Save
` : '' }` : "Sold out" }
Mixed Lot
${data.title}
${ data.price_min != data.price_max ? `from
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
Free shipping on order of $69+/10% off code:EL10
Free shipping on order of $69+/10% off code:EL10
Log in
Create an account
${data.data && data.data.count}
Home
Hot Sale
New Arrivals
Icelandic Sweater
Aran Sweater
Wool Dress
Men's
Vintage Fairman Island Knit Jacquard Crew Neck Sweater
$30.99
Cute Cats
Cool Cats
Japanese Art Black Cat Print Washed Hat
$12.99
+4
Scotland Travel
Merry Christmas
Natural Wildflower
Floral lovers
Flying Cranes
Violet Wildflower Embroidery Art Cozy Hooded Cardigan
$35.99
Lovely Dogs
Ocean
Japanese Art
Femkit
Horror Style
Beetlejuice
Horror Movie
Horror Movie Striped Print Crew Neck Sweatshirt
$23.99
Grizzly 399
Vintage Sweater
La Catrina Day
Linen Style
Tribal style
Happy Farm
Insects
Daisy Bee Embroidery Art Print Cozy Knit Hooded Cardigan
$35.99
Mental Health
Breast Cancer Prevention Awareness
Stranger Things
More links
${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 72034609, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034611, title: "Hot Sale", url: "\/collections\/hot-sale", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034613, title: "New Arrivals", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034615, title: "Icelandic Sweater", url: "\/collections\/icelandic-sweater", target: "", levels: 1, product0: { id: ("df97372e-5523-4d72-b0c3-7d825a30cc44") }, children: [ { title: "Aran Sweater", url: "\/collections\/aran-sweater", target: "", levels: 0, children: [ ] }, { title: "Wool Dress", url: "\/collections\/wool-dress", target: "", levels: 0, children: [ ] }, { title: "Men's", url: "\/collections\/mens-p2c7", target: "", levels: 0, children: [ ] }, ] }, { id: 72034623, title: " Cute Cats", url: "\/collections\/cute-cats", target: "", levels: 1, product0: { id: ("36adc665-89cc-44f7-8c9e-af9bcb256ffd") }, children: [ { title: " Cool Cats", url: "\/collections\/cool-cats", target: "", levels: 0, children: [ ] }, ] }, { id: 72034627, title: "Scotland Travel", url: "\/collections\/scotland-travel", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034629, title: "Merry Christmas", url: "\/collections\/merry-christmas", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034631, title: "Natural Wildflower", url: "\/collections\/natural-wildflower", target: "", levels: 1, product0: { id: ("607eb4db-1b48-402a-9862-ffc2069bc229") }, children: [ { title: "Floral lovers", url: "\/collections\/floral-lovers", target: "", levels: 0, children: [ ] }, { title: "Flying Cranes", url: "\/collections\/flying-cranes", target: "", levels: 0, children: [ ] }, ] }, { id: 72034637, title: "Lovely Dogs", url: "\/collections\/lovely-dogs", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034639, title: " Ocean", url: "\/collections\/ocean", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034641, title: "Japanese Art", url: "\/collections\/japanese-art", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034643, title: "Femkit", url: "\/collections\/femkit", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034645, title: "Horror Style", url: "\/collections\/halloween", target: "", levels: 1, product0: { id: ("82dd782f-e363-477f-9d7e-4724ab046130") }, children: [ { title: "Beetlejuice", url: "\/collections\/beetlejuice", target: "", levels: 0, children: [ ] }, { title: "Horror Movie ", url: "\/collections\/horror-style", target: "", levels: 0, children: [ ] }, ] }, { id: 72034651, title: "Grizzly 399", url: "\/collections\/grizzly-399", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034653, title: "Vintage Sweater", url: "\/collections\/vintage-sweater", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034655, title: "La Catrina Day", url: "\/collections\/la-catrina-day", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034657, title: " Linen Style", url: "\/collections\/linen-style", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034659, title: "Tribal style", url: "\/collections\/elven-style", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034661, title: "Happy Farm", url: "\/collections\/happy-farm", target: "", levels: 1, product0: { id: ("e5b2f6ce-70e9-4e32-9c01-5f65ba5a61e0") }, children: [ { title: " Insects", url: "\/collections\/insects", target: "", levels: 0, children: [ ] }, ] }, { id: 72034665, title: "Mental Health", url: "\/collections\/mental-health", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034667, title: "Breast Cancer Prevention Awareness", url: "\/collections\/breast-cancer-prevention-awareness", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034669, title: "Stranger Things", url: "\/collections\/stranger-things", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
Home
Hot Sale
New Arrivals
Icelandic Sweater
Aran Sweater
Wool Dress
Men's
Vintage Fairman Island Knit Jacquard Crew Neck Sweater
$30.99
Cute Cats
Cool Cats
Japanese Art Black Cat Print Washed Hat
$12.99
+4
Scotland Travel
Merry Christmas
Natural Wildflower
Floral lovers
Flying Cranes
Violet Wildflower Embroidery Art Cozy Hooded Cardigan
$35.99
Lovely Dogs
Ocean
Japanese Art
Femkit
Horror Style
Beetlejuice
Horror Movie
Horror Movie Striped Print Crew Neck Sweatshirt
$23.99
Grizzly 399
Vintage Sweater
La Catrina Day
Linen Style
Tribal style
Happy Farm
Insects
Daisy Bee Embroidery Art Print Cozy Knit Hooded Cardigan
$35.99
Mental Health
Breast Cancer Prevention Awareness
Stranger Things
More links
${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 72034609, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034611, title: "Hot Sale", url: "\/collections\/hot-sale", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034613, title: "New Arrivals", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034615, title: "Icelandic Sweater", url: "\/collections\/icelandic-sweater", target: "", levels: 1, product0: { id: ("df97372e-5523-4d72-b0c3-7d825a30cc44") }, children: [ { title: "Aran Sweater", url: "\/collections\/aran-sweater", target: "", levels: 0, children: [ ] }, { title: "Wool Dress", url: "\/collections\/wool-dress", target: "", levels: 0, children: [ ] }, { title: "Men's", url: "\/collections\/mens-p2c7", target: "", levels: 0, children: [ ] }, ] }, { id: 72034623, title: " Cute Cats", url: "\/collections\/cute-cats", target: "", levels: 1, product0: { id: ("36adc665-89cc-44f7-8c9e-af9bcb256ffd") }, children: [ { title: " Cool Cats", url: "\/collections\/cool-cats", target: "", levels: 0, children: [ ] }, ] }, { id: 72034627, title: "Scotland Travel", url: "\/collections\/scotland-travel", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034629, title: "Merry Christmas", url: "\/collections\/merry-christmas", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034631, title: "Natural Wildflower", url: "\/collections\/natural-wildflower", target: "", levels: 1, product0: { id: ("607eb4db-1b48-402a-9862-ffc2069bc229") }, children: [ { title: "Floral lovers", url: "\/collections\/floral-lovers", target: "", levels: 0, children: [ ] }, { title: "Flying Cranes", url: "\/collections\/flying-cranes", target: "", levels: 0, children: [ ] }, ] }, { id: 72034637, title: "Lovely Dogs", url: "\/collections\/lovely-dogs", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034639, title: " Ocean", url: "\/collections\/ocean", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034641, title: "Japanese Art", url: "\/collections\/japanese-art", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034643, title: "Femkit", url: "\/collections\/femkit", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034645, title: "Horror Style", url: "\/collections\/halloween", target: "", levels: 1, product0: { id: ("82dd782f-e363-477f-9d7e-4724ab046130") }, children: [ { title: "Beetlejuice", url: "\/collections\/beetlejuice", target: "", levels: 0, children: [ ] }, { title: "Horror Movie ", url: "\/collections\/horror-style", target: "", levels: 0, children: [ ] }, ] }, { id: 72034651, title: "Grizzly 399", url: "\/collections\/grizzly-399", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034653, title: "Vintage Sweater", url: "\/collections\/vintage-sweater", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034655, title: "La Catrina Day", url: "\/collections\/la-catrina-day", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034657, title: " Linen Style", url: "\/collections\/linen-style", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034659, title: "Tribal style", url: "\/collections\/elven-style", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034661, title: "Happy Farm", url: "\/collections\/happy-farm", target: "", levels: 1, product0: { id: ("e5b2f6ce-70e9-4e32-9c01-5f65ba5a61e0") }, children: [ { title: " Insects", url: "\/collections\/insects", target: "", levels: 0, children: [ ] }, ] }, { id: 72034665, title: "Mental Health", url: "\/collections\/mental-health", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034667, title: "Breast Cancer Prevention Awareness", url: "\/collections\/breast-cancer-prevention-awareness", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034669, title: "Stranger Things", url: "\/collections\/stranger-things", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
Log in
Create an account
${data.data && data.data.count}
${(function(){ if (data === undefined || typeof data !== 'string' || data == '') return '
'; const keyword = encodeURIComponent(data); return `
View more
Your search for '${data}' did not yield any results.
` })()}
Home
Hot Sale
New Arrivals
Icelandic Sweater
Icelandic Sweater
Aran Sweater
Wool Dress
Men's
Cute Cats
Cute Cats
Cool Cats
Scotland Travel
Merry Christmas
Natural Wildflower
Natural Wildflower
Floral lovers
Flying Cranes
Lovely Dogs
Ocean
Japanese Art
Femkit
Horror Style
Horror Style
Beetlejuice
Horror Movie
Grizzly 399
Vintage Sweater
La Catrina Day
Linen Style
Tribal style
Happy Farm
Happy Farm
Insects
Mental Health
Breast Cancer Prevention Awareness
Stranger Things
Log in
(function(){ let w = window.innerWidth; function setHeaderCssVar() { const headerEle = document.getElementById('shoplaza-section-header'); if(!headerEle){ return }; document.body.style.setProperty('--window-height', `${window.innerHeight}px`); document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`); const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide'); if (mdScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`); } const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide'); if (pcScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`); } } function handlResize() { if(w == window.innerWidth){return}; w = window.innerWidth; setHeaderCssVar(); }; function init(){ setHeaderCssVar(); window.removeEventListener('resize', window._theme_header_listener) window._theme_header_listener = handlResize; window.addEventListener('resize', window._theme_header_listener); } init(); })();
Happy Farm
2183 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
Daisy Bee Embroidery Art Print Cozy Knit Hooded Cardigan
$35.99
Daisy Bee Embroidery Art Print Cozy Hooded Cardigan
$35.99
Insects Floral Embroidery Pattern Cozy Knit Hooded Cardigan
$43.99
Flying Bees Embroidery Pattern Cozy Knit Hooded Cardigan
$40.99
Flying Bees Floral Embroidery Pattern Cozy Knit Sweater
$23.99
Fairman Island Flock Print Hooded Sweater Cardigan
$43.99
+2
Vintage Sheep Jacquard Cozy Sweater
$29.99
+1
Vintage Fuzzy Sheep Embroidered Cozy Knit Isle Sweater
$29.99
Colorful Sheep Fleece Cozy Hooded Cardigan
$40.99
Vintage Icelandic Sheep Knitted Cozy Cardigan Sweater
$43.99
Flying Bees Embroidery Cozy Knit Hooded Cardigan
$43.99
Women's Highland Cow Moody Print Vintage Sweatshirt
$23.99
Women's Highland Cow Love Fall Print Vintage Sweatshirt
$23.99
Women's Highland Cow Print Vintage Sweatshirt
$23.99
Women's Highland Cow Leopard Print Vintage Sweatshirt
$23.99
Women's Highland Cow Print Vintage Sweatshirt
$23.99
Women's Highland Cow Print Vintage Sweatshirt
$23.99
Floral Print Elastic Drawstring High Rise Straight Leg Trousers
$28.99
Hummingbird Floral Print V-Neck Long Sleeve Knitted Cardigan
$30.99
Vintage Farm Bee & Flowers Embroidery Art Button Cozy Knit Sweater
$35.99
Sunflower & Bee Embroidered Women's Hooded Sweater Cardigan
$43.99
Vintage Sheep Jacquard Iceland Cozy Cardigan
$35.99
Autumn Leaves Art Print V-Neck Cozy Knit Sweater
$32.99
Vintage Colorful Floral Art Printed V Neck Casual Shirt
$27.99
Tree Of Life Print Women's T-Shirt
$20.99
Flying Bees Embroidery Pattern Cozy Tunic
$23.99
Vintage Bee Knitted Jacquard Warm Turtleneck Sweater
$32.99
Horse Pattern Cozy Vintage Knit Sweater
$29.99
Women's Retro Outdoor Sheep Pattern Sweater
$29.99
Floral Patchwork Bird Print Elastic Drawstring High Rise Straight Leg Trousers
$28.99
Insects Floral Embroidery Pattern Cozy Knit Cardigan
$35.99
Vintage Bees And Floral Art Cozy Sweater
$35.99
Women'S Casual Farm Animal Print Hoodie
$25.99
Vintage Flock Jacquard Zip Stand Collar Sweater
$35.99
Bee Flower Print Casual Long Sleeve Hooded Cardigan
$43.99
Bee Print Cozy Knitted Hooded Cardigan
$43.99
Vintage Farm Chicken Crochet Jacquard Button Cozy Sweater
$35.99
Flying Bees Embroidered Linen Blend Jumpsuit
$33.99
Flying Bees Embroidery Pattern Casual Jumpsuit
$33.99
Flying Bees Embroidery Pattern Linen Blend Tunic
$23.99
Daisy Bee Embroidery Art Print V-Neck T-Shirt
$15.99
Women's Casual Bee Printed Short Sleeve T-Shirt
$15.99
Bee Print Long Sleeve Casual Knitted Cardigan
$35.99
Men's Fuzzy Sheep Fleece Embroidered Pattern Cozy Knit Sweater
$29.99
Vintage Farm Butterfly Jacquard Button Cozy Sweater
$35.99
Men's Sheep Wearing Sweaters Pattern Cozy Full Zip Cardigan
$41.99
Flower Bee Print Casual Hooded Cardigan
$43.99
Floral Print Turtleneck Knitted Pullover Sweater
$32.99
Men's Farm Animals Pattern Cozy Knit Sweater
$29.99
Flower Bee Print Long Sleeve Casual Knitted Cardigan
$35.99
Flower Bee Print Casual Long Sleeve Hooded Cardigan
$43.99
Men's Farm Chicken Embroidery Pattern Cozy Knit Sweater
$29.99
Cute Sheeps Print Women's Cozy Sweater Cardigan
$35.99
Daisy Bee Print Casual Long Sleeve Hooded Cardigan
$43.99
Sheep Embroidery Men's Cozy Crew Neck Sweater
$29.99
Christmas Chickens Graphic Cozy Knit Sweater
$27.99
Vintage Farm Chicken & Floral Embroidery Jacquard Button Cozy Sweater
$35.99
Bee Print Long Sleeve Knitted Hooded Cardigan
$43.99
Men's Cute Fluffy Sheep Embroidered Cozy Knit Sweater
$29.99
Vintage Country Farm Dairy Sheep Pattern Knitted Sweater
$29.99
No products found
Use fewer filters or
clear all
Recently Viewed
Cart
Your shopping bag is empty
Continue shopping
${item.product_title}
${item.options.map(option => option.value).join('/')}
${propertie.name}/${propertie.isImage ? `
View image
` : propertie.value}
Free gift
Mixed Lot
*${item.quantity}
${item.item_text}
${discount_item.title}
(-
)
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
${data.invalid_msg}
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
Check out
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
Subtotal:
${discount_application.title}:
-
Total:
Check out
Taxes and shipping calculated at checkout
const summaryStickyRender = document.querySelector('#cart-drawer-summary-sticky-render'); if (summaryStickyRender) { document.body.style.setProperty('--cart-drawer-summary-sticky-height', summaryStickyRender.clientHeight + 'px'); }
View Cart
${function(){ const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; for (let opt of product_options) { product_change_event = product_change_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectData.${opt.name});`; mouse_over_event = mouse_over_event + `@${opt.name}Mouseover="quick-shop-selected-variant-${opt.name}.rerender(data=event);"`; } const selectedVariant = productData.variants.find(v => v.available) || productData.variants[0]; const statusLan = ((selectedVariant && !selectedVariant.available) || (!selectedVariant && !productData.available)) ? "Sold out" : "Add to cart"; return `
${statusLan}
` }()}
${function(){ const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const variantData = currentSelectVariant || defaultVariant || data; const retail_price = variantData.retail_price || 0; return `
Retail
` }()}
${function(){ const wholesale_enabled = false; const qty = data.quantity || 1; const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const productVariant = null; const variantData = currentSelectVariant || defaultVariant || productVariant; const wholesale_price = variantData.wholesale_price || []; if(wholesale_enabled && wholesale_price.length > 0) { let wholesaleIndex = wholesale_price.findIndex(item => { return item.min_quantity > qty; }); if(wholesaleIndex < 0){ wholesaleIndex = wholesale_price.length - 1; }else if(wholesaleIndex > 0){ wholesaleIndex = wholesaleIndex - 1; } const wholesalePrice = wholesale_price[wholesaleIndex] || ''; return `
` }else { const price = variantData && variantData.price; return price != undefined ? `
` : '
'; } }()}
${function() { let variantImageShowed = false; const currentProduct = data.product; return (currentProduct.options || []).map((option, index) => { const optionName = option.name || ''; const position = `option${index + 1}`; let isThumbImage = false; if (currentProduct.need_variant_image && !variantImageShowed) { const variantNames = ["color"] || []; for (let i = 0, len = variantNames.length; i < len; i++) { const name = variantNames[i].toLowerCase(); if (name === optionName.toLowerCase()) { isThumbImage = true; variantImageShowed = true; } } } const variantType = "button"; const thumbStyle = "image_with_text"; return `
${optionName}:
${option.values.map((value, idx) => { const selected = data.selectedValues[optionName] == value ? 'checked' : ''; let thumbImage = null; if (isThumbImage) { const variants = currentProduct.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 `
${value}
` }).join('')}
${optionName}
${option.values.map(value => { const selected = data.selectedValues[optionName] == value ? 'selected' : ''; return `
${value}
` }).join('')}
` }).join(''); }()}
${data.originData && data.originData.value || data.value}