${function() {
const variantData = data.variant || {"id":"c5d6d3f9-3ce4-4f89-9e09-e966164fa8f1","product_id":"37e9faf0-c5b6-4775-bd2d-d4925673c07a","title":"Sand-S","weight_unit":"kg","inventory_quantity":1000,"sku":"131A-240312-A04-MT0071CCMP-Sand-S","barcode":"","position":1,"option1":"Sand","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4aab2589ad265cf70df59c41c1b0274e.jpeg","path":"4aab2589ad265cf70df59c41c1b0274e.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\/the-furry-pink-monster-illustration-printed-t-shirt?variant=c5d6d3f9-3ce4-4f89-9e09-e966164fa8f1","available_quantity":999999999,"options":[{"name":"Color","value":"Sand"},{"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.