Halter-neck Jacquard Big Swing Dress
${function() {
const variantData = data.variant || {"id":"4b27404f-0e56-4adb-baeb-f35232f31de6","product_id":"bde007e8-468c-44eb-bd4a-f7f78df456f7","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230428489-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5bafe0dc79cf58498bb1ac867880b2d7.jpeg","path":"5bafe0dc79cf58498bb1ac867880b2d7.jpeg","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":56.91,"min_quantity":1}],"weight":"0.36","compare_at_price":"72.6","price":"56.91","retail_price":"72.6","available":true,"url":"\/products\/halter-neck-jacquard-big-swing-dress?variant=4b27404f-0e56-4adb-baeb-f35232f31de6","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":22,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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":"4b27404f-0e56-4adb-baeb-f35232f31de6","product_id":"bde007e8-468c-44eb-bd4a-f7f78df456f7","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230428489-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5bafe0dc79cf58498bb1ac867880b2d7.jpeg","path":"5bafe0dc79cf58498bb1ac867880b2d7.jpeg","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":56.91,"min_quantity":1}],"weight":"0.36","compare_at_price":"72.6","price":"56.91","retail_price":"72.6","available":true,"url":"\/products\/halter-neck-jacquard-big-swing-dress?variant=4b27404f-0e56-4adb-baeb-f35232f31de6","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":22,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
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 `
`;
}()}