Holiday Red Striped Two-piece Set
${function() {
const variantData = data.variant || {"id":"a51d0a1e-43ed-40cc-be28-c26b51d0fc4e","product_id":"6d3b9900-0480-431c-b2e3-164b2a9b7f00","title":"White-Red-S","weight_unit":"kg","inventory_quantity":0,"sku":"BLK2404269901-White-Red-S","barcode":"","position":1,"option1":"White-Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d8b5aa44a031868248f2a619c8c1119.jpeg","path":"5d8b5aa44a031868248f2a619c8c1119.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":53.86,"min_quantity":1}],"weight":"400","compare_at_price":"60","price":"53.86","retail_price":"60","available":true,"url":"\/products\/holiday-red-striped-two-piece-set?variant=a51d0a1e-43ed-40cc-be28-c26b51d0fc4e","available_quantity":999999999,"options":[{"name":"Color","value":"White-Red"},{"name":"Size","value":"S"}],"off_ratio":10,"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":"a51d0a1e-43ed-40cc-be28-c26b51d0fc4e","product_id":"6d3b9900-0480-431c-b2e3-164b2a9b7f00","title":"White-Red-S","weight_unit":"kg","inventory_quantity":0,"sku":"BLK2404269901-White-Red-S","barcode":"","position":1,"option1":"White-Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d8b5aa44a031868248f2a619c8c1119.jpeg","path":"5d8b5aa44a031868248f2a619c8c1119.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":53.86,"min_quantity":1}],"weight":"400","compare_at_price":"60","price":"53.86","retail_price":"60","available":true,"url":"\/products\/holiday-red-striped-two-piece-set?variant=a51d0a1e-43ed-40cc-be28-c26b51d0fc4e","available_quantity":999999999,"options":[{"name":"Color","value":"White-Red"},{"name":"Size","value":"S"}],"off_ratio":10,"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 `
`;
}()}