Full Coverage Minimizer Wirefree Bra
${function() {
const variantData = data.variant || {"id":"a208a6c1-3b2e-47d8-a18c-37655a366ae3","product_id":"284f7360-b1c0-42e9-b34a-9417d03efacd","title":"Black-36C\/80C","weight_unit":"kg","inventory_quantity":4,"sku":"W099BC36C","barcode":"","position":1,"option1":"Black","option2":"36C\/80C","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0ff6c7cac97bf701cd7c770363f978b8.jpeg","path":"0ff6c7cac97bf701cd7c770363f978b8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.74","price":"38.99","retail_price":"48.74","available":true,"url":"\/products\/full-coverage-minimizer-wirefree-bra?variant=a208a6c1-3b2e-47d8-a18c-37655a366ae3","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"36C\/80C"}],"off_ratio":20,"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":"a208a6c1-3b2e-47d8-a18c-37655a366ae3","product_id":"284f7360-b1c0-42e9-b34a-9417d03efacd","title":"Black-36C\/80C","weight_unit":"kg","inventory_quantity":4,"sku":"W099BC36C","barcode":"","position":1,"option1":"Black","option2":"36C\/80C","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0ff6c7cac97bf701cd7c770363f978b8.jpeg","path":"0ff6c7cac97bf701cd7c770363f978b8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.74","price":"38.99","retail_price":"48.74","available":true,"url":"\/products\/full-coverage-minimizer-wirefree-bra?variant=a208a6c1-3b2e-47d8-a18c-37655a366ae3","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"36C\/80C"}],"off_ratio":20,"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 `
`;
}()}