Contrast floral print slip dress
${function() {
const variantData = data.variant || {"id":"2653f270-e9f9-4a83-9b38-1a6123a3a36f","product_id":"87f41045-9cb7-48ea-a114-23568828cac9","title":"Orange-S","weight_unit":"kg","inventory_quantity":0,"sku":"6624042910118-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3497bb36802c6fa63973415cab9a0d5d.jpeg","path":"3497bb36802c6fa63973415cab9a0d5d.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":43.69,"min_quantity":1}],"weight":"300","compare_at_price":"60","price":"43.69","retail_price":"60","available":true,"url":"\/products\/contrast-floral-print-slip-dress?variant=2653f270-e9f9-4a83-9b38-1a6123a3a36f","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":27,"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":"2653f270-e9f9-4a83-9b38-1a6123a3a36f","product_id":"87f41045-9cb7-48ea-a114-23568828cac9","title":"Orange-S","weight_unit":"kg","inventory_quantity":0,"sku":"6624042910118-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3497bb36802c6fa63973415cab9a0d5d.jpeg","path":"3497bb36802c6fa63973415cab9a0d5d.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":43.69,"min_quantity":1}],"weight":"300","compare_at_price":"60","price":"43.69","retail_price":"60","available":true,"url":"\/products\/contrast-floral-print-slip-dress?variant=2653f270-e9f9-4a83-9b38-1a6123a3a36f","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":27,"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 `
`;
}()}