${function() {
const variantData = data.variant || {"id":"4e16e55f-7401-4ba1-945d-bb81660bb13f","product_id":"44a7e91e-974b-4ed8-b24b-1002d4999ac3","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MTI358653-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6fa6556a56b5aa72a4e4468ff2d910dc.jpeg","path":"6fa6556a56b5aa72a4e4468ff2d910dc.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"21.99","retail_price":"39.99","available":true,"url":"\/products\/mens-independence-day-retro-love-fireworks-flag-print-long-sleeve-t-shirt?variant=4e16e55f-7401-4ba1-945d-bb81660bb13f","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.