${function() {
const variantData = data.variant || {"id":"dd2ff5a4-e85e-467e-ab11-5eceb6fa0fb1","product_id":"80e32116-e9af-4d9b-9fa4-8cf2ab4bedfb","title":"Blue-S","weight_unit":"kg","inventory_quantity":991,"sku":"135-230828-15-WS0001K25B-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/958434651b64b12914db62b10bd96ba9.jpeg","path":"958434651b64b12914db62b10bd96ba9.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/protect-the-sea-love-the-sea-and-cherish-the-cradle-of-life-6eky?variant=dd2ff5a4-e85e-467e-ab11-5eceb6fa0fb1","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":78};
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.