Casual Crinkle Mini Dress
${function() {
const variantData = data.variant || {"id":"f1883e7c-997f-4787-b099-74ac867ac3e5","product_id":"b134cc8c-bd42-4cd1-98e8-5a353be7c5ad","title":"blue-2xl","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21060807-blue-2xl","barcode":"","position":7,"option1":"blue","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/db6636b935e5339805cfa42d72b58397.jpeg","path":"db6636b935e5339805cfa42d72b58397.jpeg","width":800,"height":1067,"alt":"","aspect_ratio":0.7497656982193065},"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=f1883e7c-997f-4787-b099-74ac867ac3e5","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"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":"f1883e7c-997f-4787-b099-74ac867ac3e5","product_id":"b134cc8c-bd42-4cd1-98e8-5a353be7c5ad","title":"blue-2xl","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21060807-blue-2xl","barcode":"","position":7,"option1":"blue","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/db6636b935e5339805cfa42d72b58397.jpeg","path":"db6636b935e5339805cfa42d72b58397.jpeg","width":800,"height":1067,"alt":"","aspect_ratio":0.7497656982193065},"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=f1883e7c-997f-4787-b099-74ac867ac3e5","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"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 `
`;
}()}