${function() {
const variantData = data.variant || {"id":"f37e5d1a-d52a-41d9-8276-640c5da52ef1","product_id":"a7184894-8add-4e57-b905-dd3cb262254e","title":"S-white","weight_unit":"kg","inventory_quantity":1000,"sku":"240411-36-S-white","barcode":"","position":9,"option1":"S","option2":"white","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/394f277e66b3047570e47774bbc4a253.jpeg","path":"394f277e66b3047570e47774bbc4a253.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/bears-r-us-essential-print-t-shirt8a82a17a-43fe-485e-ab45-b889d7be3039?variant=f37e5d1a-d52a-41d9-8276-640c5da52ef1","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"white"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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.