var invoices = _merchello.Query.Invoice.GetByCustomerKey(CurrentCustomer.Key);
In case you havent seen it, check out the Bazaar starter kit. Even if you don't want to use it, the source code is very handy as a reference. The above comes from the AccountHistoryContoller:
How I can get orders and invoices in Controller?
How I can get orders and invoices in Controller? and then show it by customer for their profile page
Hi Anton,
It will be something like
In case you havent seen it, check out the Bazaar starter kit. Even if you don't want to use it, the source code is very handy as a reference. The above comes from the AccountHistoryContoller:
https://github.com/Merchello/Merchello/blob/merchello-dev/src/Merchello.Bazaar/Controllers/BazaarAccountHistoryController.cs
is working on a reply...