${function() {
const variantData = data.variant || {"id":"3ba7d4ef-2b2b-45c9-839f-ab3e75044c8a","product_id":"2e386d31-9d06-4cd9-946e-e9cb234ab129","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":999,"sku":"099-240129-22-MT0071T96Q-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f9b16d39f9a561462414896a8b3849c3.jpeg","path":"f9b16d39f9a561462414896a8b3849c3.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/funny-animal-casual-print-t-shirt-c9zj?variant=3ba7d4ef-2b2b-45c9-839f-ab3e75044c8a","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":34};
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.