${function() {
const variantData = data.variant || {"id":"a1f2bbd5-b146-4cbf-97c3-cb8eb4b96b0f","product_id":"c540e9a2-c600-4bb1-bd7f-bc182fe90089","title":"green","weight_unit":"kg","inventory_quantity":1000,"sku":"Durian-Shape-Itching-Comb-green","barcode":"","position":1,"option1":"green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2f7af83f4d61b945d435ea011ecebe38.jpeg","path":"2f7af83f4d61b945d435ea011ecebe38.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/cat-massage-combs-durian-shape-itching-comb-pet-hair-remover-brush-pets-cats-grooming-comb-cleaning-massage-tools-cat-toy?variant=a1f2bbd5-b146-4cbf-97c3-cb8eb4b96b0f","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.