${function() {
const variantData = data.variant || {"id":"5abc478e-f13a-49aa-a450-ae1e281f728a","product_id":"e6a6f079-6c37-4941-816f-6ce997c8ade9","title":"dark green-S","weight_unit":"kg","inventory_quantity":-1,"sku":"MJ23062601-dark green-S","barcode":"","position":1,"option1":"dark green","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.99","retail_price":"0","available":true,"url":"\/products\/dark-green-linen-henley-shirt?variant=5abc478e-f13a-49aa-a450-ae1e281f728a","available_quantity":999999999,"options":[{"name":"color","value":"dark green"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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 : MJ23062601-dark green-S
${function(){
const variantData = data.variant || {"id":"5abc478e-f13a-49aa-a450-ae1e281f728a","product_id":"e6a6f079-6c37-4941-816f-6ce997c8ade9","title":"dark green-S","weight_unit":"kg","inventory_quantity":-1,"sku":"MJ23062601-dark green-S","barcode":"","position":1,"option1":"dark green","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.99","retail_price":"0","available":true,"url":"\/products\/dark-green-linen-henley-shirt?variant=5abc478e-f13a-49aa-a450-ae1e281f728a","available_quantity":999999999,"options":[{"name":"color","value":"dark green"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
return `
Sku : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}