${function() {
const variantData = data.variant || {"id":"4577668a-3389-4843-8e59-e8870a4fa23b","product_id":"d128811e-42e9-4760-9d1c-90e6da34aa51","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"149-240311-A2-MT00712MVH-As shown-S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19e96d9a87f3c10f64f2139f1ed0d88e.jpeg","path":"19e96d9a87f3c10f64f2139f1ed0d88e.jpeg","width":1701,"height":2268,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/funny-cute-rabbit-art-print-t-shirt?variant=4577668a-3389-4843-8e59-e8870a4fa23b","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"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.