${function() {
const variantData = data.variant || {"id":"62235900-43c0-4227-8c1d-ee10007e0966","product_id":"93a02f7e-36e3-4f19-b062-9b75cb302151","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MTI355803-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1e3361aeaa6892c278bf6b9d974154e9.jpeg","path":"1e3361aeaa6892c278bf6b9d974154e9.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"41.99","price":"21.99","retail_price":"41.99","available":true,"url":"\/products\/mens-independence-day-it-doesnt-need-to-be-rewritten-it-needs-to-be-reread-casual-tee-2?variant=62235900-43c0-4227-8c1d-ee10007e0966","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":48,"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.