${function() {
const variantData = data.variant || {"id":"dbbdd04e-b8bf-4514-9c44-39de9157e320","product_id":"7fb7e139-bbe3-4fff-aeb9-4589bd29a407","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MHO287526-RED00S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd80d7288d40d4750ff29b4e7f50165a.jpeg","path":"cd80d7288d40d4750ff29b4e7f50165a.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"52.99","price":"29.99","retail_price":"52.99","available":true,"url":"\/products\/mens-christmas-santa-claus-casual-hoodie?variant=dbbdd04e-b8bf-4514-9c44-39de9157e320","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"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.