${(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
` })()}
Search
Log in
Create an account
${data.data && data.data.count}
Home
New In
Japanese Dress
Dresses
Linen & Cotton Dresses
Maxi Dresses
Casual Dresses
Bodycon Dresses
Party Dresses
Floral Dress
Mini Dresses
Vacation Dresses
Midi Dresses
Sweater Dresses
Tops
Blouses&Shirts
Loose Tops
T-shirts
Vests
Knitwear
Knit Tops
Casual Tops
Tank & Camis
Sweatshirts
Hoodies
Outerwear
Sweaters
Cardigans
Coat
Hoodies
Jackets
Blazer
Sweater Vest
Bottoms
Linen & Cotton Bottoms
Women's Print Pants
Vintage Printed Pants
Printed Jumpsuit
Jumpsuits
Casual Pants
Leggings
Shorts
Romper
Skirts
Suits Set
Cargo Pants
Jeans
Accessories
Gloves & Mittens
Scarfs
Socks&Tights
Bags
Hats
Necklace
DIY Accessories
Warmers
Belts
Home Accessories
Tablecloth
Knitted Blankets
Home Decor
Yarn
Contact Us
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: 68070407, title: "Home", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 68070409, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 68070411, title: "Japanese Dress", url: "\/collections\/japanese-dress", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 68070413, title: "Dresses", url: "\/collections\/dresses", 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: [ ] }, { title: "Midi Dresses", url: "\/collections\/midi-dresses", target: "", levels: 0, children: [ ] }, { title: "Sweater Dresses", url: "\/collections\/sweater-dresses", target: "", levels: 0, children: [ ] }, ] }, { id: 68070435, title: "Tops", url: "\/collections\/tops", target: "", levels: 1, product0: null || {}, children: [ { title: "Blouses&Shirts", url: "\/collections\/blouses-shirts", target: "", levels: 0, children: [ ] }, { title: "Loose Tops", url: "\/collections\/loose-tops", target: "", levels: 0, children: [ ] }, { title: "T-shirts", url: "\/collections\/t-shirts", target: "", levels: 0, children: [ ] }, { title: "Vests ", url: "\/collections\/vests", target: "", levels: 0, children: [ ] }, { title: "Knitwear", url: "\/collections\/knitwear", target: "", levels: 0, children: [ ] }, { title: "Knit Tops", url: "\/collections\/knit-tops", target: "", levels: 0, children: [ ] }, { title: "Casual Tops", url: "\/collections\/casual-tops", target: "", levels: 0, children: [ ] }, { title: "Tank & Camis ", url: "\/collections\/tank-camis", target: "", levels: 0, children: [ ] }, { title: "Sweatshirts ", url: "\/collections\/sweatshirts", target: "", levels: 0, children: [ ] }, { title: "Hoodies", url: "\/collections\/hoodies", target: "", levels: 0, children: [ ] }, ] }, { id: 68070457, title: "Outerwear", url: "\/collections\/outerwear", 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: 68070473, title: "Bottoms ", url: "\/collections\/bottoms", target: "", levels: 1, product0: null || {}, children: [ { title: "Linen & Cotton Bottoms", url: "\/collections\/linen-cotton-bottoms", target: "", levels: 0, children: [ ] }, { title: "Women's Print Pants", url: "\/collections\/womens-print-pants", target: "", levels: 0, children: [ ] }, { title: "Vintage Printed Pants", url: "\/collections\/vintage-printed-pants", target: "", levels: 0, children: [ ] }, { title: "Printed Jumpsuit", url: "\/collections\/printed-jumpsuit", 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: [ ] }, { title: "Jeans", url: "\/collections\/jeans", target: "", levels: 0, children: [ ] }, ] }, { id: 68070501, title: "Accessories", url: "\/collections\/accessories", target: "", levels: 1, product0: null || {}, children: [ { title: "Gloves & Mittens", url: "\/collections\/gloves-mittens", 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: 68070521, title: "Home Accessories", url: "\/collections\/home-accessories", 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: [ ] }, { title: "Yarn", url: "\/collections\/yarn", target: "", levels: 0, children: [ ] }, ] }, { id: 68070531, title: "Contact Us", url: "\/pages\/contact-us", target: "", levels: 0, product0: 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}
Search
${(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
New In
Japanese Dress
Dresses
Dresses
Linen & Cotton Dresses
Maxi Dresses
Casual Dresses
Bodycon Dresses
Party Dresses
Floral Dress
Mini Dresses
Vacation Dresses
Midi Dresses
Sweater Dresses
Tops
Tops
Blouses&Shirts
Loose Tops
T-shirts
Vests
Knitwear
Knit Tops
Casual Tops
Tank & Camis
Sweatshirts
Hoodies
Outerwear
Outerwear
Sweaters
Cardigans
Coat
Hoodies
Jackets
Blazer
Sweater Vest
Bottoms
Bottoms
Linen & Cotton Bottoms
Women's Print Pants
Vintage Printed Pants
Printed Jumpsuit
Jumpsuits
Casual Pants
Leggings
Shorts
Romper
Skirts
Suits Set
Cargo Pants
Jeans
Accessories
Accessories
Gloves & Mittens
Scarfs
Socks&Tights
Bags
Hats
Necklace
DIY Accessories
Warmers
Belts
Home Accessories
Home Accessories
Tablecloth
Knitted Blankets
Home Decor
Yarn
Contact Us
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(); })();
Casual Pants
395 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
Save
$6.57
Save
$6.57
Cotton Linen Wide Leg Pants for Women
$18.25
$24.82
+4
Add to cart
Choose an option
Black-S/
$18.25
$24.82
Black-M/
$18.25
$24.82
Black-L/
$18.25
$24.82
Black-XL/
$18.25
$24.82
Black-XXL/
$18.25
$24.82
Black-XXXL/
$18.25
$24.82
Blue-S/
$18.25
$24.82
Blue-M/
$18.25
$24.82
Blue-L/
$18.25
$24.82
Blue-XL/
$18.25
$24.82
Blue-XXL/
$18.25
$24.82
Blue-XXXL/
$18.25
$24.82
Dark Grey-S/
$18.25
$24.82
Dark Grey-M/
$18.25
$24.82
Dark Grey-L/
$18.25
$24.82
Dark Grey-XL/
$18.25
$24.82
Dark Grey-XXL/
$18.25
$24.82
Dark Grey-XXXL/
$18.25
$24.82
Army Green-S/
$18.25
$24.82
Army Green-M/
$18.25
$24.82
Army Green-L/
$18.25
$24.82
Army Green-XL/
$18.25
$24.82
Army Green-XXL/
$18.25
$24.82
Army Green-XXXL/
$18.25
$24.82
Khaki-S/
$18.25
$24.82
Khaki-M/
$18.25
$24.82
Khaki-L/
$18.25
$24.82
Khaki-XL/
$18.25
$24.82
Khaki-XXL/
$18.25
$24.82
Khaki-XXXL/
$18.25
$24.82
White-S/
$18.25
$24.82
White-M/
$18.25
$24.82
White-L/
$18.25
$24.82
White-XL/
$18.25
$24.82
White-XXL/
$18.25
$24.82
White-XXXL/
$18.25
$24.82
Burgundy-S/
$18.25
$24.82
Burgundy-M/
$18.25
$24.82
Burgundy-L/
$18.25
$24.82
Burgundy-XL/
$18.25
$24.82
Burgundy-XXL/
$18.25
$24.82
Burgundy-XXXL/
$18.25
$24.82
Save
$9.20
Save
$9.20
Women's Elastic High Waist Slit Casual Pants
$25.55
$34.75
+2
Add to cart
Choose an option
khaki-XS/
$25.55
$34.75
khaki-S/
$25.55
$34.75
khaki-M/
$25.55
$34.75
khaki-L/
$25.55
$34.75
khaki-XL/
$25.55
$34.75
khaki-XXL/
$25.55
$34.75
khaki-XXXL/
$25.55
$34.75
green-XS/
$25.55
$34.75
green-S/
$25.55
$34.75
green-M/
$25.55
$34.75
green-L/
$25.55
$34.75
green-XL/
$25.55
$34.75
green-XXL/
$25.55
$34.75
green-XXXL/
$25.55
$34.75
black-XS/
$25.55
$34.75
black-S/
$25.55
$34.75
black-M/
$25.55
$34.75
black-L/
$25.55
$34.75
black-XL/
$25.55
$34.75
black-XXL/
$25.55
$34.75
black-XXXL/
$25.55
$34.75
pink-XS/
$25.55
$34.75
pink-S/
$25.55
$34.75
pink-M/
$25.55
$34.75
pink-L/
$25.55
$34.75
pink-XL/
$25.55
$34.75
pink-XXL/
$25.55
$34.75
pink-XXXL/
$25.55
$34.75
blue-XS/
$25.55
$34.75
blue-S/
$25.55
$34.75
blue-M/
$25.55
$34.75
blue-L/
$25.55
$34.75
blue-XL/
$25.55
$34.75
blue-XXL/
$25.55
$34.75
blue-XXXL/
$25.55
$34.75
Save
$8.00
Save
$8.00
Casual Fashion Solid Linen Loose Pocket Wide Leg Pants
$22.22
$30.22
+2
Add to cart
Choose an option
Black-S/
$22.22
$30.22
Black-M/
$22.22
$30.22
Black-L/
$22.22
$30.22
Black-XL/
$22.22
$30.22
Black-XXL/
$22.22
$30.22
Black-XXXL/
$22.22
$30.22
Bean Green-S/
$22.22
$30.22
Bean Green-M/
$22.22
$30.22
Bean Green-L/
$22.22
$30.22
Bean Green-XL/
$22.22
$30.22
Bean Green-XXL/
$22.22
$30.22
Bean Green-XXXL/
$22.22
$30.22
White-S/
$22.22
$30.22
White-M/
$22.22
$30.22
White-L/
$22.22
$30.22
White-XL/
$22.22
$30.22
White-XXL/
$22.22
$30.22
White-XXXL/
$22.22
$30.22
Light Blue-S/
$22.22
$30.22
Light Blue-M/
$22.22
$30.22
Light Blue-L/
$22.22
$30.22
Light Blue-XL/
$22.22
$30.22
Light Blue-XXL/
$22.22
$30.22
Light Blue-XXXL/
$22.22
$30.22
Dark Blue-S/
$22.22
$30.22
Dark Blue-M/
$22.22
$30.22
Dark Blue-L/
$22.22
$30.22
Dark Blue-XL/
$22.22
$30.22
Dark Blue-XXL/
$22.22
$30.22
Dark Blue-XXXL/
$22.22
$30.22
Save
$8.56
Save
$8.56
Women Vintage Striped Shorts Pant Lady High Waist Crimping Slim Short Pant Girl Streetwear Female Stripe Students' Fashion Short
$23.79
$32.35
+3
Add to cart
Choose an option
01 Green-S/
$23.79
$32.35
01 Green-M/
$23.79
$32.35
01 Green-L/
$23.79
$32.35
01 Green-XL/
$23.79
$32.35
01 Green-XXL/
$23.79
$32.35
01 Coffee-S/
$23.79
$32.35
01 Coffee-M/
$23.79
$32.35
01 Coffee-L/
$23.79
$32.35
01 Coffee-XL/
$23.79
$32.35
01 Coffee-XXL/
$23.79
$32.35
01 Blue-S/
$23.79
$32.35
01 Blue-M/
$23.79
$32.35
01 Blue-L/
$23.79
$32.35
01 Blue-XL/
$23.79
$32.35
01 Blue-XXL/
$23.79
$32.35
02 Color-S/
$23.79
$32.35
02 Color-M/
$23.79
$32.35
02 Color-L/
$23.79
$32.35
02 Color-XL/
$23.79
$32.35
02 Color-XXL/
$23.79
$32.35
02 Coffee-S/
$23.79
$32.35
02 Coffee-M/
$23.79
$32.35
02 Coffee-L/
$23.79
$32.35
02 Coffee-XL/
$23.79
$32.35
02 Coffee-XXL/
$23.79
$32.35
03 Green-S/
$23.79
$32.35
03 Green-M/
$23.79
$32.35
03 Green-L/
$23.79
$32.35
03 Green-XL/
$23.79
$32.35
03 Green-XXL/
$23.79
$32.35
Save
$9.71
Save
$9.71
Women Fashion Elastic High Waist Plus Size Casual Pants
$26.96
$36.67
+1
Add to cart
Choose an option
apricot-S 35kg-40kg/
$26.96
$36.67
apricot-M 40kg-45kg/
$26.96
$36.67
apricot-L 45kg-52kg/
$26.96
$36.67
apricot-XL 52kg-60kg/
$26.96
$36.67
apricot-XXL 60kg-70kg/
$26.96
$36.67
apricot-XXXL 70-75kg/
$26.96
$36.67
green-S 35kg-40kg/
$26.96
$36.67
green-M 40kg-45kg/
$26.96
$36.67
green-L 45kg-52kg/
$26.96
$36.67
green-XL 52kg-60kg/
$26.96
$36.67
green-XXL 60kg-70kg/
$26.96
$36.67
green-XXXL 70-75kg/
$26.96
$36.67
black-S 35kg-40kg/
$26.96
$36.67
black-M 40kg-45kg/
$26.96
$36.67
black-L 45kg-52kg/
$26.96
$36.67
black-XL 52kg-60kg/
$26.96
$36.67
black-XXL 60kg-70kg/
$26.96
$36.67
black-XXXL 70-75kg/
$26.96
$36.67
pink-S 35kg-40kg/
$26.96
$36.67
pink-M 40kg-45kg/
$26.96
$36.67
pink-L 45kg-52kg/
$26.96
$36.67
pink-XL 52kg-60kg/
$26.96
$36.67
pink-XXL 60kg-70kg/
$26.96
$36.67
pink-XXXL 70-75kg/
$26.96
$36.67
Women's Summer Casual Loose Harem Elastic Waist Cotton Pants
$22.40
+2
Add to cart
Choose an option
Black/
$22.40
Brown/
$22.40
Orange/
$22.40
White/
$22.40
Yellow/
$22.40
Hannah Smocked Tied High Waist Pants
$38.00
Add to cart
Choose an option
Dust Storm-S/
$38.00
Dust Storm-M/
$38.00
Dust Storm-L/
$38.00
Dust Storm-XL/
$38.00
Artistic personality contrast print casual pocket trousers
$25.99
Add to cart
Choose an option
blue-S/
$25.99
blue-M/
$25.99
blue-L/
$25.99
blue-XL/
$25.99
blue-2XL/
$25.99
Black girl color contrast personalized print casual trousers
$25.99
Add to cart
Choose an option
photo color-S/
$25.99
photo color-M/
$25.99
photo color-L/
$25.99
photo color-XL/
$25.99
photo color-2XL/
$25.99
Black Pride Colorblock Art Wide Leg Pants
$25.99
Add to cart
Choose an option
photo color-S/
$25.99
photo color-M/
$25.99
photo color-L/
$25.99
photo color-XL/
$25.99
photo color-2XL/
$25.99
Contrast Color Fashion Art Print Casual Pocket Trousers
$25.99
Add to cart
Choose an option
blue-S/
$25.99
blue-M/
$25.99
blue-L/
$25.99
blue-XL/
$25.99
blue-2XL/
$25.99
Black Contrast Color Personality Print Casual Trousers
$25.99
Add to cart
Choose an option
photo color-S/
$25.99
photo color-M/
$25.99
photo color-L/
$25.99
photo color-XL/
$25.99
photo color-2XL/
$25.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}