${function() {
const variantData = data.variant || {"id":"fc8c50b0-5627-4da1-9e7d-3cf1291a7eb8","product_id":"ba2e9f47-5832-4c3e-ab89-b547263a313d","title":"1SET","weight_unit":"kg","inventory_quantity":1000,"sku":"Handheld-Alcohol-1SET","barcode":"","position":1,"option1":"1SET","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bdd396b0f70d44f6b0421552086c35ba.jpg","path":"bdd396b0f70d44f6b0421552086c35ba.jpg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.99","retail_price":"0","available":true,"url":"\/products\/handheld-alcohol-sugar-refractometer-digital-tester-wine-concentration-meter-densitometer-0-25-alcohol-beer-0-40-brix-grapes?variant=fc8c50b0-5627-4da1-9e7d-3cf1291a7eb8","available_quantity":999999999,"options":[{"name":"Style","value":"1SET"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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}
`
}()}
Product was out of stock.
Product is unavailable.