${function() {
const variantData = data.variant || {"id":"ee05b1a5-3794-4067-bee8-2a492d03442a","product_id":"1453f4c3-0111-4017-840b-7c059ac02c51","title":"S-Black","weight_unit":"kg","inventory_quantity":999,"sku":"MY19102905","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/617dbafde29820969e911761ed3af0c7.jpeg","path":"617dbafde29820969e911761ed3af0c7.jpeg","width":796,"height":796,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/cute-reindeer-knit-christams-sweater?variant=ee05b1a5-3794-4067-bee8-2a492d03442a","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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 : MY19102905
Weight : 0.4kg
${function(){
const variantData = data.variant || {"id":"ee05b1a5-3794-4067-bee8-2a492d03442a","product_id":"1453f4c3-0111-4017-840b-7c059ac02c51","title":"S-Black","weight_unit":"kg","inventory_quantity":999,"sku":"MY19102905","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/617dbafde29820969e911761ed3af0c7.jpeg","path":"617dbafde29820969e911761ed3af0c7.jpeg","width":796,"height":796,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/cute-reindeer-knit-christams-sweater?variant=ee05b1a5-3794-4067-bee8-2a492d03442a","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}