${function() {
const variantData = data.variant || {"id":"2ce6e90b-de07-45f1-b556-e8412ee4b906","product_id":"65e6ecb2-293a-478e-ad81-501003cdf9d2","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MHO272401-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/142d0014a115648f35f4b46cfcaf06aa.jpeg","path":"142d0014a115648f35f4b46cfcaf06aa.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"66.13","price":"34.99","retail_price":"66.13","available":true,"url":"\/products\/mens-winter-cat-print-waffle-hooded-sweatshirt?variant=2ce6e90b-de07-45f1-b556-e8412ee4b906","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":47,"flashsale_info":[],"sales":4};
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.