Skip to content

Configuration reference

All plugin settings live under Extensions > My extensions > PackGuard > Configuration. The tables below are generated from the plugin's config.xml, so they always match the settings screen of the installed version.

General Settings

SettingTypeDefaultDescription
trackingThreshold — Tracking threshold (%)int30Orders with empty space below this value are not recorded at all. Keeps dashboards focused on packaging worth reviewing.
warningThreshold — Warning threshold (%)int50Orders at or above this empty-space ratio are flagged as warnings.
blockThreshold — Block threshold (%)int70Orders at or above this empty-space ratio are flagged as violations and box selection is rejected.
autoCalculate — Auto-calculate on order creationbooltrue
companyName — Company name (for Declaration of Conformity)text``Shown as the declaring entity on the Declaration of Conformity PDF. Leave empty to fall back to your shop name.
declarationTitle — Declaration titletextDeclaration of ConformityMain heading shown at the top of the Declaration of Conformity PDF.
declarationSubtitle — Declaration subtitletextPPWR Article 11Subtitle shown under the main heading on the Declaration of Conformity PDF. Typically references the applicable regulation.

Thresholds are compared against the empty space ratio of an order's selected (or suggested) box — see Concepts for how the ratio is calculated.

Entities

PackGuard adds five entities to your database. All of them are removed (including data) when the plugin is uninstalled without the "keep data" option.

EntityPurpose
ssd_packguard_boxA packaging type in your catalog: internal/external dimensions (mm), computed volumes, cost, maximum weight, material, type, insulated flag, active flag. Name is translatable.
ssd_packguard_packaging_profileA named set of packing rules (e.g. "Fragile"). Name and description are translatable.
ssd_packguard_profile_constraintOne rule inside a profile: type (padding, orientation, insulated, allowed_box_types) plus its configuration.
ssd_packguard_product_packagingAssigns a packaging profile to a product (set on the product detail page or via bulk edit).
ssd_packguard_order_packagingThe per-order record: suggested and selected box, product volume, box volume, empty space ratio, status (compliant / warning / violation), and saving amount. Feeds the dashboard. Override reasons are written to the system log, not this table.

ACL permissions

The plugin registers a PackGuard entry under Permissions > Content in admin role administration:

RoleGrantsDepends on
ssd_packguard.viewerRead access to all PackGuard entities, orders, and plugin config. Required to see the module and the order card.
ssd_packguard.editorUpdate access (edit boxes, profiles, assignments; select boxes on orders).viewer
ssd_packguard.creatorCreate access (new boxes, profiles, constraints; preset import).viewer, editor
ssd_packguard.deleterDelete access for boxes, profiles, constraints, and product assignments.viewer

Admin API routes

For automation and integrations. All routes require an authenticated Admin API client.

RouteMethodPurpose
/api/ssd-packguard/box-suggestion/{orderId}GETLive suggestion for an order: product volume, ranked box list, exclusions.
/api/ssd-packguard/select-boxPOSTSelect a box for an order. Returns HTTP 422 with error: blocked above the block threshold.
/api/ssd-packguard/select-box/overridePOSTSelect a blocked box with a mandatory reason (audited).
/api/ssd-packguard/dashboard-statsGETAggregated KPIs, distribution, and recent violations.
/api/ssd-packguard/declaration/{boxId}GETDeclaration of Conformity data for a box (JSON).
/api/ssd-packguard/declaration/{boxId}/pdfGETThe declaration as a PDF document.
/api/ssd-packguard/preset-boxesGETList of importable preset packaging formats.
/api/ssd-packguard/preset-boxes/importPOSTImport selected presets into the box catalog.

Plan tiers

PackGuard ships as a single edition — every feature documented in this manual is included in every subscription. There is no feature gating.

Your Vision. Signed, Sealed, Delivered.