${function() {
const variantData = data.variant || {"id":"71684889-16b0-4a0b-ad2d-a2e40f80c35f","product_id":"75e90c65-6d4b-4169-8e50-3da063bca01c","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"213140881485-Green-S","barcode":"","position":7,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1b43cadc8206e184dafbe0a7c4fe5791.jpeg","path":"1b43cadc8206e184dafbe0a7c4fe5791.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.99","price":"27.99","retail_price":"24.99","available":true,"url":"\/products\/christmas-mens-funny-christmas-henley-t-shirt-santa-claus-fashion-casual-print-henley-party-street-daily-red-green-long-sleeve-henley-winter-spring-fall-clothing-apparel-normal-s-m-l-xl-xxl-xxxl?variant=71684889-16b0-4a0b-ad2d-a2e40f80c35f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"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.