Solid Cut-Out Split Dress
${function() {
const variantData = data.variant || {"id":"9d4473f6-fe38-4d4f-aa7f-92e4b041b605","product_id":"9588e717-9561-46f9-8da9-180fab9b3a66","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"MM2403124303-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f63eb0920cd3157fcc1df58552f824a.jpeg","path":"4f63eb0920cd3157fcc1df58552f824a.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":39.78,"min_quantity":1}],"weight":"0.4","compare_at_price":"55.78","price":"39.78","retail_price":"55.78","available":true,"url":"\/products\/solid-cut-out-split-dress?variant=9d4473f6-fe38-4d4f-aa7f-92e4b041b605","available_quantity":999999999,"options":[{"name":"color","value":"Green"},{"name":"size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":9};
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":"9d4473f6-fe38-4d4f-aa7f-92e4b041b605","product_id":"9588e717-9561-46f9-8da9-180fab9b3a66","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"MM2403124303-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f63eb0920cd3157fcc1df58552f824a.jpeg","path":"4f63eb0920cd3157fcc1df58552f824a.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":39.78,"min_quantity":1}],"weight":"0.4","compare_at_price":"55.78","price":"39.78","retail_price":"55.78","available":true,"url":"\/products\/solid-cut-out-split-dress?variant=9d4473f6-fe38-4d4f-aa7f-92e4b041b605","available_quantity":999999999,"options":[{"name":"color","value":"Green"},{"name":"size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":9};
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 `
`;
}()}