${function() {
const variantData = data.variant || {"id":"1dd834ee-e749-4670-9549-19b2dbb16fbf","product_id":"02700d8f-abaa-4fa6-b222-947ec437431b","title":"S","weight_unit":"lb","inventory_quantity":0,"sku":"DZ21G647_Olive_S","barcode":"1704339547037\/285","position":1,"option1":"S","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"27.99","retail_price":"39.99","available":true,"url":"\/products\/kelly-cable-knit-sweater-olive?variant=1dd834ee-e749-4670-9549-19b2dbb16fbf","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":30,"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 : DZ21G647_Olive_S
Barcode : 1704339547037/285
${function(){
const variantData = data.variant || {"id":"1dd834ee-e749-4670-9549-19b2dbb16fbf","product_id":"02700d8f-abaa-4fa6-b222-947ec437431b","title":"S","weight_unit":"lb","inventory_quantity":0,"sku":"DZ21G647_Olive_S","barcode":"1704339547037\/285","position":1,"option1":"S","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"27.99","retail_price":"39.99","available":true,"url":"\/products\/kelly-cable-knit-sweater-olive?variant=1dd834ee-e749-4670-9549-19b2dbb16fbf","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}