En vous promenant sur Beamreactor, nous stockons votre IP 48h pour des raisons de sécurité.

Lecteur Markdown

orders_admin Documentation › ORDERS_ADMIN_DOCUMENTATION_EN

Orders Admin Documentation En

Feature: Orders Admin #

Shop order administration console. Lists all orders, shows the detail and history of each order, allows changing their status, and provides a dashboard (pending orders, total orders, paid revenue).

Installation and Configuration

Via FTP: Upload the orders_admin/ directory into /plugins/.

Via package manager: Select orders_admin from the available plugins list.

Paths:

  • Main plugin: /plugins/orders_admin/orders_admin.php

Configuration parameters:

| Variable | Default | Description |

|---|---|---|

| $basedatadisplay | 'yes' | Visible in the management interface |

| $basedisplevel | BASE_LEVEL_ADMIN | Administrators only |

| $ftype | 6 | Application module |

SQL tables used: orders, order_items, order_status_history

Usage

The main page shows:

1. Dashboard — number of pending orders, total number of orders, paid revenue.

2. Order list — sorted by date, filterable by status.

3. Order detail — items, amounts, status and payment information.

4. Status history — every change is tracked (old status, new status, author, notes, date).

The administrator can update an order's status and payment status, add internal notes, and mark an order as paid. Each change is recorded in the history.

Hooks and Entry Points

text
?obj=orders_admin.php        — Order administration console

Update actions are performed via POST on the main page.

Dependencies

  • Beamreactor\Database\SQL
  • Beamreactor\Sanitizer\Parser
  • BeamReactor shop (order tables shared with the checkout plugins)

Security

Administrators only (BASE_LEVEL_ADMIN). All input is sanitized through Parser::sanitize() and queries use typed bound parameters. The status history keeps the identity of the author of each change for traceability.

de en fr