Relation with another table from admin

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
ЕвгенийРезонов
Posts: 1
Joined: 21 Feb 2025, 11:39

Relation with another table from admin

Post by ЕвгенийРезонов » 21 Feb 2025, 12:03

Good afternoon everyone. I didn't quite figure out how to create my own manager and settings page for the administrative part. How exactly do I organize a selection from another table? For example, users

User avatar
aimeos
Administrator
Posts: 8501
Joined: 01 Jan 1970, 00:00

Re: Relation with another table from admin

Post by aimeos » 24 Feb 2025, 13:09

How to create managers is described here:
https://aimeos.org/docs/latest/models/create-managers/

You can find here how to implement panels in the admin backend:
https://aimeos.org/docs/latest/admin/jq ... nt-panels/

Joining from tables of other domains isn't supported, only from the same data domain (e.g. mshop_product and mshop_product_property but not to mshop_review). If you need to get data from other data domains, you have to fetch that data in the searchRefs() method of your new domain manager. You can see how this is done here:
https://github.com/aimeos/aimeos-core/b ... #L367-L381
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply