${function() {
const variantData = data.variant || {"id":"94bda1a3-6a4e-4bd7-aa04-67b70a87f57d","product_id":"5fb1306e-26ec-4fc8-ba52-ff2fd3701271","title":"Yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212122508-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2183e0aacac76eb877ead136fa6da19c.png","path":"2183e0aacac76eb877ead136fa6da19c.png","width":600,"height":800,"alt":"Could Be A Train Station Kinda Day Print T-shirt","aspect_ratio":0.75},"wholesale_price":[{"price":21.59,"min_quantity":1}],"weight":"0.4","compare_at_price":"25","price":"21.59","retail_price":"25","available":true,"url":"\/products\/could-be-a-train-station-kinda-day-print-t-shirt?variant=94bda1a3-6a4e-4bd7-aa04-67b70a87f57d","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":14,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.