Casual Kimono Cotton Linen dress
${function() {
const variantData = data.variant || {"id":"bb455a75-5769-4450-9914-a8711d4e5ef9","product_id":"caccb378-2432-4327-925f-ee5062c10a72","title":"WHITE-S","weight_unit":"lb","inventory_quantity":0,"sku":"Lin206063-WHITE-S","barcode":"","position":1,"option1":"WHITE","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f8183d78638f0dfde5f3b675e7a99425.png","path":"f8183d78638f0dfde5f3b675e7a99425.png","width":671,"height":839,"alt":"","aspect_ratio":0.799761620977354},"wholesale_price":[{"price":37.16,"min_quantity":1}],"weight":"0","compare_at_price":"47.4","price":"37.16","retail_price":"47.4","available":true,"url":"\/products\/casual-kimono-cardigan-cotton-linen-dress?variant=bb455a75-5769-4450-9914-a8711d4e5ef9","available_quantity":999999999,"options":[{"name":"Color","value":"WHITE"},{"name":"Size","value":"S"}],"off_ratio":22,"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":"bb455a75-5769-4450-9914-a8711d4e5ef9","product_id":"caccb378-2432-4327-925f-ee5062c10a72","title":"WHITE-S","weight_unit":"lb","inventory_quantity":0,"sku":"Lin206063-WHITE-S","barcode":"","position":1,"option1":"WHITE","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f8183d78638f0dfde5f3b675e7a99425.png","path":"f8183d78638f0dfde5f3b675e7a99425.png","width":671,"height":839,"alt":"","aspect_ratio":0.799761620977354},"wholesale_price":[{"price":37.16,"min_quantity":1}],"weight":"0","compare_at_price":"47.4","price":"37.16","retail_price":"47.4","available":true,"url":"\/products\/casual-kimono-cardigan-cotton-linen-dress?variant=bb455a75-5769-4450-9914-a8711d4e5ef9","available_quantity":999999999,"options":[{"name":"Color","value":"WHITE"},{"name":"Size","value":"S"}],"off_ratio":22,"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 `
`;
}()}