${function() {
const variantData = data.variant || {"id":"be5604ac-6489-445a-9768-0e09cdfae463","product_id":"cfef6416-b7f6-4b0c-a160-49921b9bcc77","title":"Buy 1 Get 1","weight_unit":"kg","inventory_quantity":1000,"sku":"Moon-Cake-Mould-2set(4pcs","barcode":"","position":1,"option1":"Buy 1 Get 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5134b006ae83f24e829eb64b117b12d.jpg","path":"c5134b006ae83f24e829eb64b117b12d.jpg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/4pcs-set-75g-lotus-mooncake-mold-ten-petal-lotus-chinese-tradition-home-diy-festival-pastry-decoration-tools-kitchen-baking-mold?variant=be5604ac-6489-445a-9768-0e09cdfae463","available_quantity":999999999,"options":[{"name":"Style","value":"Buy 1 Get 1"}],"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.