Cotton linen embroidered breathable triangle romper
${function() {
const variantData = data.variant || {"id":"a84840f5-318c-4e93-979c-f23489ceacad","product_id":"3d4227c1-2b43-4523-9946-487ec13a9b9f","title":"navy-66cm","weight_unit":"kg","inventory_quantity":0,"sku":"662303025168-navy-66cm","barcode":"","position":5,"option1":"navy","option2":"66cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3ce98b2c50ded28c7f95595ade08b5e5.jpeg","path":"3ce98b2c50ded28c7f95595ade08b5e5.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"0.12","compare_at_price":"49","price":"36.89","retail_price":"49","available":true,"url":"\/products\/cotton-linen-embroidered-breathable-triangle-romper?variant=a84840f5-318c-4e93-979c-f23489ceacad","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"height","value":"66cm"}],"off_ratio":25,"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":"a84840f5-318c-4e93-979c-f23489ceacad","product_id":"3d4227c1-2b43-4523-9946-487ec13a9b9f","title":"navy-66cm","weight_unit":"kg","inventory_quantity":0,"sku":"662303025168-navy-66cm","barcode":"","position":5,"option1":"navy","option2":"66cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3ce98b2c50ded28c7f95595ade08b5e5.jpeg","path":"3ce98b2c50ded28c7f95595ade08b5e5.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"0.12","compare_at_price":"49","price":"36.89","retail_price":"49","available":true,"url":"\/products\/cotton-linen-embroidered-breathable-triangle-romper?variant=a84840f5-318c-4e93-979c-f23489ceacad","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"height","value":"66cm"}],"off_ratio":25,"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 `
`;
}()}