Getting a custom sales order field to the front-end


To add a custom transaction body field to the sales order front-end:

  1. Add the transaction body field. Make sure Display in Website is checked
  2. 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