${function() {
const variantData = data.variant || {"id":"17d4fcf3-0659-4bf7-8f13-742e4a4fd390","product_id":"6e1996b4-65a4-42ab-9be2-67d2e02f3d40","title":"Black-S","weight_unit":"kg","inventory_quantity":-8,"sku":"MJ23062702-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/black-hood-linen-t-shirt?variant=17d4fcf3-0659-4bf7-8f13-742e4a4fd390","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":22};
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":"17d4fcf3-0659-4bf7-8f13-742e4a4fd390","product_id":"6e1996b4-65a4-42ab-9be2-67d2e02f3d40","title":"Black-S","weight_unit":"kg","inventory_quantity":-8,"sku":"MJ23062702-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/black-hood-linen-t-shirt?variant=17d4fcf3-0659-4bf7-8f13-742e4a4fd390","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":22};
return `
Sku : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}