${function() {
const variantData = data.variant || {"id":"0e8e74e6-a5f4-43a5-bc01-14a7b59db753","product_id":"782c7e6c-9d08-4fd1-b727-ad40d189fcec","title":"plastic Black","weight_unit":"kg","inventory_quantity":1000,"sku":"Multifunctional-scriber-tool-plastic-Black","barcode":"","position":1,"option1":"plastic Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8d4ecdfd48ca467c54817606e3c5c058.jpeg","path":"8d4ecdfd48ca467c54817606e3c5c058.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/4-in-1-scribing-tool-plastic-multi-function-scriber-ruler-woodworking-scribing-gauge-measurement-contour-tools-black?variant=0e8e74e6-a5f4-43a5-bc01-14a7b59db753","available_quantity":999999999,"options":[{"name":"Color","value":"plastic Black"}],"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.