Simple Flower Ring Swimsuit
${function() {
const variantData = data.variant || {"id":"87c36861-6716-44df-81d6-e7a63709e68f","product_id":"fd52e100-0f5f-4ce1-8479-e96731783586","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL24011213812-Green-S","barcode":"","position":9,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d16f2c9505de5e105737c06e93bc3de7.jpeg","path":"d16f2c9505de5e105737c06e93bc3de7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"400","compare_at_price":"78","price":"55.99","retail_price":"78","available":true,"url":"\/products\/simple-flower-ring-swimsuit?variant=87c36861-6716-44df-81d6-e7a63709e68f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"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":"87c36861-6716-44df-81d6-e7a63709e68f","product_id":"fd52e100-0f5f-4ce1-8479-e96731783586","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL24011213812-Green-S","barcode":"","position":9,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d16f2c9505de5e105737c06e93bc3de7.jpeg","path":"d16f2c9505de5e105737c06e93bc3de7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"400","compare_at_price":"78","price":"55.99","retail_price":"78","available":true,"url":"\/products\/simple-flower-ring-swimsuit?variant=87c36861-6716-44df-81d6-e7a63709e68f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"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 `
`;
}()}