${function() {
const variantData = data.variant || {"id":"383c16e6-6edb-4b70-930f-e6fc772980bb","product_id":"9da47c3c-0aa8-4603-b232-c72af76cb5fa","title":"Khaki-M","weight_unit":"kg","inventory_quantity":998,"sku":"SYV005790_KH_M","barcode":"","position":1,"option1":"Khaki","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6f6ee53ab19fa7d88312fc65036e43c1.jpeg","path":"6f6ee53ab19fa7d88312fc65036e43c1.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"34.99","retail_price":"34.99","available":true,"url":"\/products\/lightweight-cotton-linen-cover-up-shirt?variant=383c16e6-6edb-4b70-930f-e6fc772980bb","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"M"}],"off_ratio":0,"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.