${function() {
const variantData = data.variant || {"id":"ba9888d4-6d4f-4a2e-8860-350a5b626cd8","product_id":"a9f17e5f-365a-40d5-a890-650b09b5db0f","title":"Black-S","weight_unit":"kg","inventory_quantity":998,"sku":"131-240204-A18-MS00028ZGZ-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1fa02cf7036984c00827cf51ce4ec8eb.png","path":"1fa02cf7036984c00827cf51ce4ec8eb.png","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/mens-music-art-print-casual-sweatshirt?variant=ba9888d4-6d4f-4a2e-8860-350a5b626cd8","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":12};
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.