To add a custom transaction body field to the sales order front-end:
- Add the transaction body field. Make sure Display in Website is checked
- Open the Configuration page: Commerce => Websites => Configuration. Then go to Advanced => Custom Fields => Sales Order sublist
- add your custom transaction body field name. i.e. “custbody_my_cust_field”
Your new field should be available on the front-end at:
require('LiveOrder.Model').getInstance().attributes.options