How to create custom field ?

Hi

How to create custom field under Customers-> Orders-> Communication tab. Actually I’ve created one field in s_order table to store transaction details and I want to display transaction details under Communication tab, so it should reflect in frontend order history also. How to achive this…?

You should never extend the Core-tables, use the _attribute tables for your individual fields (that is their purpose), because otherwhise you might face some difficulties updaing shopware and using plugins.

1 Like

Thank you,

but how I will display display extra _attribute table field value under Customers-> Orders-> Communication tab and front end order history…?

There is a tutorial about this topic at https://developers.shopware.com/developers-guide/attribute-system