${function() {
const variantData = data.variant || {"id":"32aa9e32-38b1-4d39-8828-c94962c04621","product_id":"0edeb06d-92ed-4e4a-aee0-460f1633c402","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"149-240711-a43-MT0125LTQY-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/88c3f0ff91899fa8c8f465a283d118bc.jpeg","path":"88c3f0ff91899fa8c8f465a283d118bc.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.99","price":"38.99","retail_price":"38.99","available":true,"url":"\/products\/retro-mushroom-art-print-100-cotton-long-sleeve-shirt-xjzo?variant=32aa9e32-38b1-4d39-8828-c94962c04621","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":0,"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.