${(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}
Add to cart
Add to cart
Choose an option
${variant.title}/
Sold out
` })()}
Free Shipping Order $59+
Free Shipping Order $59+
Search
Log in
Create an account
${data.data && data.data.count}
Home
New In
Dresses
Linen & Cotton Dresses
Maxi Dresses
Casual Dresses
Bodycon Dresses
Party Dresses
Floral Dress
Mini Dresses
Vacation Dresses
Tops
Knitwear
Knit Tops
Vests
Casual Tops
Casual Tops
Blouses&Shirts
Tank & Camis
T-shirts
Outerwear
Sweaters
Cardigans
Coat
Hoodies
Jackets
Blazer
Sweater Vest
Bottoms
Linen & Cotton Bottoms
Jumpsuits
Casual Pants
Leggings
Shorts
Romper
Skirts
Suits Set
Cargo Pants
Accessories
Gloves
Scarfs
Socks&Tights
Bags
Hats
Necklace
DIY Accessories
Warmers
Belts
Home Accessories
Tablecloth
Knitted Blankets
Home Decor
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: 55638339, title: "Home", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 55638341, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 55638343, title: "Dresses", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Linen & Cotton Dresses", url: "\/collections\/linen-cotton-dresses", target: "", levels: 0, children: [ ] }, { title: "Maxi Dresses", url: "\/collections\/maxi-dresses", target: "", levels: 0, children: [ ] }, { title: "Casual Dresses", url: "\/collections\/casual-dresses", target: "", levels: 0, children: [ ] }, { title: "Bodycon Dresses", url: "\/collections\/bodycon-dresses", target: "", levels: 0, children: [ ] }, { title: "Party Dresses", url: "\/collections\/party-dresses", target: "", levels: 0, children: [ ] }, { title: "Floral Dress", url: "\/collections\/floral-dresses", target: "", levels: 0, children: [ ] }, { title: "Mini Dresses", url: "\/collections\/mini-dresses", target: "", levels: 0, children: [ ] }, { title: "Vacation Dresses", url: "\/collections\/vacation-dresses", target: "", levels: 0, children: [ ] }, ] }, { id: 55638361, title: "Tops", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Knitwear", url: "\/collections\/knitwear", target: "", levels: 0, children: [ ] }, { title: "Knit Tops", url: "\/collections\/knit-tops", target: "", levels: 0, children: [ ] }, { title: "Vests ", url: "\/collections\/vests", target: "", levels: 0, children: [ ] }, { title: "Casual Tops", url: "\/collections\/casual-tops", target: "", levels: 0, children: [ ] }, { title: "Casual Tops", url: "\/collections\/casual-tops", target: "", levels: 0, children: [ ] }, { title: "Blouses&Shirts", url: "\/collections\/blouses-shirts", target: "", levels: 0, children: [ ] }, { title: "Tank & Camis ", url: "\/collections\/tank-camis", target: "", levels: 0, children: [ ] }, { title: "T-shirts", url: "\/collections\/t-shirts", target: "", levels: 0, children: [ ] }, ] }, { id: 55638379, title: "Outerwear", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Sweaters ", url: "\/collections\/sweaters", target: "", levels: 0, children: [ ] }, { title: "Cardigans", url: "\/collections\/cardigan", target: "", levels: 0, children: [ ] }, { title: "Coat ", url: "\/collections\/womens-coat", target: "", levels: 0, children: [ ] }, { title: "Hoodies ", url: "\/collections\/hoodies", target: "", levels: 0, children: [ ] }, { title: "Jackets ", url: "\/collections\/jackets", target: "", levels: 0, children: [ ] }, { title: "Blazer ", url: "\/collections\/blazer", target: "", levels: 0, children: [ ] }, { title: "Sweater Vest", url: "\/collections\/sweater-vest", target: "", levels: 0, children: [ ] }, ] }, { id: 55638395, title: "Bottoms ", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Linen & Cotton Bottoms", url: "\/collections\/linen-cotton-bottoms", target: "", levels: 0, children: [ ] }, { title: "Jumpsuits ", url: "\/collections\/jumpsuits", target: "", levels: 0, children: [ ] }, { title: "Casual Pants", url: "\/collections\/casual-pants", target: "", levels: 0, children: [ ] }, { title: "Leggings ", url: "\/collections\/leggings", target: "", levels: 0, children: [ ] }, { title: "Shorts ", url: "\/collections\/shorts", target: "", levels: 0, children: [ ] }, { title: "Romper ", url: "\/collections\/romper", target: "", levels: 0, children: [ ] }, { title: "Skirts ", url: "\/collections\/skirts", target: "", levels: 0, children: [ ] }, { title: "Suits Set", url: "\/collections\/suits-set", target: "", levels: 0, children: [ ] }, { title: "Cargo Pants", url: "\/collections\/cargo-pants", target: "", levels: 0, children: [ ] }, ] }, { id: 55638415, title: "Accessories", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Gloves ", url: "\/collections\/gloves", target: "", levels: 0, children: [ ] }, { title: "Scarfs ", url: "\/collections\/scarfs", target: "", levels: 0, children: [ ] }, { title: "Socks&Tights", url: "\/collections\/socks-tights", target: "", levels: 0, children: [ ] }, { title: "Bags ", url: "\/collections\/bags", target: "", levels: 0, children: [ ] }, { title: "Hats ", url: "\/collections\/hats", target: "", levels: 0, children: [ ] }, { title: "Necklace ", url: "\/collections\/necklace", target: "", levels: 0, children: [ ] }, { title: "DIY Accessories", url: "\/collections\/diy-accessories", target: "", levels: 0, children: [ ] }, { title: "Warmers ", url: "\/collections\/warmers", target: "", levels: 0, children: [ ] }, { title: "Belts", url: "\/collections\/belts", target: "", levels: 0, children: [ ] }, ] }, { id: 55638435, title: "Home Accessories", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Tablecloth ", url: "\/collections\/tablecloth", target: "", levels: 0, children: [ ] }, { title: "Knitted Blankets", url: "\/collections\/knitted-blankets", target: "", levels: 0, children: [ ] }, { title: "Home Decor", url: "\/collections\/home-decor", target: "", levels: 0, 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}
Search
Home
New In
Dresses
Linen & Cotton Dresses
Maxi Dresses
Casual Dresses
Bodycon Dresses
Party Dresses
Floral Dress
Mini Dresses
Vacation Dresses
Tops
Knitwear
Knit Tops
Vests
Casual Tops
Casual Tops
Blouses&Shirts
Tank & Camis
T-shirts
Outerwear
Sweaters
Cardigans
Coat
Hoodies
Jackets
Blazer
Sweater Vest
Bottoms
Linen & Cotton Bottoms
Jumpsuits
Casual Pants
Leggings
Shorts
Romper
Skirts
Suits Set
Cargo Pants
Accessories
Gloves
Scarfs
Socks&Tights
Bags
Hats
Necklace
DIY Accessories
Warmers
Belts
Home Accessories
Tablecloth
Knitted Blankets
Home Decor
${(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.
` })()}
(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(); })();
Linen & Cotton Bottoms
313 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
Filter
Sort by
Recommend
Price, low to high
Price, high to low
Newest in
Total sales, high to low
Purchases, high to low
Pageviews, high to low
Sort
Sort by
Recommend
Price, low to high
Price, high to low
Newest in
Total sales, high to low
Purchases, high to low
Pageviews, high to low
Sort
Casual Plain Pockets Women Pants
$26.29
+3
Add to cart
Choose an option
Army Green-S/
$26.29
Army Green-M/
$26.29
Army Green-L/
$26.29
Army Green-XL/
$26.29
Army Green-XXL/
$26.29
Army Green-3XL/
$26.29
Army Green-4XL/
$26.29
Army Green-5XL/
$26.29
Khaki-S/
$26.29
Khaki-M/
$26.29
Khaki-L/
$26.29
Khaki-XL/
$26.29
Khaki-XXL/
$26.29
Khaki-3XL/
$26.29
Khaki-4XL/
$26.29
Khaki-5XL/
$26.29
Gray-S/
$26.29
Gray-M/
$26.29
Gray-L/
$26.29
Gray-XL/
$26.29
Gray-XXL/
$26.29
Gray-3XL/
$26.29
Gray-4XL/
$26.29
Gray-5XL/
$26.29
Blue-S/
$26.29
Blue-M/
$26.29
Blue-L/
$26.29
Blue-XL/
$26.29
Blue-XXL/
$26.29
Blue-3XL/
$26.29
Blue-4XL/
$26.29
Blue-5XL/
$26.29
Black-S/
$26.29
Black-M/
$26.29
Black-L/
$26.29
Black-XL/
$26.29
Black-XXL/
$26.29
Black-3XL/
$26.29
Black-4XL/
$26.29
Black-5XL/
$26.29
Rust-S/
$26.29
Rust-M/
$26.29
Rust-L/
$26.29
Rust-XL/
$26.29
Rust-XXL/
$26.29
Rust-3XL/
$26.29
Rust-4XL/
$26.29
Rust-5XL/
$26.29
Solid Drawstring Casual Linen Pants Women Trousers
$23.90
Add to cart
Choose an option
Green-S/
$23.90
Green-M/
$23.90
Green-L/
$23.90
Green-XL/
$23.90
Green-XXL/
$23.90
Green-3XL/
$23.90
Green-4XL/
$23.90
White Casual Solid Pants
$39.95
+1
Add to cart
Choose an option
White-S/
$39.95
White-M/
$39.95
White-L/
$39.95
White-XL/
$39.95
White-XXL/
$39.95
White-3XL/
$39.95
black-S/
$39.95
black-M/
$39.95
black-L/
$39.95
black-XL/
$39.95
black-XXL/
$39.95
black-3XL/
$39.95
Light blue-S/
$39.95
Light blue-M/
$39.95
Light blue-L/
$39.95
Light blue-XL/
$39.95
Light blue-XXL/
$39.95
Light blue-3XL/
$39.95
Pink-S/
$39.95
Pink-M/
$39.95
Pink-L/
$39.95
Pink-XL/
$39.95
Pink-XXL/
$39.95
Pink-3XL/
$39.95
2022 High Waist Buttoned Trousers Vintage All Match Wide Legs Pants Streetwear Women Elegant Solid Long Pants New
$21.27
+3
Add to cart
Choose an option
01 White-S/
$21.27
01 White-M/
$21.27
01 White-L/
$21.27
01 White-XL/
$21.27
01 White-XXL/
$21.27
02 Khaki-S/
$21.27
02 Khaki-M/
$21.27
02 Khaki-L/
$21.27
02 Khaki-XL/
$21.27
02 Khaki-XXL/
$21.27
03 Black-S/
$21.27
03 Black-M/
$21.27
03 Black-L/
$21.27
03 Black-XL/
$21.27
03 Black-XXL/
$21.27
04 Wine Red-S/
$21.27
04 Wine Red-M/
$21.27
04 Wine Red-L/
$21.27
04 Wine Red-XL/
$21.27
04 Wine Red-XXL/
$21.27
05 Navy Blue-S/
$21.27
05 Navy Blue-M/
$21.27
05 Navy Blue-L/
$21.27
05 Navy Blue-XL/
$21.27
05 Navy Blue-XXL/
$21.27
06 Olive Green-S/
$21.27
06 Olive Green-M/
$21.27
06 Olive Green-L/
$21.27
06 Olive Green-XL/
$21.27
06 Olive Green-XXL/
$21.27
Casual Solid Pants
$29.98
+1
Add to cart
Choose an option
White-S/
$29.98
White-M/
$29.98
White-L/
$29.98
White-XL/
$29.98
White-XXL/
$29.98
White-3XL/
$29.98
Gray-S/
$29.98
Gray-M/
$29.98
Gray-L/
$29.98
Gray-XL/
$29.98
Gray-XXL/
$29.98
Gray-3XL/
$29.98
Khaki-S/
$29.98
Khaki-M/
$29.98
Khaki-L/
$29.98
Khaki-XL/
$29.98
Khaki-XXL/
$29.98
Khaki-3XL/
$29.98
Black-S/
$29.98
Black-M/
$29.98
Black-L/
$29.98
Black-XL/
$29.98
Black-XXL/
$29.98
Black-3XL/
$29.98
Solid Cotton-Blend Pants
$24.62
+2
Add to cart
Choose an option
Deep Gray-S/
$24.62
Deep Gray-M/
$24.62
Deep Gray-L/
$24.62
Deep Gray-XL/
$24.62
Deep Gray-XXL/
$24.62
Deep Gray-3XL/
$24.62
Light Gray-S/
$24.62
Light Gray-M/
$24.62
Light Gray-L/
$24.62
Light Gray-XL/
$24.62
Light Gray-XXL/
$24.62
Light Gray-3XL/
$24.62
Brown-S/
$24.62
Brown-M/
$24.62
Brown-L/
$24.62
Brown-XL/
$24.62
Brown-XXL/
$24.62
Brown-3XL/
$24.62
Deep Blue-S/
$24.62
Deep Blue-M/
$24.62
Deep Blue-L/
$24.62
Deep Blue-XL/
$24.62
Deep Blue-XXL/
$24.62
Deep Blue-3XL/
$24.62
Black-S/
$24.62
Black-M/
$24.62
Black-L/
$24.62
Black-XL/
$24.62
Black-XXL/
$24.62
Black-3XL/
$24.62
Pockets Casual Cotton-Blend Pants
$26.07
Add to cart
Choose an option
Army Green-M/
$26.07
Army Green-L/
$26.07
Army Green-XL/
$26.07
Army Green-XXL/
$26.07
Army Green-3XL/
$26.07
Plain Cotton-Blend Pants
$24.50
+1
Add to cart
Choose an option
Light Gray-S/
$24.50
Light Gray-M/
$24.50
Light Gray-L/
$24.50
Light Gray-XL/
$24.50
Light Gray-XXL/
$24.50
Light Gray-3XL/
$24.50
Black-S/
$24.50
Black-M/
$24.50
Black-L/
$24.50
Black-XL/
$24.50
Black-XXL/
$24.50
Black-3XL/
$24.50
Light Blue-S/
$24.50
Light Blue-M/
$24.50
Light Blue-L/
$24.50
Light Blue-XL/
$24.50
Light Blue-XXL/
$24.50
Light Blue-3XL/
$24.50
Brown-S/
$24.50
Brown-M/
$24.50
Brown-L/
$24.50
Brown-XL/
$24.50
Brown-XXL/
$24.50
Brown-3XL/
$24.50
Cotton-Blend Pockets Solid Pants
$25.82
+3
Add to cart
Choose an option
Black-S/
$25.82
Black-M/
$25.82
Black-L/
$25.82
Black-XL/
$25.82
Black-XXL/
$25.82
Black-3XL/
$25.82
Black-4XL/
$25.82
Black-5XL/
$25.82
White-S/
$25.82
White-M/
$25.82
White-L/
$25.82
White-XL/
$25.82
White-XXL/
$25.82
White-3XL/
$25.82
White-4XL/
$25.82
White-5XL/
$25.82
Grey-S/
$25.82
Grey-M/
$25.82
Grey-L/
$25.82
Grey-XL/
$25.82
Grey-XXL/
$25.82
Grey-3XL/
$25.82
Grey-4XL/
$25.82
Grey-5XL/
$25.82
Dark Blue-S/
$25.82
Dark Blue-M/
$25.82
Dark Blue-L/
$25.82
Dark Blue-XL/
$25.82
Dark Blue-XXL/
$25.82
Dark Blue-3XL/
$25.82
Dark Blue-4XL/
$25.82
Dark Blue-5XL/
$25.82
Light Blue-S/
$25.82
Light Blue-M/
$25.82
Light Blue-L/
$25.82
Light Blue-XL/
$25.82
Light Blue-XXL/
$25.82
Light Blue-3XL/
$25.82
Light Blue-4XL/
$25.82
Light Blue-5XL/
$25.82
Coffee-S/
$25.82
Coffee-M/
$25.82
Coffee-L/
$25.82
Coffee-XL/
$25.82
Coffee-XXL/
$25.82
Coffee-3XL/
$25.82
Coffee-4XL/
$25.82
Coffee-5XL/
$25.82
Women's Plus Size Casual Pockets Pants
$19.99
+2
Add to cart
Choose an option
Beige-S/
$19.99
Beige-M/
$19.99
Beige-L/
$19.99
Beige-XL/
$19.99
Beige-XXL/
$19.99
Beige-3XL/
$19.99
Beige-4XL/
$19.99
Beige-5XL/
$19.99
Black-S/
$19.99
Black-M/
$19.99
Black-L/
$19.99
Black-XL/
$19.99
Black-XXL/
$19.99
Black-3XL/
$19.99
Black-4XL/
$19.99
Black-5XL/
$19.99
Green-S/
$19.99
Green-M/
$19.99
Green-L/
$19.99
Green-XL/
$19.99
Green-XXL/
$19.99
Green-3XL/
$19.99
Green-4XL/
$19.99
Green-5XL/
$19.99
Khaki-S/
$19.99
Khaki-M/
$19.99
Khaki-L/
$19.99
Khaki-XL/
$19.99
Khaki-XXL/
$19.99
Khaki-3XL/
$19.99
Khaki-4XL/
$19.99
Khaki-5XL/
$19.99
Blue-S/
$19.99
Blue-M/
$19.99
Blue-L/
$19.99
Blue-XL/
$19.99
Blue-XXL/
$19.99
Blue-3XL/
$19.99
Blue-4XL/
$19.99
Blue-5XL/
$19.99
Women Elastic Waist Vintage Embroidery Cotton Linen Wide Leg Pants
$40.78
+1
Add to cart
Choose an option
Black-M/
$40.78
Black-L/
$40.78
Black-XL/
$40.78
Black-XXL/
$40.78
Black-XXXL/
$40.78
light blue-M/
$40.78
light blue-L/
$40.78
light blue-XL/
$40.78
light blue-XXL/
$40.78
light blue-XXXL/
$40.78
Light khaki-M/
$40.78
Light khaki-L/
$40.78
Light khaki-XL/
$40.78
Light khaki-XXL/
$40.78
Light khaki-XXXL/
$40.78
White-M/
$40.78
White-L/
$40.78
White-XL/
$40.78
White-XXL/
$40.78
White-XXXL/
$40.78
Plus Size Solid Casual Pockets Pants
$27.99
+2
Add to cart
Choose an option
Beige-S/
$27.99
Beige-M/
$27.99
Beige-L/
$27.99
Beige-XL/
$27.99
Beige-XXL/
$27.99
Beige-3XL/
$27.99
Beige-4XL/
$27.99
Beige-5XL/
$27.99
Black-S/
$27.99
Black-M/
$27.99
Black-L/
$27.99
Black-XL/
$27.99
Black-XXL/
$27.99
Black-3XL/
$27.99
Black-4XL/
$27.99
Black-5XL/
$27.99
Navy Blue-S/
$27.99
Navy Blue-M/
$27.99
Navy Blue-L/
$27.99
Navy Blue-XL/
$27.99
Navy Blue-XXL/
$27.99
Navy Blue-3XL/
$27.99
Navy Blue-4XL/
$27.99
Navy Blue-5XL/
$27.99
Khaki-S/
$27.99
Khaki-M/
$27.99
Khaki-L/
$27.99
Khaki-XL/
$27.99
Khaki-XXL/
$27.99
Khaki-3XL/
$27.99
Khaki-4XL/
$27.99
Khaki-5XL/
$27.99
Green-S/
$27.99
Green-M/
$27.99
Green-L/
$27.99
Green-XL/
$27.99
Green-XXL/
$27.99
Green-3XL/
$27.99
Green-4XL/
$27.99
Green-5XL/
$27.99
No products found
Use fewer filters or
clear all
Recently Viewed
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}
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}