${function() {
const variantData = data.variant || {"id":"ba95dbf2-c527-4989-b2bf-6b488edc16ab","product_id":"04280881-da54-4b83-aabf-90b90ffb9ed5","title":"Clear Blue-M","weight_unit":"kg","inventory_quantity":998,"sku":"SYV005326_CLB_M","barcode":"","position":11,"option1":"Clear Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5711f8b1fc5407225236a6d956a47a27.jpeg","path":"5711f8b1fc5407225236a6d956a47a27.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"37.99","retail_price":"37.99","available":true,"url":"\/products\/casual-soft-t-shirt-sets?variant=ba95dbf2-c527-4989-b2bf-6b488edc16ab","available_quantity":999999999,"options":[{"name":"Color","value":"Clear Blue"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":51};
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.