${function() {
const variantData = data.variant || {"id":"d63bdc04-4dbe-4460-9139-79ec78a9eed6","product_id":"56320abc-f0f4-48f4-9dbb-dd73b1092f7e","title":"hemp-M","weight_unit":"kg","inventory_quantity":0,"sku":"662305101058-hemp-M","barcode":"","position":7,"option1":"hemp","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e92f6794e1d2b352d7d43f648e9ab8d.jpeg","path":"6e92f6794e1d2b352d7d43f648e9ab8d.jpeg","width":800,"height":800,"alt":"Simple Thin Printed Cotton Linen T-Shirt","aspect_ratio":1},"wholesale_price":[{"price":27.69,"min_quantity":1}],"weight":"1","compare_at_price":"38","price":"27.69","retail_price":"38","available":true,"url":"\/products\/simple-thin-printed-cotton-linen-t-shirt?variant=d63bdc04-4dbe-4460-9139-79ec78a9eed6","available_quantity":999999999,"options":[{"name":"color","value":"hemp"},{"name":"size","value":"M"}],"off_ratio":27,"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.