Chest-pocket Brght Color 3 pieces Set (Bustier top +Shirt+Pants)
${function() {
const variantData = data.variant || {"id":"b2e1fc27-bcc3-4638-944c-a89f0984e69a","product_id":"433627b6-62dc-4a4d-ad83-0dd0b70453bb","title":"Fancy blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"220519620- Fancy blue-S","barcode":"","position":1,"option1":"Fancy blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7ae4ecc43db8e8d8943d32df608e5d35.png","path":"7ae4ecc43db8e8d8943d32df608e5d35.png","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":50.61,"min_quantity":1}],"weight":"0","compare_at_price":"57.51","price":"50.61","retail_price":"57.51","available":true,"url":"\/products\/chest-pocket-brght-color-3-pieces-set-bustier-top-shirt-pants-y1v7?variant=b2e1fc27-bcc3-4638-944c-a89f0984e69a","available_quantity":999999999,"options":[{"name":"Color","value":"Fancy blue"},{"name":"Size","value":"S"}],"off_ratio":12,"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":"b2e1fc27-bcc3-4638-944c-a89f0984e69a","product_id":"433627b6-62dc-4a4d-ad83-0dd0b70453bb","title":"Fancy blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"220519620- Fancy blue-S","barcode":"","position":1,"option1":"Fancy blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7ae4ecc43db8e8d8943d32df608e5d35.png","path":"7ae4ecc43db8e8d8943d32df608e5d35.png","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":50.61,"min_quantity":1}],"weight":"0","compare_at_price":"57.51","price":"50.61","retail_price":"57.51","available":true,"url":"\/products\/chest-pocket-brght-color-3-pieces-set-bustier-top-shirt-pants-y1v7?variant=b2e1fc27-bcc3-4638-944c-a89f0984e69a","available_quantity":999999999,"options":[{"name":"Color","value":"Fancy blue"},{"name":"Size","value":"S"}],"off_ratio":12,"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 `
`;
}()}