I want to extend product options form in the admin panel to add an extra field (maybe also images support):
I want this for being able to define color (hex code) and patterns (image) for some products options.
I already did:
- Extended ProductOptionsValue entity
- Extended ProductOptionsValueType form
- Register form extension
- Update db schema
I tried to print the new field in the template but it doesn’t work.
I noticed that the form and the model are more complex than it seems.
This is possible? or I should look for a workaround?