Beach Style Strapless Big Swing Dress
${function() {
const variantData = data.variant || {"id":"31142332-0fb4-4fbe-8857-ac194597b9c5","product_id":"8a5cf1c4-f686-4c06-b8ed-e7fea70a7097","title":"Green-S","weight_unit":"kg","inventory_quantity":6657,"sku":"BL230509901-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30940aacb5ac5e451d11c55928cba505.jpeg","path":"30940aacb5ac5e451d11c55928cba505.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.29","compare_at_price":"61.6","price":"38.99","retail_price":"61.6","available":true,"url":"\/products\/beach-style-strapless-big-swing-dress-nmfh?variant=31142332-0fb4-4fbe-8857-ac194597b9c5","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"sIZE","value":"S"}],"off_ratio":37,"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":"31142332-0fb4-4fbe-8857-ac194597b9c5","product_id":"8a5cf1c4-f686-4c06-b8ed-e7fea70a7097","title":"Green-S","weight_unit":"kg","inventory_quantity":6657,"sku":"BL230509901-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30940aacb5ac5e451d11c55928cba505.jpeg","path":"30940aacb5ac5e451d11c55928cba505.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.29","compare_at_price":"61.6","price":"38.99","retail_price":"61.6","available":true,"url":"\/products\/beach-style-strapless-big-swing-dress-nmfh?variant=31142332-0fb4-4fbe-8857-ac194597b9c5","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"sIZE","value":"S"}],"off_ratio":37,"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 `
`;
}()}