Chic Retro Totem Series Swimsuit
${function() {
const variantData = data.variant || {"id":"8b43effe-e890-43e4-81c4-ca1db52336e4","product_id":"b370d18c-10f9-4681-9b6d-e1a503e2d603","title":"Swimsuit\u2460+Pants-XS","weight_unit":"kg","inventory_quantity":0,"sku":"BL24010813162-Swimsuit\u2460+Pants-XS","barcode":"","position":11,"option1":"Swimsuit\u2460+Pants","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e6528fe2e207a2332833f9d5ac3f21b.jpeg","path":"0e6528fe2e207a2332833f9d5ac3f21b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":60.99,"min_quantity":1}],"weight":"0","compare_at_price":"88","price":"60.99","retail_price":"88","available":true,"url":"\/products\/chic-retro-totem-series-swimsuit?variant=8b43effe-e890-43e4-81c4-ca1db52336e4","available_quantity":999999999,"options":[{"name":"Color","value":"Swimsuit\u2460+Pants"},{"name":"Size","value":"XS"}],"off_ratio":31,"flashsale_info":[],"sales":2};
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":"8b43effe-e890-43e4-81c4-ca1db52336e4","product_id":"b370d18c-10f9-4681-9b6d-e1a503e2d603","title":"Swimsuit\u2460+Pants-XS","weight_unit":"kg","inventory_quantity":0,"sku":"BL24010813162-Swimsuit\u2460+Pants-XS","barcode":"","position":11,"option1":"Swimsuit\u2460+Pants","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e6528fe2e207a2332833f9d5ac3f21b.jpeg","path":"0e6528fe2e207a2332833f9d5ac3f21b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":60.99,"min_quantity":1}],"weight":"0","compare_at_price":"88","price":"60.99","retail_price":"88","available":true,"url":"\/products\/chic-retro-totem-series-swimsuit?variant=8b43effe-e890-43e4-81c4-ca1db52336e4","available_quantity":999999999,"options":[{"name":"Color","value":"Swimsuit\u2460+Pants"},{"name":"Size","value":"XS"}],"off_ratio":31,"flashsale_info":[],"sales":2};
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 `
`;
}()}