${function() {
const variantData = data.variant || {"id":"a4fe7396-e907-40a0-a774-944b9cfb03ab","product_id":"15da9143-6b2d-497d-afe9-fbe0ac36ca92","title":"\ud83d\udd25\ud83d\udd25black-orange","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"\ud83d\udd25\ud83d\udd25black-orange","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/501d1e28f969c49b8e8b33f47beced69.webp","path":"501d1e28f969c49b8e8b33f47beced69.webp","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"29.99","retail_price":"49.99","available":true,"url":"\/products\/\ud83c\udfa73d-surround-sound-open-ows-bluetooth-headset?variant=a4fe7396-e907-40a0-a774-944b9cfb03ab","available_quantity":999999999,"options":[{"name":"Color","value":"\ud83d\udd25\ud83d\udd25black-orange"}],"off_ratio":40,"flashsale_info":[],"sales":2544};
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":"a4fe7396-e907-40a0-a774-944b9cfb03ab","product_id":"15da9143-6b2d-497d-afe9-fbe0ac36ca92","title":"\ud83d\udd25\ud83d\udd25black-orange","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"\ud83d\udd25\ud83d\udd25black-orange","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/501d1e28f969c49b8e8b33f47beced69.webp","path":"501d1e28f969c49b8e8b33f47beced69.webp","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"29.99","retail_price":"49.99","available":true,"url":"\/products\/\ud83c\udfa73d-surround-sound-open-ows-bluetooth-headset?variant=a4fe7396-e907-40a0-a774-944b9cfb03ab","available_quantity":999999999,"options":[{"name":"Color","value":"\ud83d\udd25\ud83d\udd25black-orange"}],"off_ratio":40,"flashsale_info":[],"sales":2544};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}