Skip to content

Compliance dashboard

The compliance dashboard is the central place for checking store legal requirements. It displays a checklist with status for each requirement - from terms and conditions to GPSR and DSA.

Go to WooCommerce > Polski > Compliance Dashboard. The dashboard is available to users with the manage_woocommerce permission (Administrator and Shop Manager roles).

The dashboard displays a list of legal requirements grouped into categories. Each requirement has a visual status:

StatusColorIconDescription
OKGreenRequirement met
WARNYellow!Partially met, needs attention
FAILRedNot met, requires immediate action
OFFGray-Module disabled
CheckGreen status when
Store terms and conditionsPage published and assigned
Privacy policyPage published and assigned
Withdrawal informationPage published with form
Cookie policyPage published
Delivery and payment informationPage published
CheckGreen status when
Terms acceptance (checkout)Checkbox active and required
Privacy policy (checkout)Checkbox active and required
Terms acceptance (registration)Checkbox active and required
Marketing consentCheckbox active (optional)
CheckGreen status when
Omnibus module activeModule enabled in settings
Price history recordingPrice history table exists and works
Lowest price displayedPrice visible on sale products
30-day periodPeriod set to at least 30 days
CheckGreen status when
GPSR module activeModule enabled
Manufacturer data completedAt least 80% of products have GPSR data
Representative dataCompleted for non-EU products
Safety informationCompleted for products requiring it
CheckGreen status when
DSA report formForm available on a page
DSA contact pointContact email set
Report registerReports table exists
CheckGreen status when
Order button labelText compliant with EU directive
Order summaryVisible before the payment button
VAT and delivery informationDisplayed next to product prices
CheckGreen status when
KSeF module activeModule enabled
Company NIP setNIP configured in settings
KSeF connectionConnection test completed successfully
CheckGreen status when
Anti-greenwashing module activeModule enabled
Claims with evidenceAll claims have justification
Certificates with linksCertificates have numbers and URLs

At the top of the dashboard, a summary is displayed:

  • Overall score - percentage of met requirements (e.g. 85%)
  • Progress bar - visual representation of the score
  • Critical requirements - number of unmet FAIL requirements
  • Warnings - number of partially met WARN requirements
  • Last check date - when the dashboard was last refreshed

Clicking a requirement expands the section with details:

  • Description - what exactly is being checked
  • Legal basis - reference to the regulation
  • Status - detailed status description
  • Recommended action - what to do to meet the requirement
  • Settings link - direct link to the relevant settings page

The dashboard checks statuses in real time on each opening. Checks include:

  • Page existence and status (published / draft / deleted)
  • Checkbox existence and configuration
  • Product meta data correctness (sampling - random sample of 100 products)
  • Module operation (activity, configuration correctness)
  • External API connection tests (KSeF)

The dashboard allows exporting a compliance report:

  • PDF - report for download or printing
  • JSON - machine-readable data (e.g. for a monitoring system)
// Hook after report generation
add_action('polski/compliance/report_generated', function (array $results, string $format): void {
// Log the report generation date
update_option('polski_last_compliance_report', current_time('mysql'));
}, 10, 2);

The dashboard can send email notifications to the administrator:

  • Weekly report - status summary sent once a week
  • Critical alert - immediate notification when status changes to FAIL

Notification configuration: WooCommerce > Polski > Compliance Dashboard > Notifications.

// Change report frequency
add_filter('polski/compliance/report_frequency', function (): string {
return 'daily'; // 'daily', 'weekly', 'monthly'
});

You can add custom checks to the dashboard:

add_filter('polski/compliance/checks', function (array $checks): array {
$checks[] = [
'id' => 'custom_ssl',
'category' => 'security',
'label' => 'SSL Certificate',
'callback' => function (): array {
$is_ssl = is_ssl();
return [
'status' => $is_ssl ? 'ok' : 'fail',
'message' => $is_ssl ? 'SSL active' : 'SSL certificate missing',
];
},
];
return $checks;
});

Dashboard shows outdated data - click the Refresh button at the top of the dashboard. Checks are performed live, but some data (e.g. GPSR sampling) may be cached.

FAIL status for a legal page - check that the page is published (not a draft) and assigned in WooCommerce > Settings > Advanced > Page setup.

Report issues: github.com/wppoland/polski/issues

This page is for informational purposes only and does not constitute legal advice. Consult a lawyer before implementation. Polski for WooCommerce is open source software (GPLv2) provided without warranty.