Unable to get orders from multiple Shops in one PrestaShop store
Firstly, thanks for providing this code. It saved a lot of our time. There is only issue that has been bothering us for a long time. Our prestasharop store has 3 shops, but when we run the following code, we are only getting orders from one shop. OrderFactory.GetAll(); The ShopFactory.GetAll() is giving us 3 shops, so the shops are there, but just their orders are not returned.
Is there some additional code we need to write to get orders from all the 3 stores? Any help would be greatly appreciated, and thanks again for providing this code.
We're testing a multi-shop setup with shared orders, and as soon as we enable that, we cannot retrieve all orders with OrderFactory.GetAll();. We get an internalservererror response, however it works fine manually in PostMan.