Printed Gauze Three-piece Bikini
${function() {
const variantData = data.variant || {"id":"85684e7c-10f0-468d-b3dd-109e70608cb8","product_id":"24fdd352-78dd-4788-bc72-c5952fedb718","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BL230309290-Red-S","barcode":"","position":5,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81ae01f6ffdc6866b5b84397ab8a8f09.jpeg","path":"81ae01f6ffdc6866b5b84397ab8a8f09.jpeg","width":600,"height":799,"alt":"","aspect_ratio":0.7509386733416771},"wholesale_price":[{"price":22.53,"min_quantity":1}],"weight":"0","compare_at_price":"28.5","price":"22.53","retail_price":"28.5","available":true,"url":"\/products\/printed-gauze-three-piece-bikini?variant=85684e7c-10f0-468d-b3dd-109e70608cb8","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":21,"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":"85684e7c-10f0-468d-b3dd-109e70608cb8","product_id":"24fdd352-78dd-4788-bc72-c5952fedb718","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BL230309290-Red-S","barcode":"","position":5,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81ae01f6ffdc6866b5b84397ab8a8f09.jpeg","path":"81ae01f6ffdc6866b5b84397ab8a8f09.jpeg","width":600,"height":799,"alt":"","aspect_ratio":0.7509386733416771},"wholesale_price":[{"price":22.53,"min_quantity":1}],"weight":"0","compare_at_price":"28.5","price":"22.53","retail_price":"28.5","available":true,"url":"\/products\/printed-gauze-three-piece-bikini?variant=85684e7c-10f0-468d-b3dd-109e70608cb8","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":21,"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 `
`;
}()}