${function() {
const variantData = data.variant || {"id":"dee8fd07-1ed6-48b9-b327-f6c25a7ae67f","product_id":"1cf1d04f-9db0-4efe-8f19-581f01e7233f","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"111-230804-01-MT0073HXLY-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/268676ac05dc2f8e367f3bf861da8258.jpeg","path":"268676ac05dc2f8e367f3bf861da8258.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/womens-try-that-in-a-small-town-casual-sweatshirt?variant=dee8fd07-1ed6-48b9-b327-f6c25a7ae67f","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.