${function() {
const variantData = data.variant || {"id":"5b9fb371-b283-472e-9050-50ddedeb4208","product_id":"9a220409-f63b-4d05-a283-4bfe50b34779","title":"green-M","weight_unit":"kg","inventory_quantity":0,"sku":"662305101015-green-M","barcode":"","position":1,"option1":"green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/32c3ea47e51bb2ba6d4b7ae3b1b93af8.jpeg","path":"32c3ea47e51bb2ba6d4b7ae3b1b93af8.jpeg","width":800,"height":800,"alt":"Vintage Chest Stand Collar Loose Shirt","aspect_ratio":1},"wholesale_price":[{"price":44.89,"min_quantity":1}],"weight":"0.3","compare_at_price":"55","price":"44.89","retail_price":"55","available":true,"url":"\/products\/vintage-chest-stand-collar-loose-shirt?variant=5b9fb371-b283-472e-9050-50ddedeb4208","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"M"}],"off_ratio":18,"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.