Women Elegant Maxi Slim Bodycon White Lace Dress
${function() {
const variantData = data.variant || {"id":"5f32bf0a-f088-4e21-9dff-8c1d02a0857e","product_id":"524e3b87-fa1d-4204-928c-392786ae461a","title":"white-S","weight_unit":"kg","inventory_quantity":8848,"sku":"","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bb3f7709ec5efb16a34e63b35c21f6cc.jpeg","path":"bb3f7709ec5efb16a34e63b35c21f6cc.jpeg","width":1000,"height":1802,"alt":"","aspect_ratio":0.5549389567147613},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"38.99","retail_price":"0","available":true,"url":"\/products\/women-elegant-maxi-slim-bodycon-white-lace-dress?variant=5f32bf0a-f088-4e21-9dff-8c1d02a0857e","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"\u5c3a\u7801","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
white
${function(){
const optName = "color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
尺码:
S
${function(){
const optName = "尺码";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$38.99
${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":"5f32bf0a-f088-4e21-9dff-8c1d02a0857e","product_id":"524e3b87-fa1d-4204-928c-392786ae461a","title":"white-S","weight_unit":"kg","inventory_quantity":8848,"sku":"","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bb3f7709ec5efb16a34e63b35c21f6cc.jpeg","path":"bb3f7709ec5efb16a34e63b35c21f6cc.jpeg","width":1000,"height":1802,"alt":"","aspect_ratio":0.5549389567147613},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"38.99","retail_price":"0","available":true,"url":"\/products\/women-elegant-maxi-slim-bodycon-white-lace-dress?variant=5f32bf0a-f088-4e21-9dff-8c1d02a0857e","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"\u5c3a\u7801","value":"S"}],"off_ratio":0,"flashsale_info":[],"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 ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"5f32bf0a-f088-4e21-9dff-8c1d02a0857e","product_id":"524e3b87-fa1d-4204-928c-392786ae461a","title":"white-S","weight_unit":"kg","inventory_quantity":8848,"sku":"","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bb3f7709ec5efb16a34e63b35c21f6cc.jpeg","path":"bb3f7709ec5efb16a34e63b35c21f6cc.jpeg","width":1000,"height":1802,"alt":"","aspect_ratio":0.5549389567147613},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"38.99","retail_price":"0","available":true,"url":"\/products\/women-elegant-maxi-slim-bodycon-white-lace-dress?variant=5f32bf0a-f088-4e21-9dff-8c1d02a0857e","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"\u5c3a\u7801","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}