${function() {
const variantData = data.variant || {"id":"fb8e3ba1-a223-441d-9709-313fe3e37cbf","product_id":"99987fa6-16cd-4f93-aded-2e73ac0ff6fc","title":"S","weight_unit":"lb","inventory_quantity":0,"sku":"5111949_Magenta_S","barcode":"1704339899910\/306","position":1,"option1":"S","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"20.99","retail_price":"34.99","available":true,"url":"\/products\/too-good-lace-teddy-magenta?variant=fb8e3ba1-a223-441d-9709-313fe3e37cbf","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":40,"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.
Sku : 5111949_Magenta_S
Barcode : 1704339899910/306
${function(){
const variantData = data.variant || {"id":"fb8e3ba1-a223-441d-9709-313fe3e37cbf","product_id":"99987fa6-16cd-4f93-aded-2e73ac0ff6fc","title":"S","weight_unit":"lb","inventory_quantity":0,"sku":"5111949_Magenta_S","barcode":"1704339899910\/306","position":1,"option1":"S","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"20.99","retail_price":"34.99","available":true,"url":"\/products\/too-good-lace-teddy-magenta?variant=fb8e3ba1-a223-441d-9709-313fe3e37cbf","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}