${function() {
const variantData = data.variant || {"id":"cce0a71e-bc0c-45ef-8da9-0d471c547e27","product_id":"f91cce3f-80dd-49d2-9e47-4002a626c281","title":"grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-240320-A08-WT0003FJ5B-grey-S","barcode":"","position":13,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e74ea912af90aca226909171cd94fb8d.jpeg","path":"e74ea912af90aca226909171cd94fb8d.jpeg","width":900,"height":1200,"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-black-cat-and-love-art-casual-t-shirt?variant=cce0a71e-bc0c-45ef-8da9-0d471c547e27","available_quantity":999999999,"options":[{"name":"Color","value":"grey"},{"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.