${function() {
const variantData = data.variant || {"id":"d0a01053-6021-4d2f-b11c-a893019967aa","product_id":"173042e1-5220-4d65-9882-d099500a964f","title":"Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308112214-Grey-S","barcode":"","position":13,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d4140055a9cf3ce90e03208538240a1.jpeg","path":"0d4140055a9cf3ce90e03208538240a1.jpeg","width":800,"height":800,"alt":"Mentally Ill Retro Batik Printed Hoodie Sweatshirt","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"52","price":"39.99","retail_price":"52","available":true,"url":"\/products\/mentally-ill-retro-batik-printed-hoodie-sweatshirt?variant=d0a01053-6021-4d2f-b11c-a893019967aa","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":23,"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.