Product Details: Product ID:DW0251QOG1 Gender: For Women Style: Casual Fit Type:FIt Shirt Length: Regular Sleeves Length: No Sleeve Collar: V- Collar Material: 70% Cotton 30%Linen Material Stretch: No Stretch Pocket : side pocket Weight: 0.300kg Package: 1 x Dress Size Guide For Women| Size | UK | US | EUR | Length | Chest | Hip |
|---|
| S | 8~10 | 4~6 | 34~36 | 119 | 98 | 104 | | M | 12~14 | 8~10 | 38~40 | 120 | 104 | 110 | | L | 16 | 12 | 42~44 | 122 | 110 | 116 | | XL | 18 | 14 | 46 | 124 | 116 | 122 | | 2XL | 20 | 16~18 | 48 | 124 | 126 | 132 | | 3XL | 26 | 20~22 | 50~52 | 124 | 136 | 142 |
${function(){
console.log('quick-shop-render',data);
const productData = data.product;
let product_change_event = '',
mouse_over_event = ' ';
mouse_out_event = '';
const product_options = productData.options.filter(Boolean) || [];
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 `
`
}()}
${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 `
`
}()}
${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 = {"id":"05f01029-c446-40e5-bdb5-fc3008c51e2a","product_id":"71dc7c0a-eef2-4dc4-a41e-c7b29b3f8cc2","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"161G-260227-12-DW0251QOG1-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3130dcb3f662ebb843a71781272140b9.webp","path":"3130dcb3f662ebb843a71781272140b9.webp","width":1624,"height":2165,"alt":"","aspect_ratio":0.7501154734411085},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.99","retail_price":"0","available":true,"url":"\/products\/womens-vintage-ethnic-paisley-floral-art-printed-casual-bohemian-v-neck-sleeveless-dressesb6d5e1dd-9e6f-4c5a-855b-8d25ec668581?variant=05f01029-c446-40e5-bdb5-fc3008c51e2a","available_quantity":999999999,"options":[{"name":"color","value":"Multicolor"},{"name":"size","value":"S"}],"off_ratio":"0","flashsale_info":{"variant_id":"05f01029-c446-40e5-bdb5-fc3008c51e2a","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"37.99","compare_at_price":"","discount_price":"37.99","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
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(){
const optionName = option.name || '';
const optionId = option.id || '';
let isThumbImage = !!option.showThumbImage;
const thumbStyle = "image_with_text";
const variantType = "button";
const isSelected = (value) => {
const selected = (data.selectedOptions || []).find(v => v.name === optionName);
return selected && selected.value.length && selected.value[0] == value;
};
const getThumbImage = (value) => {
const options = data.product.options || [];
const option = options.find(o => o.name === optionName);
if (option.thumbImages) {
const thumbImage = option.thumbImages.find(t => t.value === value);
if (thumbImage && thumbImage.image) {
return {
src: thumbImage.image.src,
alt: thumbImage.image.alt
};
}
}
return {src: '', alt: ''};
};
return `
`
}()}
${data.value}
|