Linking Custom Domain Manager to Media Domain in JSON:API

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
Jairus34
Posts: 30
Joined: 05 Aug 2024, 07:34

Re: Linking Custom Domain Manager to Media Domain in JSON:API

Post by Jairus34 » 07 Jan 2025, 06:25

Hi, thank you for the reply. The createlistitem and addlistitem works now. But when I try to use getRefItems it returns null. Is there something I also need to configure?

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

Re: Linking Custom Domain Manager to Media Domain in JSON:API

Post by aimeos » 08 Jan 2025, 13:22

You have to add the ListRef trait in your item and call the initListItems() method to hand over the list items to the trait:
https://github.com/aimeos/aimeos-core/b ... Traits.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply