${function() {
const variantData = data.variant || {"id":"ddec56f5-a78f-4971-9970-10e74fa49dd7","product_id":"7619f18d-48d9-4feb-ba80-94d1a2418af3","title":"Light Grey-M","weight_unit":"kg","inventory_quantity":999,"sku":"SYV005568_LGR_M","barcode":"","position":1,"option1":"Light Grey","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/27408d4877537cfcc5346b5f7276f72a.jpeg","path":"27408d4877537cfcc5346b5f7276f72a.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/casual-waffle-pullover-top?variant=ddec56f5-a78f-4971-9970-10e74fa49dd7","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.