I’m pretty sure this is built in but needs some configuration.
You need to create a new transaction item option and then if you go to configuration make sure this field is checked:
SHOW ONLY ITEMS LISTED IN: ITEM OPTIONS AND CUSTOM TRANSACTION COLUMN FIELDS
Then in the tabs below there’s a table called Item options and custom transaction column fields.
Make sure the id of your option is in there