${function() {
const variantData = data.variant || {"id":"c17a58e1-aa14-44a3-894b-4cc940ae4011","product_id":"786dc530-7193-49c0-8acc-a300a0cc324a","title":"Black ","weight_unit":"kg","inventory_quantity":969,"sku":"XW0116-Black ","barcode":"","position":1,"option1":"Black ","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":26.98,"min_quantity":1}],"weight":"0","compare_at_price":"44.89","price":"26.98","retail_price":"44.89","available":true,"url":"\/products\/rechargeable-lash-curler?variant=c17a58e1-aa14-44a3-894b-4cc940ae4011","available_quantity":999999999,"options":[{"name":"COLOR","value":"Black "}],"off_ratio":40,"flashsale_info":[],"sales":11};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
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.