${function() {
const variantData = data.variant || {"id":"81289bf0-4275-40d6-b501-60c6e423531e","product_id":"4a6bb855-ccec-4ba4-a7ff-2c072a6fe96c","title":"Green","weight_unit":"kg","inventory_quantity":1000,"sku":"CWT-Green","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76b752041b64e38d25f36778d25daf47.jpeg","path":"76b752041b64e38d25f36778d25daf47.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-windmill-toy-with-whirligig-turntable-ball-for-kitten-cat-interactive-game-spring-training-products-pet-supplies?variant=81289bf0-4275-40d6-b501-60c6e423531e","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.