${function() {
const variantData = data.variant || {"id":"a2576b55-e09c-40fc-a41b-7742a07d8da3","product_id":"5323ab88-5276-4c54-916a-3d4ab2fd039a","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"131A-240307-A13-MT0071J9WY-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7abe5695dd22f1a0348df93170224c42.jpeg","path":"7abe5695dd22f1a0348df93170224c42.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\/little-furry-purple-monster-does-not-know-what-to-do-cartoon-art-printed-t-shirt?variant=a2576b55-e09c-40fc-a41b-7742a07d8da3","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"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.