StoreCashierDocumentation Free 1.6.6 Pro 1.5.6 Apps 1.5.0

Audit trail PRO

The Audit Trail records who did what, when, from which IP address, and — for changes — the value before and after. Every StoreCashier module logs its own create, update and delete actions; you can also record logins, failed logins, settings changes, module switches, user and role changes, WooCommerce order status changes, product changes and document access. Use it to answer "who changed this price?" or "who deleted that sale?", and to meet audit requirements.

Where: Inventory Management → Reports → Audit Trail · Settings → Audit Trail
The Activity log report is a simple day-to-day history. The Audit Trail is the detailed security log with field-level changes, IP addresses, filters, export and retention control.

Viewing the audit trail#

Audit trail with filters, counters and entries with expandable changes
Audit Trail.
  • Counters: Entries, Distinct users, Distinct IPs, With value changes.
  • Filters: User, Role, Module, Action, Entity, Record ID, IP address, From / To, search (details, user, IP, values), per page, With diffs only.
  • Columns: When, User (or System), Role, IP, Module, Action, Entity, Details, Changes. Show changes / Expand / collapse diffs show Field, Old, New.
  • Export CSV (current filter).
Audit entry detail with before and after values
An audit entry: user, role, IP, module, action, request, user agent, before / after values and other entries for the same record.

Settings → Audit Trail#

Audit trail settings: logging, events, retention and prune
Settings → Audit Trail.
SettingWhat it does
Audit loggingEnabled — record activity or Paused — record nothing.
Capture before/after value diffsRecord what changed, or log the action only.
Exclude actions / Exclude entity typesKeys or entity names that are never logged.
Events to recordSuccessful logins; Failed login attempts (username + IP, never passwords); Logouts; StoreCashier settings saves (with before/after values); Modules enabled / disabled; WordPress user role changes; WordPress users created / deleted; WooCommerce order status changes; WooCommerce products created / updated / deleted; Document downloads, previews and share-link access.
Retention (days, 0 = keep forever) / Maximum entries to keepOlder entries are removed by a daily task (oldest first when the maximum is exceeded).
Per-action retention overrides"action=days" per line, e.g. keep logins for 90 days.
Prune Now / Prune Old Entries / Apply Saved Retention Policy NowManual cleanup. Permanent — cannot be undone.

Permissions#

Store Staff → Roles → Audit Trail: View audit trail and Export & prune audit trail.

FAQ#

Does the audit trail slow the site down?

Each logged action writes one row. On very busy shops, exclude noisy actions and set a retention period.

Can someone delete their tracks?

Only users with Export & prune audit trail (or managers) can prune, and pruning removes entries by age only. Give that permission to the owner only.

Are passwords logged?

Never. Failed logins record the username and IP only.