${function() {
const variantData = data.variant || {"id":"7fcd32d1-5d7c-4ddc-954b-bc8f891697d2","product_id":"83b65ef3-438d-461a-9084-245c708e4323","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MEV355703-WHI00S","barcode":"","position":7,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d36b995aa831628b45ba73eb3d3b8bf.jpeg","path":"9d36b995aa831628b45ba73eb3d3b8bf.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"19.99","retail_price":"37.99","available":true,"url":"\/products\/mens-independence-day-print-casual-tank-top?variant=7fcd32d1-5d7c-4ddc-954b-bc8f891697d2","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":47,"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.