Retro Coconut Tree Print Swimsuit
${function() {
const variantData = data.variant || {"id":"271c05b2-239a-4313-92b2-2fb636b68b8b","product_id":"94044feb-3ef3-4525-8a31-67072ff49b02","title":"Only Skirt-F","weight_unit":"kg","inventory_quantity":0,"sku":"BL24011113624-Only Skirt-F","barcode":"","position":5,"option1":"Only Skirt","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1504daa599ba4674b10bf1f72418807d.jpeg","path":"1504daa599ba4674b10bf1f72418807d.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"300","compare_at_price":"35","price":"18.99","retail_price":"35","available":true,"url":"\/products\/retro-coconut-tree-print-swimsuit?variant=271c05b2-239a-4313-92b2-2fb636b68b8b","available_quantity":999999999,"options":[{"name":"Color","value":"Only Skirt"},{"name":"Size","value":"F"}],"off_ratio":46,"flashsale_info":[],"sales":1};
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":"271c05b2-239a-4313-92b2-2fb636b68b8b","product_id":"94044feb-3ef3-4525-8a31-67072ff49b02","title":"Only Skirt-F","weight_unit":"kg","inventory_quantity":0,"sku":"BL24011113624-Only Skirt-F","barcode":"","position":5,"option1":"Only Skirt","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1504daa599ba4674b10bf1f72418807d.jpeg","path":"1504daa599ba4674b10bf1f72418807d.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"300","compare_at_price":"35","price":"18.99","retail_price":"35","available":true,"url":"\/products\/retro-coconut-tree-print-swimsuit?variant=271c05b2-239a-4313-92b2-2fb636b68b8b","available_quantity":999999999,"options":[{"name":"Color","value":"Only Skirt"},{"name":"Size","value":"F"}],"off_ratio":46,"flashsale_info":[],"sales":1};
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 `
`;
}()}