'How do I add multiple Images to my ProductManufacturers

So im using the CMS Shopware 6 and I want to be able to add multiple Media-Entities (e.g. Images and Videos) to my ProductManufacturers just like it is possible to add multiple images/media to products.

I have found this tutorial on the developer.shopware page: https://developer.shopware.com/docs/guides/plugins/plugins/framework/custom-field/add-custom-field

Also I have looked into the ProductManufacturerDefinition Class and noticed that it just needs another OneToManyAssociationField. Click Here to open IMG Does anybody know if theres a way to overwrite this class or some other way to get this to work?

Thx :)



Solution 1:[1]

No, it doesn't help just with adding a new association. You can add custom fields to add media, but one custom field can add one image only. So, one way is to create custom fields for multiple media if it's limited and you know how many images/media needs to add.

OR

You have to add multiple media upload component in the Product Manufacturers module by making a custom plugin.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 wp_lancer