${function() {
const variantData = data.variant || {"id":"0569de7c-4bd1-4b4f-96d3-55b8fa3a0ae2","product_id":"8701a2b4-7b1c-4ab7-ab96-ae8a16a20830","title":"Black","weight_unit":"kg","inventory_quantity":500,"sku":"BE06638-Black-A0011205","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51ff5d18354a2873ce01bde3d77bbe7b.jpg","path":"51ff5d18354a2873ce01bde3d77bbe7b.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":85.47,"min_quantity":1}],"weight":"1","compare_at_price":"256.41","price":"85.47","retail_price":"256.41","available":true,"url":"\/products\/tg227-outdoor-portable-upright-wireless-compatible-speaker-music-player-support-usb-tf-fm-radio-music-stereo-ultra-bass-speaker-connect-with-mobile-phone-tablet-tv-music-player-connect-within-10-meters-for-home-party-celebration-goodlooking-thou?variant=0569de7c-4bd1-4b4f-96d3-55b8fa3a0ae2","available_quantity":500,"options":[{"name":"Color","value":"Black"}],"off_ratio":67,"flashsale_info":[],"sales":2000};
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 : BE06638-Black-A0011205
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"0569de7c-4bd1-4b4f-96d3-55b8fa3a0ae2","product_id":"8701a2b4-7b1c-4ab7-ab96-ae8a16a20830","title":"Black","weight_unit":"kg","inventory_quantity":500,"sku":"BE06638-Black-A0011205","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51ff5d18354a2873ce01bde3d77bbe7b.jpg","path":"51ff5d18354a2873ce01bde3d77bbe7b.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":85.47,"min_quantity":1}],"weight":"1","compare_at_price":"256.41","price":"85.47","retail_price":"256.41","available":true,"url":"\/products\/tg227-outdoor-portable-upright-wireless-compatible-speaker-music-player-support-usb-tf-fm-radio-music-stereo-ultra-bass-speaker-connect-with-mobile-phone-tablet-tv-music-player-connect-within-10-meters-for-home-party-celebration-goodlooking-thou?variant=0569de7c-4bd1-4b4f-96d3-55b8fa3a0ae2","available_quantity":500,"options":[{"name":"Color","value":"Black"}],"off_ratio":67,"flashsale_info":[],"sales":2000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}