${function() {
const variantData = data.variant || {"id":"61bbde9e-2812-4a75-98f7-402b62ed7dfb","product_id":"5fb1306e-26ec-4fc8-ba52-ff2fd3701271","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212122508-Black-S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/94929863c6a603945d930223d84c8609.png","path":"94929863c6a603945d930223d84c8609.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=61bbde9e-2812-4a75-98f7-402b62ed7dfb","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.