Color Contrast Bikini Set
${function() {
const variantData = data.variant || {"id":"3914ae54-8384-46d3-86d7-9fb9ad0e5226","product_id":"837cec44-63df-4026-b189-31d5e828a7f3","title":"Blue-S","weight_unit":"kg","inventory_quantity":8847,"sku":"BL230309297-Blue-S","barcode":"","position":4,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0007aac7a4ec4bdff6d3dae70fa143d1.jpeg","path":"0007aac7a4ec4bdff6d3dae70fa143d1.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":22.1,"min_quantity":1}],"weight":"0","compare_at_price":"26","price":"22.1","retail_price":"26","available":true,"url":"\/products\/color-contrast-bikini-set?variant=3914ae54-8384-46d3-86d7-9fb9ad0e5226","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":15,"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":"3914ae54-8384-46d3-86d7-9fb9ad0e5226","product_id":"837cec44-63df-4026-b189-31d5e828a7f3","title":"Blue-S","weight_unit":"kg","inventory_quantity":8847,"sku":"BL230309297-Blue-S","barcode":"","position":4,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0007aac7a4ec4bdff6d3dae70fa143d1.jpeg","path":"0007aac7a4ec4bdff6d3dae70fa143d1.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":22.1,"min_quantity":1}],"weight":"0","compare_at_price":"26","price":"22.1","retail_price":"26","available":true,"url":"\/products\/color-contrast-bikini-set?variant=3914ae54-8384-46d3-86d7-9fb9ad0e5226","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":15,"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 `
`;
}()}