${function() {
const variantData = data.variant || {"id":"73bf7f84-a567-4cf7-9032-9c61e8a6f0e7","product_id":"ee1c22bf-b3c6-47df-a54f-5f717712bd9b","title":"","weight_unit":"kg","inventory_quantity":500,"sku":"PE09800--A0011347","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":217.47,"min_quantity":1}],"weight":"1","compare_at_price":"652.41","price":"217.47","retail_price":"652.41","available":true,"url":"\/products\/1-4pcs-light-bulbs-smart-bulbs-smart-light-bulbs-for-bedroom-light-bulbs-with-app-control-rgbw-led-color-changing-bulbs-16-million-diy-colors-dimmable-music-sync-a19-e26-9w-800lm-led-light-bulb?variant=73bf7f84-a567-4cf7-9032-9c61e8a6f0e7","available_quantity":500,"options":[],"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 + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.
Sku : PE09800--A0011347
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"73bf7f84-a567-4cf7-9032-9c61e8a6f0e7","product_id":"ee1c22bf-b3c6-47df-a54f-5f717712bd9b","title":"","weight_unit":"kg","inventory_quantity":500,"sku":"PE09800--A0011347","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":217.47,"min_quantity":1}],"weight":"1","compare_at_price":"652.41","price":"217.47","retail_price":"652.41","available":true,"url":"\/products\/1-4pcs-light-bulbs-smart-bulbs-smart-light-bulbs-for-bedroom-light-bulbs-with-app-control-rgbw-led-color-changing-bulbs-16-million-diy-colors-dimmable-music-sync-a19-e26-9w-800lm-led-light-bulb?variant=73bf7f84-a567-4cf7-9032-9c61e8a6f0e7","available_quantity":500,"options":[],"off_ratio":67,"flashsale_info":[],"sales":2000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}