I’ve been working on WooCommerce plugin lately and one of the required functionality is to display current user Recent Orders, I know Recent Orders and Downloaded Products are added under My Account page but this time I choose to create a new page template just for this functionality so it display as normal page or same on other site pages layout.

This is also helpful if you don’t want your site customer to see those bunches of stuff, like Edit billing and shipping information, profile information and other stuff.

Without further ado, let’s get started.

Complete Code

You can create a new page template and add the below code directly.

That’s it happy coding 🙂

Leave A Reply

Your email address will not be published.