Sexy Strap Solid Bikini Set
${function() {
const variantData = data.variant || {"id":"292d2efa-636b-4abb-9777-7d9b3fdb3c42","product_id":"079f7756-1285-4a69-9247-a118b329b851","title":"Red-S","weight_unit":"kg","inventory_quantity":1481,"sku":"BL230309288-Red-S","barcode":"","position":9,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ffb6ae581ff2741ec12c601bb61e3d40.jpeg","path":"ffb6ae581ff2741ec12c601bb61e3d40.jpeg","width":1441,"height":1920,"alt":"","aspect_ratio":0.7505208333333333},"wholesale_price":[{"price":21.39,"min_quantity":1}],"weight":"0.12","compare_at_price":"30.24","price":"21.39","retail_price":"30.24","available":true,"url":"\/products\/sexy-strap-solid-bikini-set-926i?variant=292d2efa-636b-4abb-9777-7d9b3fdb3c42","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":29,"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":"292d2efa-636b-4abb-9777-7d9b3fdb3c42","product_id":"079f7756-1285-4a69-9247-a118b329b851","title":"Red-S","weight_unit":"kg","inventory_quantity":1481,"sku":"BL230309288-Red-S","barcode":"","position":9,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ffb6ae581ff2741ec12c601bb61e3d40.jpeg","path":"ffb6ae581ff2741ec12c601bb61e3d40.jpeg","width":1441,"height":1920,"alt":"","aspect_ratio":0.7505208333333333},"wholesale_price":[{"price":21.39,"min_quantity":1}],"weight":"0.12","compare_at_price":"30.24","price":"21.39","retail_price":"30.24","available":true,"url":"\/products\/sexy-strap-solid-bikini-set-926i?variant=292d2efa-636b-4abb-9777-7d9b3fdb3c42","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":29,"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 `
`;
}()}