Chic Sexy Back Summer Dress
${function() {
const variantData = data.variant || {"id":"fdcd1b2b-3f42-47c2-bb1e-31d06b15e5d5","product_id":"04b5579c-bc96-4cb7-8076-06fa3d2b0f34","title":"ivory-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21031810-ivory-s","barcode":"","position":11,"option1":"ivory","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1b4f38b38d9221e7ae7770dd7b3db2f8.jpeg","path":"1b4f38b38d9221e7ae7770dd7b3db2f8.jpeg","width":1200,"height":1626,"alt":"","aspect_ratio":0.7380073800738007},"wholesale_price":[{"price":39.19,"min_quantity":1}],"weight":"0","compare_at_price":"54.89","price":"39.19","retail_price":"54.89","available":true,"url":"\/products\/chic-sexy-back-summer-dress-v66r?variant=fdcd1b2b-3f42-47c2-bb1e-31d06b15e5d5","available_quantity":999999999,"options":[{"name":"color","value":"ivory"},{"name":"size","value":"s"}],"off_ratio":29,"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":"fdcd1b2b-3f42-47c2-bb1e-31d06b15e5d5","product_id":"04b5579c-bc96-4cb7-8076-06fa3d2b0f34","title":"ivory-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21031810-ivory-s","barcode":"","position":11,"option1":"ivory","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1b4f38b38d9221e7ae7770dd7b3db2f8.jpeg","path":"1b4f38b38d9221e7ae7770dd7b3db2f8.jpeg","width":1200,"height":1626,"alt":"","aspect_ratio":0.7380073800738007},"wholesale_price":[{"price":39.19,"min_quantity":1}],"weight":"0","compare_at_price":"54.89","price":"39.19","retail_price":"54.89","available":true,"url":"\/products\/chic-sexy-back-summer-dress-v66r?variant=fdcd1b2b-3f42-47c2-bb1e-31d06b15e5d5","available_quantity":999999999,"options":[{"name":"color","value":"ivory"},{"name":"size","value":"s"}],"off_ratio":29,"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 `
`;
}()}