${function() {
const variantData = data.variant || {"id":"c70a466b-ea57-4be1-9922-4f85dce9e379","product_id":"7f38c7ee-9ede-41e2-b2e5-654c50f8cf23","title":"Black","weight_unit":"lb","inventory_quantity":100,"sku":"27315689","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac02acdaaeff431b606e77c61be83292.jpeg","path":"ac02acdaaeff431b606e77c61be83292.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":155,"min_quantity":1}],"weight":"12.6","compare_at_price":"190","price":"155","retail_price":"190","available":true,"url":"\/products\/portable-electric-fireplace-heater-with-realistic-flame-effect?variant=c70a466b-ea57-4be1-9922-4f85dce9e379","available_quantity":100,"options":[{"name":"\u989c\u8272","value":"Black"}],"off_ratio":18,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.
${function(){
const variantData = data.variant || {"id":"c70a466b-ea57-4be1-9922-4f85dce9e379","product_id":"7f38c7ee-9ede-41e2-b2e5-654c50f8cf23","title":"Black","weight_unit":"lb","inventory_quantity":100,"sku":"27315689","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac02acdaaeff431b606e77c61be83292.jpeg","path":"ac02acdaaeff431b606e77c61be83292.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":155,"min_quantity":1}],"weight":"12.6","compare_at_price":"190","price":"155","retail_price":"190","available":true,"url":"\/products\/portable-electric-fireplace-heater-with-realistic-flame-effect?variant=c70a466b-ea57-4be1-9922-4f85dce9e379","available_quantity":100,"options":[{"name":"\u989c\u8272","value":"Black"}],"off_ratio":18,"flashsale_info":[],"sales":0};
return `
`
}()}