${function() {
const variantData = data.variant || {"id":"512c77ea-5448-458a-ad04-e97e928e2138","product_id":"363d24c4-bff3-4645-a99b-83299ee13c0d","title":"Blue","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1710518895768","barcode":"","position":1,"option1":"Blue","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":49.5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.5","retail_price":"0","available":true,"url":"\/products\/sustainable-notebook-handmade-paper?variant=512c77ea-5448-458a-ad04-e97e928e2138","available_quantity":1000,"options":[{"name":"Primary color","value":"Blue"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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.