Abstract Line Print Swimsuit
${function() {
const variantData = data.variant || {"id":"2c1e7bae-da03-4147-96f9-be6d1d6ca1b6","product_id":"b8b9d7c9-de78-4a0f-ab27-73a4382a0f40","title":"Only Smock-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL24011113616-Only Smock-S","barcode":"","position":9,"option1":"Only Smock","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8c5cf7f22c492bf62ceff90b954b69a.jpeg","path":"b8c5cf7f22c492bf62ceff90b954b69a.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"340","compare_at_price":"65","price":"39.99","retail_price":"65","available":true,"url":"\/products\/abstract-line-print-swimsuit?variant=2c1e7bae-da03-4147-96f9-be6d1d6ca1b6","available_quantity":999999999,"options":[{"name":"Color","value":"Only Smock"},{"name":"Size","value":"S"}],"off_ratio":38,"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":"2c1e7bae-da03-4147-96f9-be6d1d6ca1b6","product_id":"b8b9d7c9-de78-4a0f-ab27-73a4382a0f40","title":"Only Smock-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL24011113616-Only Smock-S","barcode":"","position":9,"option1":"Only Smock","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8c5cf7f22c492bf62ceff90b954b69a.jpeg","path":"b8c5cf7f22c492bf62ceff90b954b69a.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"340","compare_at_price":"65","price":"39.99","retail_price":"65","available":true,"url":"\/products\/abstract-line-print-swimsuit?variant=2c1e7bae-da03-4147-96f9-be6d1d6ca1b6","available_quantity":999999999,"options":[{"name":"Color","value":"Only Smock"},{"name":"Size","value":"S"}],"off_ratio":38,"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 `
`;
}()}