${function() {
const variantData = data.variant || {"id":"670e5b8e-a75d-477b-875f-e910ea41bf57","product_id":"10d7aaa1-2ed2-4dd4-afb4-e920b6a28085","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MHO279406-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce6631e630ad90a8a0e752c2e2682c9a.jpeg","path":"ce6631e630ad90a8a0e752c2e2682c9a.jpeg","width":574,"height":765,"alt":"","aspect_ratio":0.7503267973856209},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"57.99","price":"29.99","retail_price":"57.99","available":true,"url":"\/products\/mens-look-at-me-being-all-festive-and-shit-printed-hooded-sweatshirt?variant=670e5b8e-a75d-477b-875f-e910ea41bf57","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":2};
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.