${function() {
const variantData = data.variant || {"id":"ba23ddf4-4f9b-4b71-8dbe-2b04d8fc3d27","product_id":"462434f9-6d72-4577-8a02-aff729375163","title":"green-S","weight_unit":"kg","inventory_quantity":-34,"sku":"MJ23061902-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0","compare_at_price":"60","price":"48.99","retail_price":"60","available":true,"url":"\/products\/mens-green-tartan-short-sleeve-loose-jumpsuit-p5sv?variant=ba23ddf4-4f9b-4b71-8dbe-2b04d8fc3d27","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":33};
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}
`
}()}
${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":"ba23ddf4-4f9b-4b71-8dbe-2b04d8fc3d27","product_id":"462434f9-6d72-4577-8a02-aff729375163","title":"green-S","weight_unit":"kg","inventory_quantity":-34,"sku":"MJ23061902-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0","compare_at_price":"60","price":"48.99","retail_price":"60","available":true,"url":"\/products\/mens-green-tartan-short-sleeve-loose-jumpsuit-p5sv?variant=ba23ddf4-4f9b-4b71-8dbe-2b04d8fc3d27","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":33};
return `
Sku : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}