${function() {
const variantData = data.variant || {"id":"6255e1c4-e335-4554-b617-4b7e657b2a29","product_id":"dc5e0ac4-4a1b-4b48-bf26-a8f6fcebf358","title":"Black and White-S","weight_unit":"kg","inventory_quantity":998,"sku":"MHO288811-HBS00S","barcode":"","position":1,"option1":"Black and White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb4b1ca5201c56b1b054bf5acb9c870a.jpeg","path":"fb4b1ca5201c56b1b054bf5acb9c870a.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"28.99","price":"29.99","retail_price":"28.99","available":true,"url":"\/products\/mens-black-and-white-contrast-cat-print-casual-hoodie?variant=6255e1c4-e335-4554-b617-4b7e657b2a29","available_quantity":999999999,"options":[{"name":"Color","value":"Black and White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":9};
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.