Linux 软件免费装

SoftSquare Returning Customer History

开发者 izhan47
更新时间 2026年11月17日 19:05
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

woocommerce order history returning customers customer history repeat customers

下载

1.3.0

详情介绍:

SoftSquare Returning Customer History shows WooCommerce store owners, at a glance, whether an order comes from a new customer or someone who has bought from you before, and how their earlier orders went. WooCommerce only links orders together when the customer is logged in to the same account. Most shoppers check out as guests, so a loyal customer looks new every time, and a customer whose last three cash-on-delivery orders were cancelled looks no different from anyone else. This plugin matches orders on the details customers actually reuse: their billing email address and their phone number. On the order screen, a Customer history box lists the customer's earlier orders: order number, date, status, total, and which detail matched. Cancelled, failed and refunded orders stand out in red, and a summary counts the outcomes, such as "Completed: 4 · Cancelled: 1". In the orders list, a Customer column shows Repeat ×3 for a returning customer and New for a first order, so you can see your repeat business without opening a single order. It is especially useful for cash-on-delivery stores: before you dispatch, you can see whether a customer has a history of cancelled orders. This is an independent plugin by SoftSquare. It is not affiliated with, endorsed by, or supported by WooCommerce or Automattic. WooCommerce is a trademark of its respective owner and is used only to say which shop plugin this works with. Features Privacy This plugin stores no data and makes no external requests. It reads existing WooCommerce orders and shows the results only to logged-in users who can view the WooCommerce order screens. For developers Filters: Example: flag orders that a courier plugin has marked as returned. add_filter( 'rcfw_order_was_returned', function ( $returned, $order ) { return $returned || 'returned' === $order->get_meta( '_my_courier_status' ); }, 10, 2 );

安装:

  1. In WordPress, go to Plugins > Add New and search for "SoftSquare Returning Customer History", or upload the plugin zip under Plugins > Add New > Upload Plugin.
  2. Activate the plugin. WooCommerce must be installed and active.
  3. Make sure WooCommerce High-Performance Order Storage is on: WooCommerce > Settings > Advanced > Features. It is the default for stores created with WooCommerce 8.2 or later.
  4. Open WooCommerce > Orders. The Customer column and the Customer history box appear straight away. There is nothing to set up.

屏幕截图:

  • The Customer history box for a repeat customer, with earlier orders, their status and what matched.
  • The Customer history box for a first-time customer.

升级注意事项:

1.3.0 Renamed to SoftSquare Returning Customer History. If you installed an earlier copy under another name, deactivate it before activating this one. 1.2.1 Plugin Check fixes. No change in behaviour. 1.2.0 First public release on WordPress.org.

常见问题:

How does it decide two orders are from the same customer?

Two orders match when they share a billing email address, a billing phone number, or a customer account. Any one of the three is enough, because guests often reuse their phone number with a new email address, or the other way round.

Does it work with guest checkout?

Yes. That is the main reason it exists. Guest orders have no account, so WooCommerce's own customer view cannot link them, but they still carry an email address and a phone number.

Do phone number formats matter?

No. Spaces, dashes, dots, brackets and a leading + are ignored, and only the last 10 digits are compared, so the local and international forms of the same mobile number match. You can change the number of digits with the rcfw_phone_digits filter.

I take phone orders in my own account. Will every order look like a repeat customer?

No. Accounts that can edit WooCommerce orders, such as administrators and shop managers, are ignored for matching. Those orders still match their real customers by email and phone.

Which orders are counted?

All of the customer's earlier orders except drafts and trashed orders. Cancelled, failed and refunded orders are included on purpose, so you can see them.

Does it need High-Performance Order Storage (HPOS)?

Yes. The plugin reads WooCommerce's order tables directly, which keeps it fast. HPOS is the default for new stores since WooCommerce 8.2. If your store still stores orders as posts, the plugin shows a notice and does nothing else.

Will it slow down my orders list?

No. It runs one small indexed query for each order on the screen, and only in the WordPress admin. Nothing runs on your store's front end.

Does it store or send any customer data?

No. It only reads the orders already in your database and displays them to staff who can see orders.

更新日志:

1.3.0 1.2.1 1.2.0 1.1.0 1.0.1 1.0.0