Hello there,
A client recently asked to be able to display their logged in name and the three most recent orders in a small movable block that can be placed anywhere around their site.
The username would be included within a short line of text welcoming them.
Beneath this, the recent orders would show the order number, the date, and value – the order number will link to the orders section within My Account.
When the customer is not logged in, the block displays a prompt for them to login and a link to the login page instead.
A shortcode, or widget, that could accomplish this would be very useful.
Cheers,
Spencer