Gorgeous Red Totem Series Swimsuit
${function() {
const variantData = data.variant || {"id":"169b015d-2a0f-4d33-8eac-07ba0c345c66","product_id":"b234eed0-a201-40ed-9888-828ace28926f","title":"Only Swimsuit\u2461-XS","weight_unit":"kg","inventory_quantity":0,"sku":"BL24010813198-Only Swimsuit\u2461-XS","barcode":"","position":6,"option1":"Only Swimsuit\u2461","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/65fa1cccece63686d6e7934c381f60fe.png","path":"65fa1cccece63686d6e7934c381f60fe.png","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"33.99","retail_price":"55","available":true,"url":"\/products\/gorgeous-red-totem-series-swimsuit?variant=169b015d-2a0f-4d33-8eac-07ba0c345c66","available_quantity":999999999,"options":[{"name":"Color","value":"Only Swimsuit\u2461"},{"name":"Size","value":"XS"}],"off_ratio":38,"flashsale_info":[],"sales":1};
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":"169b015d-2a0f-4d33-8eac-07ba0c345c66","product_id":"b234eed0-a201-40ed-9888-828ace28926f","title":"Only Swimsuit\u2461-XS","weight_unit":"kg","inventory_quantity":0,"sku":"BL24010813198-Only Swimsuit\u2461-XS","barcode":"","position":6,"option1":"Only Swimsuit\u2461","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/65fa1cccece63686d6e7934c381f60fe.png","path":"65fa1cccece63686d6e7934c381f60fe.png","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"33.99","retail_price":"55","available":true,"url":"\/products\/gorgeous-red-totem-series-swimsuit?variant=169b015d-2a0f-4d33-8eac-07ba0c345c66","available_quantity":999999999,"options":[{"name":"Color","value":"Only Swimsuit\u2461"},{"name":"Size","value":"XS"}],"off_ratio":38,"flashsale_info":[],"sales":1};
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 `
`;
}()}