Linux 软件免费装
Banner图

Track Order History for WooCommerce

开发者 addweb-solution-pvt-ltd
ravivaddweb
saurabhdhariwal
Addweb Solution Pvt. Ltd.
更新时间 2026年11月27日 21:00
PHP版本: 7.4 及以上
WordPress版本: 7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

customer insights reorder my account order history customer history

下载

2.2.0 1.0.0 1.1 1.3 1.4 2.0.0 1.2 2.1.0

详情介绍:

When you look at an order, you want to know who you are dealing with: is this a new customer or a regular? Do they often cancel? What do they usually buy? Track Order History for WooCommerce shows this right where you work, and gives your customers a clear overview of their own orders in My Account. For shop managers (WooCommerce > Orders) For customers (My Account) On any page: one shortcode Customers only ever see their own orders. Notes, risk warnings and labels are never shown to customers. Built on WooCommerce

安装:

  1. Install the plugin from Plugins > Add New, or upload the wc-past-orders folder to /wp-content/plugins/. WooCommerce must be active.
  2. Activate the plugin.
  3. Open WooCommerce > Orders: the "Past orders" column is next to the Total column.
  4. Optional: adjust the labels, the risk warning and the My Account features in WooCommerce > Order History.

屏幕截图:

  • Order history pop-up: all orders of the customer with their products (ID, name, quantity), summary, risk, buying rhythm and the customer note.
  • Order history box on the order screen, with the customer note editor.
  • Orders and Total spent columns in Users > All Users.
  • My Account: order summary with date filters, Buy again and Your favourites.
  • Settings: customer badges with rules (spent, orders, both or either) and 13 ready-made badge designs.
  • Settings: risk warning by number or share of problem orders.
  • Settings: master switch for My Account, the My Account features and Custom CSS for the shop pages.
  • Shortcode builder: master switch, pick the options, copy the shortcode and see a live preview.
  • The shortcode on a page: a customer's orders as cards with date filters and Buy again.

升级注意事项:

2.2.0 New: one shortcode with a visual builder to show customers their orders on any page or page builder. 2.1.0 New: customer badges with your own rules and images, risk warnings, customer notes and most bought products for shop managers; order summary with date filters, Buy again and favourites for customers in My Account. 2.0.0 Security update: the order history could be requested by visitors who were not logged in. Also adds HPOS support, a full customer history pop-up, guest customers and more.

常见问题:

Does it work with High-Performance Order Storage (HPOS)?

Yes. It works with HPOS on or off, using WooCommerce's own order functions. With HPOS, use WooCommerce 8.2 or later (the version in which HPOS became stable); with the classic order storage, WooCommerce 7.0 or later.

How are guest customers handled?

Guest orders are matched by billing email. A registered customer's history also includes guest orders placed with the email address of their account, and a guest order placed with a registered customer's account email shows that customer's history. Emails typed at checkout are not verified, so treat the matching as a helpful guide.

Which orders count towards "Total spent"?

Paid orders (processing and completed), before refunds, as in WooCommerce's own customer figures. When a customer has refunds, the pop-up also shows "Net spent" after refunds.

Why can the Users list show a lower total than the history?

The Orders and Total spent columns in Users > All Users show WooCommerce's own figures for the customer account. The order history also includes guest orders placed with the same email address.

What do customers see?

On the My Account dashboard: their order summary with date filters, their latest orders with a "Buy again" button, and their favourite products. The Orders page gets the same date filters and a "Buy again" button. Customers only see the orders of their own account; staff notes, risk warnings and VIP labels are never shown to them. Each feature can be turned off in WooCommerce > Order History.

How do I show a customer's orders on my own page or in a page builder?

Use the shortcode [wptoh_orders]. The easiest way is the Shortcode tab in WooCommerce > Order History: choose what to show, check the live preview and copy the shortcode. Paste it into a Shortcode block, or the shortcode element of Elementor, Bricks, Divi (Code or Text module) or WPBakery (Text block). Main options: show (summary, orders, last_order, favourites, stat), range, filters, limit, layout (table or cards), products, buy_again, stat, guest (login, message or hide). Visitors who are not logged in see a login button by default.

Can I switch off everything customers see?

Yes. WooCommerce > Order History has a master switch on the My Account tab (hides the summary, date filters, Buy again and favourites) and one on the Shortcode tab (every [wptoh_orders] on the site shows nothing, without editing the pages). Your other choices are kept for when you switch them back on. The admin features are not affected.

Can I change how the My Account pages look?

Yes. In WooCommerce > Order History > My Account, add your own CSS in the Custom CSS box (administrators, or anyone who may edit CSS). It loads on the My Account pages after the plugin's styles. The help text lists the class names to use.

Does "Buy again" empty the cart?

No. It adds the products of the order to what is already in the cart, using WooCommerce's add to cart: quantities add up, and products that are out of stock or no longer available are skipped, with a message.

How do customer badges work?

In WooCommerce > Order History > Customer badges, each badge has a rule: total spent, number of orders, both (AND) or either (OR). Badges are checked from top to bottom and the first one that matches is shown, so put your highest tier first. Only returning customers (2 or more orders) get a badge. Use the arrows to change the order, and "Add badge" for more tiers (up to 10).

Can I use my own badge image?

Yes. Each badge (and the risk badge) can use one of the 13 ready-made badge designs, or an image you upload or choose from the Media Library. A small square PNG, JPG or WebP works best.

How is the risk warning counted?

You choose which statuses are problem orders (cancelled, failed, refunded) and the rule: a number of problem orders (2 by default), a share of all the customer's orders (judged from 3 orders on), or both. The badge shows the number of problem orders; the pop-up always shows the details.

Where are customer notes stored? Are they personal data?

Notes of registered customers are stored in their user profile, notes of guests in one plugin option. Notes are never shown in the shop, but they are personal data: they are included in WordPress's personal data export and erase tools (Tools > Export / Erase Personal Data), so write them as you would write anything the customer may one day read. A suggested privacy policy text is added under Settings > Privacy. Notes are removed when you delete the plugin.

Who can see the order history?

Users who can manage WooCommerce orders (shop managers and administrators). The history is only loaded for them.

Does the plugin store any data?

It reads WooCommerce's orders and never changes them. It stores its settings, customer notes and cached figures (which expire after a day). No tables are added. Everything is removed when you delete the plugin.

更新日志:

2.2.0 2.1.0 2.0.0 1.4 1.3 1.2 1.1 1.0.0