Forum

Thread tagged as: Question, Shop

Customers see their order on the website

Hello,

Is it possible for a logged in customer to see his previous orders on the website?

Mike

Mike Hendriks

Mike Hendriks 0 points

  • 3 years ago
Hussein Al Hammad

Hussein Al Hammad 105 points
Registered Developer

Hello Mike,

Yes, it is. You can use perch_shop_orders() to display a list of orders for the customer and perch_shop_order() to display the details of a single order.

https://docs.grabaperch.com/functions/shop/orders/perch-shop-orders/

https://docs.grabaperch.com/functions/shop/orders/perch-shop-order/

Thank you, Hussein! That's something I overlooked.