Rainforest Party Print Swimsuit
${function() {
const variantData = data.variant || {"id":"04ec2ef6-5862-4b88-8aac-dde68155b203","product_id":"6f125954-26d7-4e3f-80aa-ff8436baa60a","title":"Swimsuit\u2460-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL24011513883-Swimsuit\u2460-S","barcode":"","position":1,"option1":"Swimsuit\u2460","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce22217fcf3ba65d33ea9ca7d4559962.jpeg","path":"ce22217fcf3ba65d33ea9ca7d4559962.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"200","compare_at_price":"50","price":"35.99","retail_price":"50","available":true,"url":"\/products\/rainforest-party-print-swimsuit-ery9?variant=04ec2ef6-5862-4b88-8aac-dde68155b203","available_quantity":999999999,"options":[{"name":"Color","value":"Swimsuit\u2460"},{"name":"Size","value":"S"}],"off_ratio":28,"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":"04ec2ef6-5862-4b88-8aac-dde68155b203","product_id":"6f125954-26d7-4e3f-80aa-ff8436baa60a","title":"Swimsuit\u2460-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL24011513883-Swimsuit\u2460-S","barcode":"","position":1,"option1":"Swimsuit\u2460","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce22217fcf3ba65d33ea9ca7d4559962.jpeg","path":"ce22217fcf3ba65d33ea9ca7d4559962.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"200","compare_at_price":"50","price":"35.99","retail_price":"50","available":true,"url":"\/products\/rainforest-party-print-swimsuit-ery9?variant=04ec2ef6-5862-4b88-8aac-dde68155b203","available_quantity":999999999,"options":[{"name":"Color","value":"Swimsuit\u2460"},{"name":"Size","value":"S"}],"off_ratio":28,"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 `
`;
}()}