I have overidden the template:
/Magento_Checkout/web/template/summary/item/details.html
For each row, if set, I need to display the "additional_data" field. I can get the value for an arbitrary row by using (e.g. for the first row):
window.checkoutConfig.quoteItemData[0].additional_data
But I can't work out how to display it for the current row in the Knockout template. The $parent object which is used to output the product's price, custom options, etc, does not expose this information.
Can anyone help?
Best Answer
You can add additional options to order items using observer and it will show everywhere. First need to create events.xml for the observer:
After that write below code in observer file: