${function() {
const variantData = data.variant || {"id":"236b42ab-e7fd-4162-adba-b90faf672dfd","product_id":"e75ede36-cd8a-4b7d-ab75-659128be4225","title":"yellow-S","weight_unit":"kg","inventory_quantity":-1,"sku":"MJ23062802-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"48.99","retail_price":"0","available":true,"url":"\/products\/yellow-tartan-jumpsuit?variant=236b42ab-e7fd-4162-adba-b90faf672dfd","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"S"}],"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : MJ23062802-yellow-S
${function(){
const variantData = data.variant || {"id":"236b42ab-e7fd-4162-adba-b90faf672dfd","product_id":"e75ede36-cd8a-4b7d-ab75-659128be4225","title":"yellow-S","weight_unit":"kg","inventory_quantity":-1,"sku":"MJ23062802-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"48.99","retail_price":"0","available":true,"url":"\/products\/yellow-tartan-jumpsuit?variant=236b42ab-e7fd-4162-adba-b90faf672dfd","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}