${function() {
const variantData = data.variant || {"id":"a47a81a3-f4a1-4446-bd7e-ff7d7dfe4d73","product_id":"cfc86ad3-4a3e-4b5a-a4a2-b913952bb954","title":"Yellow","weight_unit":"kg","inventory_quantity":999,"sku":"PDPPWTBPP-Yellow","barcode":"","position":1,"option1":"Yellow","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c122a08b081a26591a555818e4e85b0.jpeg","path":"1c122a08b081a26591a555818e4e85b0.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"42.99","retail_price":"0","available":true,"url":"\/products\/dog-clean-toilet-picker-cleaning-tool-pet-clamp-toilet-portable-long-handle-dog-toilet-outdoor-cat-feces-picker-hygiene-supplies?variant=a47a81a3-f4a1-4446-bd7e-ff7d7dfe4d73","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.