Vintage V-Neck Bird Printed Swimsuit
${function() {
const variantData = data.variant || {"id":"0211d28b-8e97-4796-92ba-fec46c91166d","product_id":"7fa0cc7a-1a1f-4d5d-8a74-3e691b06913a","title":"Pink-S","weight_unit":"kg","inventory_quantity":867,"sku":"BL230310422-Pink-S","barcode":"","position":6,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2fd987c6068a55fa600b22eb300d22b.jpeg","path":"f2fd987c6068a55fa600b22eb300d22b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.66,"min_quantity":1}],"weight":"0.28","compare_at_price":"36.96","price":"36.66","retail_price":"36.96","available":true,"url":"\/products\/vintage-v-neck-bird-printed-swimsuit-eyw4?variant=0211d28b-8e97-4796-92ba-fec46c91166d","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":1,"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":"0211d28b-8e97-4796-92ba-fec46c91166d","product_id":"7fa0cc7a-1a1f-4d5d-8a74-3e691b06913a","title":"Pink-S","weight_unit":"kg","inventory_quantity":867,"sku":"BL230310422-Pink-S","barcode":"","position":6,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2fd987c6068a55fa600b22eb300d22b.jpeg","path":"f2fd987c6068a55fa600b22eb300d22b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.66,"min_quantity":1}],"weight":"0.28","compare_at_price":"36.96","price":"36.66","retail_price":"36.96","available":true,"url":"\/products\/vintage-v-neck-bird-printed-swimsuit-eyw4?variant=0211d28b-8e97-4796-92ba-fec46c91166d","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":1,"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 `
`;
}()}