${function() {
const variantData = data.variant || {"id":"273160eb-0019-4229-a03c-efc8c2b77719","product_id":"f4f7b76d-77e7-4b9d-ad0a-31dcdb88bb4e","title":"Light Grey-M","weight_unit":"kg","inventory_quantity":999,"sku":"SDV000602_LGR_M","barcode":"","position":11,"option1":"Light Grey","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8ff68d503a9f78c3e84bec85d0fb04d2.jpeg","path":"8ff68d503a9f78c3e84bec85d0fb04d2.jpeg","width":3072,"height":4096,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.99","price":"35.99","retail_price":"35.99","available":true,"url":"\/products\/cozy-half-button-cotton-linen-shirt-sets?variant=273160eb-0019-4229-a03c-efc8c2b77719","available_quantity":999999999,"options":[{"name":"Color","value":"Light Grey"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.