${function() {
const variantData = data.variant || {"id":"a94d6313-2d24-4490-b4ef-05f6a792d8fa","product_id":"779d4531-36c2-4ace-bcd6-a3ae24cb54e0","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"132-230821-18-WT0002MB89-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/834f7a19afc603dcee6267b45ad54fc4.jpeg","path":"834f7a19afc603dcee6267b45ad54fc4.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/lahaina-strong-casual-t-shirt-inq8?variant=a94d6313-2d24-4490-b4ef-05f6a792d8fa","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":85};
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.