${function() {
const variantData = data.variant || {"id":"52f187d3-815d-435e-bac3-ce75d395c875","product_id":"75e90c65-6d4b-4169-8e50-3da063bca01c","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"213140881485-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1b7a4a2ca29892b966b67b507ac7544.jpeg","path":"e1b7a4a2ca29892b966b67b507ac7544.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=52f187d3-815d-435e-bac3-ce75d395c875","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"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.