${function() {
const variantData = data.variant || {"id":"70e73cd0-9b2a-4516-86bb-272a405845d2","product_id":"e83534c1-06c9-4df4-8d0b-99231e8cc21b","title":"MULTICOLOR-S","weight_unit":"kg","inventory_quantity":1000,"sku":"ICJ102320C01-S","barcode":"","position":1,"option1":"MULTICOLOR","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/66e7b5b82e1bd2870c2ff33693d97451.jpeg","path":"66e7b5b82e1bd2870c2ff33693d97451.jpeg","width":1125,"height":1500,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/cute-cat-art-print-t-shirt-5?variant=70e73cd0-9b2a-4516-86bb-272a405845d2","available_quantity":999999999,"options":[{"name":"COLOR","value":"MULTICOLOR"},{"name":"SIZE","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":14};
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.