${function() {
const variantData = data.variant || {"id":"2bd4cab1-ac45-40ac-a323-17d5781aa395","product_id":"af68f49c-7d46-489c-a29a-a84af2fffc97","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308243801-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/75b2a15ccc4d28c237b2f671dbef7d06.jpeg","path":"75b2a15ccc4d28c237b2f671dbef7d06.jpeg","width":778,"height":785,"alt":"Creature From The Black Lagoon Vintage Batik Sweatshirt","aspect_ratio":0.9910828025477707},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"55","price":"36.99","retail_price":"55","available":true,"url":"\/products\/creature-from-the-black-lagoon-vintage-batik-sweatshirt?variant=2bd4cab1-ac45-40ac-a323-17d5781aa395","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.