=== Commerza for WooCommerce ===
Contributors: dmitriko1974
Tags: woocommerce, performance, checkout, diagnostics, monitoring
Requires at least: 6.2
Tested up to: 6.9
Stable tag: 1.0.0
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Plugin URI: https://wordpress.org/plugins/commerza-for-woocommerce

Detect performance bottlenecks in WooCommerce stores and monitor checkout, cart, and order timing metrics. All data is stored locally on your site.

== Description ==

Commerza for WooCommerce helps you identify performance bottlenecks in your WooCommerce store. The plugin measures and records timing data for key store events, allowing you to monitor performance trends directly from your WordPress dashboard.

Performance metrics are collected for:

* Checkout page load
* Cart page load
* Order placement flow (including payment processing timing)

The plugin provides a simple administrative dashboard displaying:

* Average response time
* Most recent measurement
* Maximum value from the last 20 events
* Status indicators (OK, Warning, Critical, No Data) based on configurable thresholds

All data is stored locally in your WordPress database. No external services are used and no data is transmitted outside your site.

== Requirements ==

* WordPress 6.2 or higher
* WooCommerce (must be installed and active)
* PHP 8.0 or higher

Commerza will not initialize if WooCommerce is not active.

== Installation ==

1. Upload the plugin to the `/wp-content/plugins/` directory or install it through the WordPress Plugins screen.
2. Activate the plugin from the 'Plugins' menu in WordPress.
3. Navigate to **Tools → Commerza for WooCommerce** to view performance metrics.
4. Use your store normally. Commerza will automatically collect performance data.

== Frequently Asked Questions ==

= Where is the performance data stored? =

Performance measurements are stored in a custom database table within your WordPress installation. All data remains on your site.

= Does this plugin impact site performance? =

Commerza adds minimal overhead. Measurements are recorded efficiently and the administrative dashboard loads only for authorized users.

= What events are monitored? =

The plugin measures timing for checkout page loads, cart page loads, and order placement events, including payment processing timing.

== Screenshots ==

1. Commerza dashboard under Tools → Commerza for WooCommerce displaying performance metrics and status indicators.

== Changelog ==

= 1.0.0 =
* Initial release
* Performance measurement for checkout, cart, and order flows
* Administrative dashboard with aggregated metrics
* Status indicators based on configurable thresholds

== Upgrade Notice ==

= 1.0.0 =
Initial release of Commerza for WooCommerce.