${function() {
const variantData = data.variant || {"id":"6f725acc-6fe1-4205-a8f1-b321ec16dcbb","product_id":"a0540264-33af-44bf-8488-57e4ab266605","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"210963959712-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1bcc75bdd226b2a1dd7578cbf800bb41.jpeg","path":"1bcc75bdd226b2a1dd7578cbf800bb41.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"27.99","retail_price":"59.99","available":true,"url":"\/products\/mens-20-linen-shirt-short-sleeve-turndown-green-khaki-beige-shirt-daily?variant=6f725acc-6fe1-4205-a8f1-b321ec16dcbb","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":53,"flashsale_info":[],"sales":0};
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.