Casual Crinkle Mini Dress
${function() {
const variantData = data.variant || {"id":"c67e5106-067a-46dd-8bd8-ea24dbd92d71","product_id":"b134cc8c-bd42-4cd1-98e8-5a353be7c5ad","title":"khaki-2xl","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21060807-khaki-2xl","barcode":"","position":13,"option1":"khaki","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3e8a2f240bd6469cebac66ded6924d98.jpg","path":"3e8a2f240bd6469cebac66ded6924d98.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":27.82,"min_quantity":1}],"weight":"0.18","compare_at_price":"31.26","price":"27.82","retail_price":"31.26","available":true,"url":"\/products\/casual-crinkle-mini-dress?variant=c67e5106-067a-46dd-8bd8-ea24dbd92d71","available_quantity":999999999,"options":[{"name":"Color","value":"khaki"},{"name":"Size","value":"2xl"}],"off_ratio":11,"flashsale_info":[],"sales":18};
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":"c67e5106-067a-46dd-8bd8-ea24dbd92d71","product_id":"b134cc8c-bd42-4cd1-98e8-5a353be7c5ad","title":"khaki-2xl","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21060807-khaki-2xl","barcode":"","position":13,"option1":"khaki","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3e8a2f240bd6469cebac66ded6924d98.jpg","path":"3e8a2f240bd6469cebac66ded6924d98.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":27.82,"min_quantity":1}],"weight":"0.18","compare_at_price":"31.26","price":"27.82","retail_price":"31.26","available":true,"url":"\/products\/casual-crinkle-mini-dress?variant=c67e5106-067a-46dd-8bd8-ea24dbd92d71","available_quantity":999999999,"options":[{"name":"Color","value":"khaki"},{"name":"Size","value":"2xl"}],"off_ratio":11,"flashsale_info":[],"sales":18};
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 `
`;
}()}