${function() {
const variantData = data.variant || {"id":"a3d08039-059c-41bc-8b94-d73501bbc7d3","product_id":"7255e275-7439-4dc3-aa30-a39c93c6b51c","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"099-240527-A25-MT0140QZE6-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0dff693e1c60180dda98c1dfb77ad2b4.jpeg","path":"0dff693e1c60180dda98c1dfb77ad2b4.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"32.99","price":"32.99","retail_price":"32.99","available":true,"url":"\/products\/black-cat-chilling-with-coffee-vintage-print-casual-100-cotton-shirt-39lf?variant=a3d08039-059c-41bc-8b94-d73501bbc7d3","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":10};
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.