Get site orders
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: 16
- Joined: 04 Sep 2017, 12:35
Get site orders
Hi is there a way to get all the orders relative to one site from a Laravel controller?
Re: Get site orders
Have you read this article?
https://aimeos.org/docs/Laravel/Extend_ ... os_objects
It explains how to access the Aimeos data from a Laravel controller.
https://aimeos.org/docs/Laravel/Extend_ ... os_objects
It explains how to access the Aimeos data from a Laravel controller.
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
-
- Posts: 16
- Joined: 04 Sep 2017, 12:35
Re: Get site orders
Yes ok but looks like there is no apis to get all the orders from a site. There is the order manager but doesn't seems to be very helpful in this case.
Re: Get site orders
A site is defined by its siteid value and that depends on the site code you feed into the bootstrap method of the locale manager to set the locale item in the context object. The order manager will then fetch all orders that match the siteid value from the locale item.
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