${function() {
const variantData = data.variant || {"id":"115347cd-94e4-4360-96bf-a7cc5ce71532","product_id":"c2c26cd9-72c9-4004-bf11-cd96784c975d","title":"LightBlue-S","weight_unit":"kg","inventory_quantity":999,"sku":"SH5MBA2D844D","barcode":"","position":1,"option1":"LightBlue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a6b1061a22f41f783832586cd8440fb8.jpeg","path":"a6b1061a22f41f783832586cd8440fb8.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.62,"min_quantity":1}],"weight":"0","compare_at_price":"61.41","price":"35.62","retail_price":"61.41","available":true,"url":"\/products\/lightblue-cotton-blend-v-neck-casual-shirts-tops?variant=115347cd-94e4-4360-96bf-a7cc5ce71532","available_quantity":999,"options":[{"name":"Color","value":"LightBlue"},{"name":"Size","value":"S"}],"off_ratio":42,"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.