${function() {
const variantData = data.variant || {"id":"bb431e9d-e997-450a-818a-eae6311b6e93","product_id":"a1511270-d4c5-4292-87cc-b7109f752008","title":"Black","weight_unit":"kg","inventory_quantity":500,"sku":"EL04792-Black-A0011262","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f84a154fc102f2b63125b8e6f121aa5f.jpg","path":"f84a154fc102f2b63125b8e6f121aa5f.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":98.97,"min_quantity":1}],"weight":"1","compare_at_price":"296.91","price":"98.97","retail_price":"296.91","available":true,"url":"\/products\/t-g-143-portable-wireless-stereo-speaker-dual-speakers-waterproof-design-tf-card-subwoofer-outdoor-aux-usb-stereo-bass-music-perfect-for-outdoor-gifts-this-new-year?variant=bb431e9d-e997-450a-818a-eae6311b6e93","available_quantity":500,"options":[{"name":"Color","value":"Black"}],"off_ratio":67,"flashsale_info":[],"sales":1000};
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 : EL04792-Black-A0011262
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"bb431e9d-e997-450a-818a-eae6311b6e93","product_id":"a1511270-d4c5-4292-87cc-b7109f752008","title":"Black","weight_unit":"kg","inventory_quantity":500,"sku":"EL04792-Black-A0011262","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f84a154fc102f2b63125b8e6f121aa5f.jpg","path":"f84a154fc102f2b63125b8e6f121aa5f.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":98.97,"min_quantity":1}],"weight":"1","compare_at_price":"296.91","price":"98.97","retail_price":"296.91","available":true,"url":"\/products\/t-g-143-portable-wireless-stereo-speaker-dual-speakers-waterproof-design-tf-card-subwoofer-outdoor-aux-usb-stereo-bass-music-perfect-for-outdoor-gifts-this-new-year?variant=bb431e9d-e997-450a-818a-eae6311b6e93","available_quantity":500,"options":[{"name":"Color","value":"Black"}],"off_ratio":67,"flashsale_info":[],"sales":1000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}