${function() {
const variantData = data.variant || {"id":"c9070ff1-da40-4cfd-bd30-6c0780c5d261","product_id":"2ab6d8f4-c14c-435d-b4bb-8591150112a9","title":"1Pcs","weight_unit":"kg","inventory_quantity":500,"sku":"UL10151-1Pcs-A0011343","barcode":"","position":1,"option1":"1Pcs","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e829418adf5de6eac0ec6309ab152cfb.jpg","path":"e829418adf5de6eac0ec6309ab152cfb.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.27,"min_quantity":1}],"weight":"0.5","compare_at_price":"99.81","price":"33.27","retail_price":"99.81","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-for-bedroom-not-support-alexa-google-home-app?variant=c9070ff1-da40-4cfd-bd30-6c0780c5d261","available_quantity":500,"options":[{"name":"Color","value":"1Pcs"}],"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 : UL10151-1Pcs-A0011343
Weight : 0.5kg
${function(){
const variantData = data.variant || {"id":"c9070ff1-da40-4cfd-bd30-6c0780c5d261","product_id":"2ab6d8f4-c14c-435d-b4bb-8591150112a9","title":"1Pcs","weight_unit":"kg","inventory_quantity":500,"sku":"UL10151-1Pcs-A0011343","barcode":"","position":1,"option1":"1Pcs","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e829418adf5de6eac0ec6309ab152cfb.jpg","path":"e829418adf5de6eac0ec6309ab152cfb.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.27,"min_quantity":1}],"weight":"0.5","compare_at_price":"99.81","price":"33.27","retail_price":"99.81","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-for-bedroom-not-support-alexa-google-home-app?variant=c9070ff1-da40-4cfd-bd30-6c0780c5d261","available_quantity":500,"options":[{"name":"Color","value":"1Pcs"}],"off_ratio":67,"flashsale_info":[],"sales":2000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}