${function() {
const variantData = data.variant || {"id":"0115cc65-b412-4c3e-9ca4-219f244711f4","product_id":"91901d2e-0e53-4317-a7b5-a440dc54ca9b","title":"PARROT-buy 1 get 1 free","weight_unit":"kg","inventory_quantity":999,"sku":"Hanging-Pet-Toy-2pcs","barcode":"","position":1,"option1":"PARROT","option2":"buy 1 get 1 free","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b3393b7be06ebf59cdb9b6e9fb2b5ec7.jpg","path":"b3393b7be06ebf59cdb9b6e9fb2b5ec7.jpg","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\/simulated-birds-hanging-pet-toy?variant=0115cc65-b412-4c3e-9ca4-219f244711f4","available_quantity":999999999,"options":[{"name":"Type","value":"PARROT"},{"name":"Style","value":"buy 1 get 1 free"}],"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.