${function() {
const variantData = data.variant || {"id":"1545fb39-ca1f-4453-831d-a6731190b90f","product_id":"80c609da-ecb9-47a9-a723-15b4c9f67d91","title":"Color-S","weight_unit":"kg","inventory_quantity":998,"sku":"103-221101-01-MT0027J7MG-Color-S","barcode":"","position":1,"option1":"Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7701833370a66bed52a6e90f4306e1ee.jpeg","path":"7701833370a66bed52a6e90f4306e1ee.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"35.99","price":"35.99","retail_price":"35.99","available":true,"url":"\/products\/mens-black-and-white-mountain-illustration-long-sleeve-waffle-casual-top?variant=1545fb39-ca1f-4453-831d-a6731190b90f","available_quantity":999999999,"options":[{"name":"Color","value":"Color"},{"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.