How I can add custom field with custom value in Order Summary? ty for answer enter image description here

  • is it static field or dynamic ?
    – BornCoder
    Jul 31, 2019 at 16:26
  • @BornCoder custom field static, value = dynamic
    – Aaron
    Jul 31, 2019 at 16:29
  • Create field in admin system.xml and use that field here, so that you will get dynamic value. If you have any requirement depend on checkout page then you need create attribute for checkout page.
    – BornCoder
    Jul 31, 2019 at 16:38

1 Answer 1


This is hard to explain. It's not just add field in checkout, you also need to add this field to admin order, invoice, shipment, creditmemo.

There are so many files and coding involve in adding just one field in order summery.

I would suggest use SilkSoftwar Module Creator: https://www.silksoftware.com/magento-module-creator/magento2-module-creator.php

Use the option "Need to Add New Extra Fee for Order" and generate your module, you will get whole coding of what you want.

Hope it will help you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.