${function() {
const variantData = data.variant || {"id":"313f71db-9339-4b5f-aa77-ee4bfd0da5e3","product_id":"f950b2b1-7405-4137-acf7-075c766010b1","title":"1M","weight_unit":"kg","inventory_quantity":100,"sku":"NM01051-1M-A001068","barcode":"","position":1,"option1":"1M","option2":"","option3":"","note":"39.3inch","image":null,"wholesale_price":[{"price":31.47,"min_quantity":1}],"weight":"0","compare_at_price":"93","price":"31.47","retail_price":"93","available":true,"url":"\/products\/5050-rgb-led-strip-lights-music-sync-color-changing-smart-remote-control-perfect-for-home-decoration-and-parties?variant=313f71db-9339-4b5f-aa77-ee4bfd0da5e3","available_quantity":100,"options":[{"name":"Color","value":"1M"}],"off_ratio":66,"flashsale_info":[],"sales":10000};
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":"313f71db-9339-4b5f-aa77-ee4bfd0da5e3","product_id":"f950b2b1-7405-4137-acf7-075c766010b1","title":"1M","weight_unit":"kg","inventory_quantity":100,"sku":"NM01051-1M-A001068","barcode":"","position":1,"option1":"1M","option2":"","option3":"","note":"39.3inch","image":null,"wholesale_price":[{"price":31.47,"min_quantity":1}],"weight":"0","compare_at_price":"93","price":"31.47","retail_price":"93","available":true,"url":"\/products\/5050-rgb-led-strip-lights-music-sync-color-changing-smart-remote-control-perfect-for-home-decoration-and-parties?variant=313f71db-9339-4b5f-aa77-ee4bfd0da5e3","available_quantity":100,"options":[{"name":"Color","value":"1M"}],"off_ratio":66,"flashsale_info":[],"sales":10000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}