${function() {
const variantData = data.variant || {"id":"e936ef9c-8efe-4355-bc88-64d08dd8523b","product_id":"0d1dbff2-be8b-4079-b68d-5f32df3745fc","title":"Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"213140882469-Gray-S","barcode":"","position":17,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e1226253dbcf6cf5e0665fb403c5e3f.jpeg","path":"9e1226253dbcf6cf5e0665fb403c5e3f.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.37","price":"27.99","retail_price":"49.37","available":true,"url":"\/products\/christmas-mens-funny-christmas-henley-t-shirt-graphic-letter-tree-fashion-daily-casual-3d-print-henley-casual-holiday-going-out-black-red-white-green-long-sleeve-henley-spring-fall-clothing?variant=e936ef9c-8efe-4355-bc88-64d08dd8523b","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":43,"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.