${function() {
const variantData = data.variant || {"id":"e676d2f0-1ae2-4722-826f-1793dbcf8a22","product_id":"7075d762-a82d-4fbe-9a57-f44694b43760","title":"Black","weight_unit":"kg","inventory_quantity":500,"sku":"ME03837-Black-A0011169","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/74d9596e3452fac4b44f81320ae9c951.jpg","path":"74d9596e3452fac4b44f81320ae9c951.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":68.94,"min_quantity":1}],"weight":"1","compare_at_price":"206.82","price":"68.94","retail_price":"206.82","available":true,"url":"\/products\/boost-your-outdoor-parties-with-this-portable-wireless-speaker-colorful-led-light-3d-stereo-bass?variant=e676d2f0-1ae2-4722-826f-1793dbcf8a22","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 : ME03837-Black-A0011169
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"e676d2f0-1ae2-4722-826f-1793dbcf8a22","product_id":"7075d762-a82d-4fbe-9a57-f44694b43760","title":"Black","weight_unit":"kg","inventory_quantity":500,"sku":"ME03837-Black-A0011169","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/74d9596e3452fac4b44f81320ae9c951.jpg","path":"74d9596e3452fac4b44f81320ae9c951.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":68.94,"min_quantity":1}],"weight":"1","compare_at_price":"206.82","price":"68.94","retail_price":"206.82","available":true,"url":"\/products\/boost-your-outdoor-parties-with-this-portable-wireless-speaker-colorful-led-light-3d-stereo-bass?variant=e676d2f0-1ae2-4722-826f-1793dbcf8a22","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}
`
}()}