${function() {
const variantData = data.variant || {"id":"b1ae539f-4e00-4b9e-a4f3-3abf8152506a","product_id":"68b6f7d0-4530-45e3-8584-a6fffdd73088","title":"creamy white-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1414782822606430209","barcode":"","position":1,"option1":"creamy white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2be14c4262d329112d678bcc9bfbd89d.jpeg","path":"2be14c4262d329112d678bcc9bfbd89d.jpeg","width":720,"height":720,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"29.99","retail_price":"45","available":true,"url":"\/products\/mens-linen-holiday-plain-tank-top-2d11ec9c9-6a3b-422f-a47b-176f4bff7f8d?variant=b1ae539f-4e00-4b9e-a4f3-3abf8152506a","available_quantity":999999999,"options":[{"name":"Color","value":"creamy white"},{"name":"Size","value":"M"}],"off_ratio":33,"flashsale_info":[],"sales":1};
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.