${function() {
const variantData = data.variant || {"id":"1b6b688e-4bd9-4d8f-bede-098049ca94e4","product_id":"b494bc2f-91bf-4afc-a142-9fec46c3fecb","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MTI380070-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bc41be54529d48eba7614d8e1681d383.jpeg","path":"bc41be54529d48eba7614d8e1681d383.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"27.99","retail_price":"49.99","available":true,"url":"\/products\/mens-the-pledge-independence-day-henley-neck-raglan-sleeve-t-shirt-10?variant=1b6b688e-4bd9-4d8f-bede-098049ca94e4","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"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.