${function() {
const variantData = data.variant || {"id":"f93ddcc2-1d8d-4fc5-adeb-4d83e06a1a45","product_id":"8148c86a-5ae3-42ac-9563-b4e5f9fcf616","title":"As shown-S","weight_unit":"kg","inventory_quantity":999,"sku":"148-240123-A20-MT0071EH3U-As shown-S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5b09c91c0432a606ff05fe90288ac2c6.jpeg","path":"5b09c91c0432a606ff05fe90288ac2c6.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-art-print-t-shirt-9fv3?variant=f93ddcc2-1d8d-4fc5-adeb-4d83e06a1a45","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"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.