${function() {
const variantData = data.variant || {"id":"40b54b9f-44d2-4e58-b01b-21ee80b472f9","product_id":"bd90627b-de89-4587-b1a7-d88ea97adcf3","title":"black-orange","weight_unit":"kg","inventory_quantity":0,"sku":"SLRD7G9D-0001","barcode":"","position":1,"option1":"black-orange","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e82e89177ef446b97f3c5922729da75d.jpeg","path":"e82e89177ef446b97f3c5922729da75d.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.99","price":"34.99","retail_price":"43.99","available":true,"url":"\/products\/hot-sale-3d-surround-sound-open-ows-bluetooth-headset?variant=40b54b9f-44d2-4e58-b01b-21ee80b472f9","available_quantity":999999999,"options":[{"name":"3D Surround Sound Open OWS Bluetooth Headset","value":"black-orange"}],"off_ratio":20,"flashsale_info":[],"sales":0};
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.
${function(){
const variantData = data.variant || {"id":"40b54b9f-44d2-4e58-b01b-21ee80b472f9","product_id":"bd90627b-de89-4587-b1a7-d88ea97adcf3","title":"black-orange","weight_unit":"kg","inventory_quantity":0,"sku":"SLRD7G9D-0001","barcode":"","position":1,"option1":"black-orange","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e82e89177ef446b97f3c5922729da75d.jpeg","path":"e82e89177ef446b97f3c5922729da75d.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.99","price":"34.99","retail_price":"43.99","available":true,"url":"\/products\/hot-sale-3d-surround-sound-open-ows-bluetooth-headset?variant=40b54b9f-44d2-4e58-b01b-21ee80b472f9","available_quantity":999999999,"options":[{"name":"3D Surround Sound Open OWS Bluetooth Headset","value":"black-orange"}],"off_ratio":20,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}