| 开发者 |
fahadmahmood
invoicepress |
|---|---|
| 更新时间 | 2026年10月28日 02:20 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[WC-ORDER-DETAILS] shortcode on any page and logged-in users see a filterable list of their orders with all the details on one screen: items, amounts, shipment tracking, order notes, customer and shipping details.
[WC-ORDER-DETAILS]
[WC-ORDER-DETAILS logout-link="yes" home-link="yes"]
The login-required attribute from older versions is still accepted but no longer has any effect: guests are never shown orders.
Page template
A page template called WC Order Details is available in the page editor automatically. You do not have to copy a file into your theme. To customise it, copy templates/page-template.php from the plugin to your theme as wcod-template.php.
For developers
Filters: wcod_orders_limit, wcod_search_scan_limit, wcod_carriers, wcod_default_carrier, wcod_status_colors, wcod_user_can_view_order, wcod_affiliate_orders_limit, wcod_settings_pages_limit, wcod-after-shipping-information, wcod-after-product-name-filter.
Actions: wcod_order_details_extra_rows (add rows to the order summary), wcod-after-product-name.
Templates can be overridden by copying any file from the plugin's templates folder to your-theme/wc-order-details/.
Affiliate WP
Compatible with Affiliate WP. Affiliates see the orders they referred, and the Affiliate section shows the referral amount and status.
/wp-content/plugins/wc-order-details directory, or install the plugin through the WordPress plugins screen directly.[WC-ORDER-DETAILS] shortcode, or choose the "WC Order Details" page template.You can list the orders related to a customer account on the front end, with login and user role restrictions, and show the details that normally are only available in the admin area on one single page.
Customers see their own orders. Users who can manage WooCommerce see all orders. Affiliate WP affiliates see the orders they referred. Visitors who are not logged in see nothing.
No. The "WC Order Details" page template is built in. You only need a file in your theme if you want to customise the template.
Yes. The plugin declares compatibility and only uses WooCommerce order functions.
Yes. Affiliates see the orders they referred, and the Affiliate section lists the referral details.
The plugin reads order notes that contain "tracking number" followed by the number, and recognises "via UPS", "via USPS" and "via FedEx". Add other carriers with the wcod_carriers filter. Use wcod_default_carrier if all your notes belong to one carrier.
Yes, with the "Search By Customer Name or Order ID" box. This feature is available in the Premium version.
The newest 200 orders the user may see. Change this with the wcod_orders_limit filter.