${function() {
const variantData = data.variant || {"id":"6f235fa8-52f3-4978-8042-f3585de54449","product_id":"c499426f-cb1b-4ebf-8658-1ce66b369822","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"086-231117-09-MT0077K7TJ-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f68a9476787ed0a3024e046a168fb0fd.jpeg","path":"f68a9476787ed0a3024e046a168fb0fd.jpeg","width":850,"height":1134,"alt":"","aspect_ratio":0.7495590828924162},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"36.99","price":"36.99","retail_price":"36.99","available":true,"url":"\/products\/ugly-christmas-dirty-christmas-lgbt-print-knit-pullover-sweater?variant=6f235fa8-52f3-4978-8042-f3585de54449","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.