${function() {
const variantData = data.variant || {"id":"82cfe21c-82f8-4ad9-a784-16f7574b904e","product_id":"2146e4dd-0578-481d-b639-6a839f13f158","title":"Parrot","weight_unit":"kg","inventory_quantity":1000,"sku":"TY41567-X32905","barcode":"","position":1,"option1":"Parrot","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec20fd232ce4565537cfff6ee8c63ed0.jpeg","path":"ec20fd232ce4565537cfff6ee8c63ed0.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.99","retail_price":"0","available":true,"url":"\/products\/simulated-birds-hanging-pet-toy?variant=82cfe21c-82f8-4ad9-a784-16f7574b904e","available_quantity":999999999,"options":[{"name":"Style","value":"Parrot"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
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.