${function() {
const variantData = data.variant || {"id":"59fd5fcc-bb45-499c-acee-bd5ca5e18190","product_id":"35c03a2f-0bb9-4dc1-ac04-b828a9b0de7c","title":"White","weight_unit":"g","inventory_quantity":99,"sku":"JF00998-White-A001002","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c9120341e23a9f2d110dca811927b92.jpeg","path":"9c9120341e23a9f2d110dca811927b92.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":72.98,"min_quantity":1}],"weight":"105","compare_at_price":"240","price":"72.98","retail_price":"240","available":true,"url":"\/products\/new-original-lenovo-thinkplus-lp40-pro-wireless-earphones?variant=59fd5fcc-bb45-499c-acee-bd5ca5e18190","available_quantity":99,"options":[{"name":"Color","value":"White"}],"off_ratio":70,"flashsale_info":[],"sales":5000};
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 : JF00998-White-A001002
Weight : 105g
${function(){
const variantData = data.variant || {"id":"59fd5fcc-bb45-499c-acee-bd5ca5e18190","product_id":"35c03a2f-0bb9-4dc1-ac04-b828a9b0de7c","title":"White","weight_unit":"g","inventory_quantity":99,"sku":"JF00998-White-A001002","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c9120341e23a9f2d110dca811927b92.jpeg","path":"9c9120341e23a9f2d110dca811927b92.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":72.98,"min_quantity":1}],"weight":"105","compare_at_price":"240","price":"72.98","retail_price":"240","available":true,"url":"\/products\/new-original-lenovo-thinkplus-lp40-pro-wireless-earphones?variant=59fd5fcc-bb45-499c-acee-bd5ca5e18190","available_quantity":99,"options":[{"name":"Color","value":"White"}],"off_ratio":70,"flashsale_info":[],"sales":5000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}