${function() {
const variantData = data.variant || {"id":"e2e461ad-e7df-40be-8fa4-31d883190769","product_id":"806e85bb-8022-416b-8cde-d52680573e54","title":"Basic small hole","weight_unit":"kg","inventory_quantity":1000,"sku":"TSTF_Basic_small_hole","barcode":"","position":1,"option1":"Basic small hole","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ea2564bfe3eea2b298371428b9c2acd2.jpeg","path":"ea2564bfe3eea2b298371428b9c2acd2.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\/tumbler-swing-toys-for-cats-kitten-interactive-cat-toy-cats-accessories-interactive-cat-food-feeders-wood-material?variant=e2e461ad-e7df-40be-8fa4-31d883190769","available_quantity":999999999,"options":[{"name":"Color","value":"Basic small hole"}],"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.