${function() {
const variantData = data.variant || {"id":"fde37a74-7b59-4c9e-b3ce-6d01f3f6549f","product_id":"467d9c22-8599-4d9b-b9b2-50b8032dfa4b","title":"black-S","weight_unit":"kg","inventory_quantity":999,"sku":"099-230328-A17-ZDMT00YN76-black-S","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ef23a638d8eef1616aab542a4bfb1983.jpeg","path":"ef23a638d8eef1616aab542a4bfb1983.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"18.99","price":"18.99","retail_price":"18.99","available":true,"url":"\/products\/mens-hi-bear-nice-to-meet-you-print-casual-t-shirt?variant=fde37a74-7b59-4c9e-b3ce-6d01f3f6549f","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"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.