Relationship table mshop_product and mshop_media

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!
merchant6
Posts: 1
Joined: 30 May 2023, 10:41

Relationship table mshop_product and mshop_media

Post by merchant6 » 30 May 2023, 10:47

I am trying to find the relationship or pivot table between mshop_product and mshop_media for custom logic. Tried the mshop_catalog_list, mshop_catalog, mshop_product_property but no luck.

PHP version: 8.2.6
Laravel version: 10.12.0
Aimeos version: 2023.04.1

heural
Posts: 58
Joined: 09 Jun 2022, 07:55

Re: Relationship table mshop_product and mshop_media

Post by heural » 31 May 2023, 06:15

Aimeos has a "domain driven design", look here https://aimeos.org/docs/latest/models/managing-items/
Try table "mshop_product_list" and datasets with domain "media" , "refid" is the foreign key of the media table

Post Reply