Show Orders Shortcode for WooCommerce icon

Show Orders Shortcode for WooCommerce

Show Orders Shortcode for WooCommerce is a WordPress plugin with the following stats:

  • #2,855 Global Rank
  • 100+ active installs
  • Since 2022 4 years active

PF Score (About PF Scores)

PF Score is not a quality guarantee. It is a ranking based on available public signals.

Silver58.6
Platinum
Gold
Silver
Bronze
Low

Score Breakdown

33.3
Popularity 40% 100+ active installs
60
Reputation 35% No ratings yet
96.9
Freshness 25% Updated 1 months ago

No vulnerability history

Download Trends

Loading download data…

Vulnerabilities

No known vulnerabilities

This plugin has no records in the Wordfence Intelligence vulnerability database.

About Show Orders Shortcode for WooCommerce

Show the logged-in customer their WooCommerce orders on any page or post — one shortcode, no settings.

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.

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

Limiting the output with order_count.

Limiting the output with order_count.

The shortcode in the block editor.

The shortcode in the block editor.

Frequently Asked Questions

Which orders are shown?

The orders of the currently logged-in customer, newest first. Logged-out visitors see nothing — there is no way to view another customer’s orders through this shortcode.

The table was empty on my store — is that fixed?

Yes. Version 1.1.0 read orders from the legacy post storage, so on stores using High-Performance Order Storage (the WooCommerce default since 8.2) it rendered nothing. 1.2.0 queries orders through the storage-agnostic WooCommerce API and works on both storage modes.

Can I change the columns or styling?

The shortcode renders WooCommerce’s own myaccount/orders.php template. Anything that customises the My Account orders table — a theme override of that template, or the woocommerce_account_orders_columns filter — applies here as well.

Is there pagination?

No. The shortcode shows the order_count most recent orders (all orders by default). For a paginated order history, point customers at My Account > Orders.

Can I show a login prompt to logged-out visitors instead of nothing?

Not yet — the shortcode intentionally outputs nothing for guests. If you need this, ask in the support forum.

Ratings & Reviews

Recent Reviews

Loading reviews…

View all reviews on WordPress.org (opens in a new tab)

Changelog

1.2.0

  • Fix: orders display again on stores using High-Performance Order Storage (HPOS, the WooCommerce default since 8.2). 1.1.0 queried the legacy post storage and rendered an empty page there.
  • Improvement: the shortcode now renders the same orders table as My Account > Orders (myaccount/orders.php) instead of a template deprecated since WooCommerce 2.6 — theme overrides and column filters for My Account now apply to the shortcode too.
  • Fix: no PHP fatal error when WooCommerce is deactivated while the shortcode is still in page content.
  • Hardening: pages are excluded from page caching whenever the table renders (the same DONOTCACHEPAGE protection WooCommerce applies to My Account) — this customer-specific output must never enter a shared page cache.
  • Hardening: refund records can never appear in the table; invalid order_count values fall back to showing all orders; woocommerce_my_account_my_orders_query filter callbacks can no longer break the shortcode’s count or crash the page.
  • The “Recent orders” heading and its woocommerce_my_account_my_orders_title filter are preserved from 1.1.0.
  • Note: the table markup now uses WooCommerce’s current classes (woocommerce-orders-table__cell-...). Custom CSS written against the old bare cell classes (.order-number etc.) may need updating.
  • Compatibility with High-Performance Order Storage declared; WooCommerce dependency declared via Requires Plugins.
  • Housekeeping: License and Text Domain headers, updated minimum versions (WordPress 6.5, PHP 7.4, WooCommerce 9.5).

1.1.0

Added control statement to check for logged in status.

1.0.0

Initial release.

Alternatives to Show Orders Shortcode for WooCommerce

Other WordPress plugins serving a similar purpose, ranked by relevance and PF Score.

Platinum93.3
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce icon

CartFlows

WooCommerce funnel builder enabling one-click upsells, order bumps, and checkout optimization.

★ 4.8/5·200K+ installs·Updated 11 Aug 2026
Platinum93.0
Variation Swatches for WooCommerce icon

Variation Swatches for WooCommerce

Replaces WooCommerce variation dropdowns with visual color, image, and button swatches for product attributes.

★ 4.8/5·300K+ installs·Updated 8 Jun 2026
Platinum92.6
User Switching icon

User Switching

Switch between user accounts instantly in WordPress and WooCommerce without logging out.

★ 4.9/5·200K+ installs·Updated 9 Jul 2026
Platinum91.5
WP Crontrol icon

WP Crontrol

Provides direct control and visibility over WordPress scheduled cron events and their execution history.

★ 4.5/5·300K+ installs·Updated 31 Jul 2026
Platinum90.8
Customer Reviews for WooCommerce icon

Customer Reviews for WooCommerce

Automate review collection through post-purchase reminders to boost customer feedback and sales.

★ 4.8/5·80K+ installs·Updated 3 Aug 2026
Platinum90.4
Admin Columns icon

Admin Columns

Add, remove, and reorder columns in WordPress admin tables without writing code.

★ 4.9/5·100K+ installs·Updated 29 May 2026