${function() {
const variantData = data.variant || {"id":"babe70ca-25ef-413d-beca-262c3a69daf1","product_id":"c1784dc8-71c8-4d16-acba-e1f98ca51c1a","title":"brown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-240131-A16-MT0071QJ5K-brown-S","barcode":"","position":1,"option1":"brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e11de0d973724cc6bdd5a5790835dbb.jpeg","path":"4e11de0d973724cc6bdd5a5790835dbb.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-weird-monster-art-design-t-shirt-2u9x?variant=babe70ca-25ef-413d-beca-262c3a69daf1","available_quantity":999999999,"options":[{"name":"Color","value":"brown"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.