V-Neck Ruffled Vintage Printed Swimsuit
${function() {
const variantData = data.variant || {"id":"2df1c4d4-fed7-4d5b-b6ee-299f6d90a43e","product_id":"70d1aaf0-8567-4264-b7e2-f1e2d199b6b8","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230309377-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c4f80fa1a22a1644aed33bb8153d5e7.jpeg","path":"7c4f80fa1a22a1644aed33bb8153d5e7.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.59,"min_quantity":1}],"weight":"0.15","compare_at_price":"55.78","price":"43.59","retail_price":"55.78","available":true,"url":"\/products\/v-neck-ruffled-vintage-printed-swimsuit-npe9?variant=2df1c4d4-fed7-4d5b-b6ee-299f6d90a43e","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":22,"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":"2df1c4d4-fed7-4d5b-b6ee-299f6d90a43e","product_id":"70d1aaf0-8567-4264-b7e2-f1e2d199b6b8","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230309377-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c4f80fa1a22a1644aed33bb8153d5e7.jpeg","path":"7c4f80fa1a22a1644aed33bb8153d5e7.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.59,"min_quantity":1}],"weight":"0.15","compare_at_price":"55.78","price":"43.59","retail_price":"55.78","available":true,"url":"\/products\/v-neck-ruffled-vintage-printed-swimsuit-npe9?variant=2df1c4d4-fed7-4d5b-b6ee-299f6d90a43e","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":22,"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 `
`;
}()}