Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#4726 by MirkoPinna
06 Oct 2017, 11:43
Hi is there a way to get all the orders relative to one site from a Laravel controller?
#4746 by MirkoPinna
09 Oct 2017, 08:35
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.
#4752 by aimeos
09 Oct 2017, 21:32
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.