${function() {
const variantData = data.variant || {"id":"dc57a644-bb9c-4c03-b219-be7a4e60faa5","product_id":"51aa6a69-0451-44c6-abf4-5e7d69788b24","title":"1pc","weight_unit":"kg","inventory_quantity":1000,"sku":"FPR-1pc","barcode":"","position":1,"option1":"1pc","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd051a1b69fb7ce288a13da92e436341.jpg","path":"cd051a1b69fb7ce288a13da92e436341.jpg","width":789,"height":789,"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\/flower-pot-stand-book-white-filigree-style-wall-shelf-european-retro-simple-candle-home-decoration-holder-bedroom-organizer-2020?variant=dc57a644-bb9c-4c03-b219-be7a4e60faa5","available_quantity":999999999,"options":[{"name":"QTY","value":"1pc"}],"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.