=== OrderPulse: Auto Refresh Orders for WooCommerce ===
Contributors: bishoya, fixwp
Tags: woocommerce, orders, ajax, heartbeat, realtime
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.2.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Auto-refresh your WooCommerce Orders list in real time — no manual page reloads required.

== Description ==

**OrderPulse** keeps your WooCommerce store’s order list always up to date — no manual refreshing required.

Whether you’re fulfilling orders, monitoring subscriptions, or managing staff, you can see new or updated orders appear right in the **Orders** or **Subscriptions** admin screen automatically.

OrderPulse leverages the **WordPress Heartbeat API** for efficient, server-friendly background polling and includes a custom **AJAX fallback** option when the heartbeat is disabled by performance plugins or host restrictions.

### Features
* Real-time automatic refresh for WooCommerce **Orders** and **Subscriptions** lists.
* Powered by the WordPress **Heartbeat API** (default) or a custom **AJAX** system.
* Lightweight and secure — works only on admin order list pages.
* Subscription monitoring with WooCommerce Subscriptions.
* Zero configuration required; activate and forget.
* Fully compatible with **HPOS (High-Performance Order Storage)**.

### Why Use OrderPulse
OrderPulse saves time for shop managers and customer service teams by delivering up-to-date orders as they happen.
No more browser refresh cycles — focus on fulfillment, not the reload button.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/orderpulse` directory, or install it directly from the WordPress plugin repository.
2. Activate the plugin through the **Plugins → Installed Plugins** menu in WordPress.
3. Go to **WooCommerce → OrderPulse** to configure your preferred options:
   * Choose between *Heartbeat* or *AJAX* refresh mode.
   * Enable monitoring for Orders and/or Subscriptions.
   * Set your preferred refresh interval (if using AJAX mode).

That’s it — your Orders page now stays updated in real time.

== Frequently Asked Questions ==

= Does this plugin refresh the individual Order edit screen? =
No — OrderPulse refreshes the **list view** only, not individual order edit pages.

= Will it work if I disabled the WordPress Heartbeat API? =
Yes. You can switch to the built-in **AJAX mode**, which performs periodic checks for updates.

= Does it support WooCommerce Subscriptions? =
Yes, when the **WooCommerce Subscriptions** plugin is active, you’ll see an option to enable subscription monitoring.

= Will it affect website performance? =
OrderPulse is optimized to use minimal resources and only runs on the admin side. It should be super lightweight.

= Is it compatible with WooCommerce HPOS? =
Yes. OrderPulse is fully compatible with HPOS (High Performance Order Storage).

== Changelog ==

= 1.2.4 =
* Added HPOS compatibility declaration.
* Improved inline CSS and optimized AJAX data handling.
* Updated documentation and WordPress coding standards compliance.

= 1.2.3 =
* Enhanced AJAX fallback for improved reliability.
* Fixed settings validation issues.

= 1.2.0 =
* Added subscription monitoring capability.
* Added configurable polling intervals.

= 1.0.0 =
* Initial release of OrderPulse.

== License ==

This plugin is free software, distributed under the terms of the [GNU General Public License v2 or later](https://www.gnu.org/licenses/gpl-2.0.html).

---

Developed and maintained by the **[Fixwp.io](https://www.fixwp.io)** team — the experts in
*fixing WordPress errors, optimizing performance, securing websites, and building custom WooCommerce solutions.*
