${function() {
const variantData = data.variant || {"id":"c8652d1b-d3f5-4bb1-af59-0194121e1ec2","product_id":"896b7cfb-71d0-4e25-8c0a-e9c395f684e1","title":"Dark Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WTS159470-DGY00S","barcode":"","position":7,"option1":"Dark Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dc6c20d45f8bc5dfcb9320069c2049b1.jpeg","path":"dc6c20d45f8bc5dfcb9320069c2049b1.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=c8652d1b-d3f5-4bb1-af59-0194121e1ec2","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Grey"},{"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.