${function() {
const variantData = data.variant || {"id":"7e2da1af-c658-4253-b099-f9e0772f3e78","product_id":"6c508736-6a9c-483a-8727-3e7ff1fd1e97","title":"","weight_unit":"kg","inventory_quantity":2,"sku":"hard-shell-bike-pannier","barcode":"781111140808","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":49,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49","retail_price":"0","available":true,"url":"\/products\/hard-shell-bike-pannier?variant=7e2da1af-c658-4253-b099-f9e0772f3e78","available_quantity":2,"options":[],"off_ratio":0,"flashsale_info":[],"sales":7};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"7e2da1af-c658-4253-b099-f9e0772f3e78","product_id":"6c508736-6a9c-483a-8727-3e7ff1fd1e97","title":"","weight_unit":"kg","inventory_quantity":2,"sku":"hard-shell-bike-pannier","barcode":"781111140808","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":49,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49","retail_price":"0","available":true,"url":"\/products\/hard-shell-bike-pannier?variant=7e2da1af-c658-4253-b099-f9e0772f3e78","available_quantity":2,"options":[],"off_ratio":0,"flashsale_info":[],"sales":7};
return `
`
}()}