${function() {
const variantData = data.variant || {"id":"24e01461-ec73-4f29-9508-6d11eb03ee8c","product_id":"5a7fe266-359e-43f1-888c-d5e8a7386d36","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MTI377498-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ebe9e9d14bbe28f04338064b468d3a66.jpeg","path":"ebe9e9d14bbe28f04338064b468d3a66.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.99","price":"21.99","retail_price":"38.99","available":true,"url":"\/products\/mens-retro-independence-day-cotton-short-sleeve-t-shirt?variant=24e01461-ec73-4f29-9508-6d11eb03ee8c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":0};
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.