How to add pre-existing attributes to the customer order page?

Hi!

I need to add attributes already created in the cart, to the thank you page, of the customer’s order after the payment has been made.

I have found a script to do this, which is pasted in settings → payment screen-> additional scripts, something like this:


This creates a new section on that page, which we give the name we need (in this case within h2).

This works well, but what I am needing is to add text to a section already created by the theme or other apps (for example in the delivery information section seen in the screenshot), using a script similar to the one I am using.

Is this possible?

Thanks!