Leisure Halter Neck Strappy Dress
${function() {
const variantData = data.variant || {"id":"3603a6f3-57c3-4b11-9398-cbd16b5e7ff5","product_id":"320888ce-1717-44f4-bede-3424453ae4ed","title":"Brown-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2305241649-Brown-S","barcode":"","position":9,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fa33bbd1262e82c27835511693ddf659.jpeg","path":"fa33bbd1262e82c27835511693ddf659.jpeg","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":41.31,"min_quantity":1}],"weight":"0","compare_at_price":"61.6","price":"41.31","retail_price":"61.6","available":true,"url":"\/products\/leisure-halter-neck-strappy-dress?variant=3603a6f3-57c3-4b11-9398-cbd16b5e7ff5","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":33,"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":"3603a6f3-57c3-4b11-9398-cbd16b5e7ff5","product_id":"320888ce-1717-44f4-bede-3424453ae4ed","title":"Brown-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2305241649-Brown-S","barcode":"","position":9,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fa33bbd1262e82c27835511693ddf659.jpeg","path":"fa33bbd1262e82c27835511693ddf659.jpeg","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":41.31,"min_quantity":1}],"weight":"0","compare_at_price":"61.6","price":"41.31","retail_price":"61.6","available":true,"url":"\/products\/leisure-halter-neck-strappy-dress?variant=3603a6f3-57c3-4b11-9398-cbd16b5e7ff5","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":33,"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 `
`;
}()}