${function() {
const variantData = data.variant || {"id":"2ceb5a32-a2c6-442e-8d06-840d18d92dda","product_id":"b0fbead2-afe6-409b-b4e3-7cef27aa1f2e","title":"A","weight_unit":"kg","inventory_quantity":9369,"sku":"44231168-a","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/abaedd261b9163ac9787b071109cec95.jpeg","path":"abaedd261b9163ac9787b071109cec95.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.88,"min_quantity":1}],"weight":"0","compare_at_price":"9.88","price":"9.88","retail_price":"9.88","available":true,"url":"\/products\/eye-of-god-water-wind-fire-thunder-jewelry?variant=2ceb5a32-a2c6-442e-8d06-840d18d92dda","available_quantity":9369,"options":[{"name":"Color","value":"A"}],"off_ratio":0,"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":"2ceb5a32-a2c6-442e-8d06-840d18d92dda","product_id":"b0fbead2-afe6-409b-b4e3-7cef27aa1f2e","title":"A","weight_unit":"kg","inventory_quantity":9369,"sku":"44231168-a","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/abaedd261b9163ac9787b071109cec95.jpeg","path":"abaedd261b9163ac9787b071109cec95.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.88,"min_quantity":1}],"weight":"0","compare_at_price":"9.88","price":"9.88","retail_price":"9.88","available":true,"url":"\/products\/eye-of-god-water-wind-fire-thunder-jewelry?variant=2ceb5a32-a2c6-442e-8d06-840d18d92dda","available_quantity":9369,"options":[{"name":"Color","value":"A"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}