${function() {
const variantData = data.variant || {"id":"535667b9-d70c-4cd2-aca6-6373ceb3dcbf","product_id":"6c25d158-a735-405c-b679-a4fe8f2b418b","title":"Red-M","weight_unit":"kg","inventory_quantity":1000,"sku":"JW2310166621-Red-M","barcode":"","position":1,"option1":"Red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/83e27abdae4fa206ecb5e268ebf628c1.png","path":"83e27abdae4fa206ecb5e268ebf628c1.png","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"32.99","price":"27.99","retail_price":"32.99","available":true,"url":"\/products\/mens-merry-christmas-kiss-print-shirtdc8f6f8d-5387-4020-9398-0ce551dca16b?variant=535667b9-d70c-4cd2-aca6-6373ceb3dcbf","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"M"}],"off_ratio":15,"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.