BACK TO DIRECTORY




Drop [show_wc_orders] into any page, post or widget area that renders shortcodes, and the logged-in customer sees their own orders: order number, date, status, total and a View button — the same table WooCommerce shows under My Account > Orders.
Usage:
[show_wc_orders] shows all of the customer's orders.
[show_wc_orders order_count=10] shows the 10 most recent orders — replace 10 with any number.
That is all. There are no settings.
Details:
- Each visitor only ever sees their own orders. Logged-out visitors see nothing.
- The table is rendered through WooCommerce’s own My Account orders template, so your theme’s styling — and any theme override or column filter you already use for My Account — applies to the shortcode too.
- Works with both classic order storage and High-Performance Order Storage (HPOS).
Screenshots

The customer's orders on a regular page — same table as My Account > Orders.

Limiting the output with order_count.

The shortcode in the block editor.
Plugin Details
Active Installs
100Total Downloads
2,468Version
1.2.0Requires WP
6.5Requires PHP
7.4Tested Up To
7.0.4Added
2022-05-19Last Updated
2026-07-16 2:46pm GMTRatings
5
0
4
0
3
0
2
0
1
0