${function() {
const variantData = data.variant || {"id":"ababe0ea-0db8-4964-9ce8-a3293ce49b24","product_id":"430162ab-ce5d-4c79-a5f8-b7ae31f8649c","title":"3","weight_unit":"kg","inventory_quantity":992,"sku":"X086-230420-01-QRFGE82E9W-3","barcode":"","position":3,"option1":"3","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a55be9eaf57d7e40f3f99fee0565635e.jpeg","path":"a55be9eaf57d7e40f3f99fee0565635e.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"9.99","price":"9.99","retail_price":"9.99","available":true,"url":"\/products\/merman-mermaid-pendant-hanging-decoration?variant=ababe0ea-0db8-4964-9ce8-a3293ce49b24","available_quantity":999999999,"options":[{"name":"Color","value":"3"}],"off_ratio":0,"flashsale_info":[],"sales":25};
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.