${function() {
const variantData = data.variant || {"id":"3013d909-7064-4609-a3ef-a308460f9388","product_id":"896b7cfb-71d0-4e25-8c0a-e9c395f684e1","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WTS159470-BLA00S","barcode":"","position":13,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a25aaa26d0d35c5330f88057dddcde0.jpeg","path":"4a25aaa26d0d35c5330f88057dddcde0.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"18.99","retail_price":"29.99","available":true,"url":"\/products\/vintage-christmas-south-carolina-santa-palmetto-tree-print-t-shirt-9892?variant=3013d909-7064-4609-a3ef-a308460f9388","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":3};
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.