${function() {
const variantData = data.variant || {"id":"57147150-f61f-4c77-b0f7-a18036c1a6b2","product_id":"d936b413-b272-4ee0-83ee-4d1ce1986ae7","title":"","weight_unit":"kg","inventory_quantity":100,"sku":"VM04048--A001074","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"Black","image":null,"wholesale_price":[{"price":72,"min_quantity":1}],"weight":"0","compare_at_price":"216","price":"72","retail_price":"216","available":true,"url":"\/products\/external-cd-dvd-drive-usb-2-0-slim-protable-external-cd-rw-drive-dvd-rw-burner-writer-player-for-laptop-notebook-pc-desktop?variant=57147150-f61f-4c77-b0f7-a18036c1a6b2","available_quantity":100,"options":[],"off_ratio":67,"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 + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"57147150-f61f-4c77-b0f7-a18036c1a6b2","product_id":"d936b413-b272-4ee0-83ee-4d1ce1986ae7","title":"","weight_unit":"kg","inventory_quantity":100,"sku":"VM04048--A001074","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"Black","image":null,"wholesale_price":[{"price":72,"min_quantity":1}],"weight":"0","compare_at_price":"216","price":"72","retail_price":"216","available":true,"url":"\/products\/external-cd-dvd-drive-usb-2-0-slim-protable-external-cd-rw-drive-dvd-rw-burner-writer-player-for-laptop-notebook-pc-desktop?variant=57147150-f61f-4c77-b0f7-a18036c1a6b2","available_quantity":100,"options":[],"off_ratio":67,"flashsale_info":[],"sales":10000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}