Romantic Hydrangea Swimsuit
${function() {
const variantData = data.variant || {"id":"f7e54989-2b42-47b1-a750-4f38c82bf093","product_id":"79864c76-a2e2-4f5a-80fb-61f0126b0d95","title":"Swimsuit-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL24011113689-Swimsuit-S","barcode":"","position":1,"option1":"Swimsuit","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aa5d05dcd7feb06daef59fe8d70ca255.jpeg","path":"aa5d05dcd7feb06daef59fe8d70ca255.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"200","compare_at_price":"40","price":"29.99","retail_price":"40","available":true,"url":"\/products\/romantic-hydrangea-swimsuit?variant=f7e54989-2b42-47b1-a750-4f38c82bf093","available_quantity":999999999,"options":[{"name":"Color","value":"Swimsuit"},{"name":"Size","value":"S"}],"off_ratio":25,"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":"f7e54989-2b42-47b1-a750-4f38c82bf093","product_id":"79864c76-a2e2-4f5a-80fb-61f0126b0d95","title":"Swimsuit-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL24011113689-Swimsuit-S","barcode":"","position":1,"option1":"Swimsuit","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aa5d05dcd7feb06daef59fe8d70ca255.jpeg","path":"aa5d05dcd7feb06daef59fe8d70ca255.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"200","compare_at_price":"40","price":"29.99","retail_price":"40","available":true,"url":"\/products\/romantic-hydrangea-swimsuit?variant=f7e54989-2b42-47b1-a750-4f38c82bf093","available_quantity":999999999,"options":[{"name":"Color","value":"Swimsuit"},{"name":"Size","value":"S"}],"off_ratio":25,"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 `
`;
}()}