How to get product and thier category details
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 86
- Joined: 12 Jan 2019, 15:17
How to get product and thier category details
How to get product and their category details in aimeos 2019.07
Re: How to get product and thier category details
That's a bit more work because these are different domains, so no table joins are possible. You have to fetch the catalog/lists items connecting the categories with the products first and then retrieve the found categories. Afterwards, map the categories to the products using the list items. You can have a look at the code in the admin interface:
https://github.com/aimeos/ai-admin-jqad ... #L321-L356
https://github.com/aimeos/ai-admin-jqad ... #L321-L356
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star