${function() {
const variantData = data.variant || {"id":"1e377f33-f07c-487b-bc6b-97ddb78a060b","product_id":"67847075-2b86-449b-ac92-e74bdcd3c0a0","title":"Green","weight_unit":"kg","inventory_quantity":1000,"sku":"PCS-Green","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/49d16e3442d65f7d4770bd30294c64f5.jpeg","path":"49d16e3442d65f7d4770bd30294c64f5.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/new-high-quality-pet-comb-self-cleaning-brush-professional-dog-and-cat-grooming-brush-dog-bathing-cat-cleaning-supplies-pet?variant=1e377f33-f07c-487b-bc6b-97ddb78a060b","available_quantity":999999999,"options":[{"name":"Color","value":"Green"}],"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.