${function() {
const variantData = data.variant || {"id":"6d94674c-af49-43ff-8212-ae25db61a3d5","product_id":"97c78c71-32bf-4c82-8faa-afdfa5fa2e34","title":"1 PC","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--1 PC-A002611","barcode":"","position":1,"option1":"1 PC","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.98","price":"39.99","retail_price":"79.98","available":true,"url":"\/products\/ct?variant=6d94674c-af49-43ff-8212-ae25db61a3d5","available_quantity":1000,"options":[{"name":"QTY","value":"1 PC"}],"off_ratio":50,"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":"6d94674c-af49-43ff-8212-ae25db61a3d5","product_id":"97c78c71-32bf-4c82-8faa-afdfa5fa2e34","title":"1 PC","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--1 PC-A002611","barcode":"","position":1,"option1":"1 PC","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.98","price":"39.99","retail_price":"79.98","available":true,"url":"\/products\/ct?variant=6d94674c-af49-43ff-8212-ae25db61a3d5","available_quantity":1000,"options":[{"name":"QTY","value":"1 PC"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}