Contrast Color Knitted Patchwork Women's Maxi Dress Halter Sleeveless Backlesss Bodycon Long Robes Lady Summer Casual Long Dress
${function() {
const variantData = data.variant || {"id":"87e40a81-efd6-463c-ad19-20f5a5addc38","product_id":"1afd73e9-2d81-4f68-8d38-d5d078d0f2f5","title":"S-White","weight_unit":"kg","inventory_quantity":0,"sku":"-S-White-A0015417","barcode":"","position":1,"option1":"S","option2":"White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cb25d8983314d4238b8d1c9e18d90e22.jpeg","path":"cb25d8983314d4238b8d1c9e18d90e22.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.84,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.84","retail_price":"0","available":true,"url":"\/products\/contrast-color-knitted-patchwork-womens-maxi-dress-halter-sleeveless-backlesss-bodycon-long-robes-lady-summer-casual-long-dress?variant=87e40a81-efd6-463c-ad19-20f5a5addc38","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"White"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 10;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"87e40a81-efd6-463c-ad19-20f5a5addc38","product_id":"1afd73e9-2d81-4f68-8d38-d5d078d0f2f5","title":"S-White","weight_unit":"kg","inventory_quantity":0,"sku":"-S-White-A0015417","barcode":"","position":1,"option1":"S","option2":"White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cb25d8983314d4238b8d1c9e18d90e22.jpeg","path":"cb25d8983314d4238b8d1c9e18d90e22.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.84,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.84","retail_price":"0","available":true,"url":"\/products\/contrast-color-knitted-patchwork-womens-maxi-dress-halter-sleeveless-backlesss-bodycon-long-robes-lady-summer-casual-long-dress?variant=87e40a81-efd6-463c-ad19-20f5a5addc38","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"White"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}