${function() {
const variantData = data.variant || {"id":"7eb490af-70a5-4a33-a0a3-23a9ebcec77f","product_id":"c31e65f5-c182-4c2e-8832-f1fc674897b0","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MEV355884-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/91f70a1e80eadff5057f7bbb7a3162ee.jpeg","path":"91f70a1e80eadff5057f7bbb7a3162ee.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0","compare_at_price":"32.99","price":"17.99","retail_price":"32.99","available":true,"url":"\/products\/mens-independence-day-print-casual-tank-top-3?variant=7eb490af-70a5-4a33-a0a3-23a9ebcec77f","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":45,"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.