${function() {
const variantData = data.variant || {"id":"dbdac9f8-b798-4f00-b7a2-554d4b5bf30a","product_id":"69e6f5ff-339a-4b3f-ba32-0f80e992075b","title":"Multi color","weight_unit":"kg","inventory_quantity":1000,"sku":"LRFS-Multi-color","barcode":"","position":1,"option1":"Multi color","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e09c8166d9c2449795fa3cd5b1dfffd0.jpeg","path":"e09c8166d9c2449795fa3cd5b1dfffd0.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/20-led-rose-flower-string-battery-powered-fairy-lights-wedding-home-birthday-valentines-day-event-party-garland-decor-luminaria?variant=dbdac9f8-b798-4f00-b7a2-554d4b5bf30a","available_quantity":999999999,"options":[{"name":"Emitting Color","value":"Multi color"}],"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.