${function() {
const variantData = data.variant || {"id":"88001fd4-512e-411a-8d40-47a1b1d32e5b","product_id":"948f05dd-746b-47aa-a6f7-c4229c286dca","title":"Brown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"131A-240312-A08-MT007158NX-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f5b9895ac1512f2e40692c589d883cda.jpeg","path":"f5b9895ac1512f2e40692c589d883cda.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/fluffy-puppet-from-sesame-street-graphic-printed-t-shirt?variant=88001fd4-512e-411a-8d40-47a1b1d32e5b","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.