Casual Kimono Cotton Linen dress
${function() {
const variantData = data.variant || {"id":"52a689ef-a149-429f-971e-36e26a4f087c","product_id":"caccb378-2432-4327-925f-ee5062c10a72","title":"LIGHT GREEN-S","weight_unit":"lb","inventory_quantity":0,"sku":"Lin206063-LIGHTGREEN-S","barcode":"","position":9,"option1":"LIGHT GREEN","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0243eba4fe5c8ffc97eef214215e34f5.png","path":"0243eba4fe5c8ffc97eef214215e34f5.png","width":668,"height":831,"alt":"","aspect_ratio":0.8038507821901324},"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=52a689ef-a149-429f-971e-36e26a4f087c","available_quantity":999999999,"options":[{"name":"Color","value":"LIGHT GREEN"},{"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":"52a689ef-a149-429f-971e-36e26a4f087c","product_id":"caccb378-2432-4327-925f-ee5062c10a72","title":"LIGHT GREEN-S","weight_unit":"lb","inventory_quantity":0,"sku":"Lin206063-LIGHTGREEN-S","barcode":"","position":9,"option1":"LIGHT GREEN","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0243eba4fe5c8ffc97eef214215e34f5.png","path":"0243eba4fe5c8ffc97eef214215e34f5.png","width":668,"height":831,"alt":"","aspect_ratio":0.8038507821901324},"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=52a689ef-a149-429f-971e-36e26a4f087c","available_quantity":999999999,"options":[{"name":"Color","value":"LIGHT GREEN"},{"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 `
`;
}()}