${function() {
const variantData = data.variant || {"id":"b55381a9-c3d5-47fa-976e-5a4020b99467","product_id":"42eb5866-c571-4ba0-9729-77a37ebe0c81","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MEV358512-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b5a28f2ad41637f738302b6c402b38c3.jpeg","path":"b5a28f2ad41637f738302b6c402b38c3.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-faith-cross-american-flag-independence-day-printed-casual-tank-top-4?variant=b55381a9-c3d5-47fa-976e-5a4020b99467","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.