PrestaSharp icon indicating copy to clipboard operation
PrestaSharp copied to clipboard

Unable to get orders from multiple Shops in one PrestaShop store

Open bikram-bikram opened this issue 7 years ago • 1 comments

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.

bikram-bikram avatar Feb 07 '18 02:02 bikram-bikram

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.

mktitan avatar Jun 06 '18 12:06 mktitan