${function() {
const variantData = data.variant || {"id":"b5b01e77-839e-4319-b9a0-df82af8def69","product_id":"318037fd-6823-462b-9f2e-c31ec89fa0b0","title":"BLUE-M","weight_unit":"kg","inventory_quantity":1000,"sku":"MW1252111-M","barcode":"","position":1,"option1":"BLUE","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/98fb522ffda3084179c0442a2de0c6ad.jpeg","path":"98fb522ffda3084179c0442a2de0c6ad.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.31","price":"25.99","retail_price":"43.31","available":true,"url":"\/products\/ice-silk-comfort-bra?variant=b5b01e77-839e-4319-b9a0-df82af8def69","available_quantity":1000,"options":[{"name":"Color","value":"BLUE"},{"name":"Size","value":"M"}],"off_ratio":40,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
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.