${function() {
const variantData = data.variant || {"id":"1e9f4de3-0879-463b-8a26-2d10cd9a7683","product_id":"f28af5e3-c8b5-4d8d-aee2-f2c2a1217c06","title":"30*17.5*24merry","weight_unit":"kg","inventory_quantity":0,"sku":"66221029996-30*17.5*24merry","barcode":"","position":1,"option1":"30*17.5*24merry","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae3a9fb3447709476514f0676cf34098.jpeg","path":"ae3a9fb3447709476514f0676cf34098.jpeg","width":800,"height":800,"alt":"Christmas wooden light sign decoration wall door hanging sign","aspect_ratio":1},"wholesale_price":[{"price":12.8,"min_quantity":1}],"weight":"0.2","compare_at_price":"25.1","price":"12.8","retail_price":"25.1","available":true,"url":"\/products\/christmas-wooden-light-sign-decoration-wall-door-hanging-sign?variant=1e9f4de3-0879-463b-8a26-2d10cd9a7683","available_quantity":999999999,"options":[{"name":"\u5c3a\u5bf8","value":"30*17.5*24merry"}],"off_ratio":49,"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.