Rainforest Party Print Swimsuit
${function() {
const variantData = data.variant || {"id":"f6c1bffc-1999-4595-8a2d-a3caada3f738","product_id":"fcb06f3c-36b4-49bd-bd51-088e08ebe0c2","title":"Only Skirt-F","weight_unit":"kg","inventory_quantity":0,"sku":"BL24011113683-Only Skirt-F","barcode":"","position":5,"option1":"Only Skirt","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6cc8740da60c4613ce8fc8ace7d4bb6c.jpeg","path":"6cc8740da60c4613ce8fc8ace7d4bb6c.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"200","compare_at_price":"55","price":"32.99","retail_price":"55","available":true,"url":"\/products\/rainforest-party-print-swimsuit?variant=f6c1bffc-1999-4595-8a2d-a3caada3f738","available_quantity":999999999,"options":[{"name":"Color","value":"Only Skirt"},{"name":"Size","value":"F"}],"off_ratio":40,"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":"f6c1bffc-1999-4595-8a2d-a3caada3f738","product_id":"fcb06f3c-36b4-49bd-bd51-088e08ebe0c2","title":"Only Skirt-F","weight_unit":"kg","inventory_quantity":0,"sku":"BL24011113683-Only Skirt-F","barcode":"","position":5,"option1":"Only Skirt","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6cc8740da60c4613ce8fc8ace7d4bb6c.jpeg","path":"6cc8740da60c4613ce8fc8ace7d4bb6c.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"200","compare_at_price":"55","price":"32.99","retail_price":"55","available":true,"url":"\/products\/rainforest-party-print-swimsuit?variant=f6c1bffc-1999-4595-8a2d-a3caada3f738","available_quantity":999999999,"options":[{"name":"Color","value":"Only Skirt"},{"name":"Size","value":"F"}],"off_ratio":40,"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 `
`;
}()}