| 开发者 | demfilz |
|---|---|
| 更新时间 | 2026年11月8日 06:39 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[dtaw_apply] shortcode. You are emailed; they are emailed when you decide.dtaw_status_changed, dtaw_order_placed, dtaw_payment_recorded, dtaw_payment_reversed, dtaw_order_box_after, dtaw_account_after_status, dtaw_account_form_rows, dtaw_account_form_save, dtaw_admin_account_after, dtaw_user_panel_rows, dtaw_user_panel_save, dtaw_admin_tab_{tab}.
Filters: dtaw_is_approved, dtaw_terms_days, dtaw_due_date, dtaw_can_place_on_account, dtaw_gateway_available, dtaw_checkout_extra_text, dtaw_open_statuses, dtaw_admin_tabs, dtaw_admin_tiles, dtaw_account_endpoint.
Orders placed on account carry the meta _dtaw_on_account (1), _dtaw_state (open, paid or void), _dtaw_due (Y-m-d), _dtaw_terms (days), _dtaw_po, and once paid _dtaw_paid_at and _dtaw_paid_ref.
Only logged in customers whose trade account is approved, or whose role is on your auto approved list. Suspended or declined accounts never see it. The check runs again when the order is placed, so it cannot be bypassed by editing the checkout page.
It is created like any other order and moved to the status you chose (Processing by default), so it ships straight away. The order's paid date stays empty until you record the payment, so reports and accounting syncs do not treat it as paid.
Open the order and use the Trade account box (date, reference, note), or click "Paid today" on the Invoices tab. "Mark as unpaid" reverses a mistake.
Not from this plugin: the order was accepted on account, so it is not pending payment. Customers pay by bank transfer following your payment instructions, and you record the payment. Partial payments are not tracked; record the payment when the invoice is paid in full.
Yes. The terms, the purchase order field and the "Place order on account" button appear in the checkout block, and the classic shortcode checkout is supported too.
Yes. Each account can have its own terms in days; accounts without their own use the store default.
Yes. Demfilz Trade Accounts Pro adds credit limits with checkout blocking, overdue reminders, account statements with aged balances, statement emails and accounting sync hooks (Demfilz Sync for Xero, QuickBooks and MYOB). Everything described on this page works without it.
Yes, with both order storage modes.