=== Price Change Alerts ===
Contributors: enter2web
Tags: woocommerce, price, alerts, email, notifications
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.3.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Get an email notification whenever a WooCommerce product price changes — no matter how it was changed.

== Description ==

Price Change Alerts watches every price change in your WooCommerce store and sends a clear email notification to the addresses you choose.

It catches changes from **any source**: manual edits, quick edit, the built-in CSV importer, REST API, and third-party plugins. Both **regular** and **sale** prices are monitored, for simple products and **every variation**.

Bulk operations are smart: instead of one email per product, changes are grouped into summary emails with a table of all changes. A large import may produce a few batch summaries — never hundreds of separate messages.

Each notification includes the product name, a link to the product page, a link to edit it in the admin, the price type (regular/sale), and the old and new price.

**Free version:**

* Monitor all price changes (regular & sale, all variations, any source)
* One summary email per bulk operation
* As many notification recipients as you need

**Pro version adds:**

* Track only selected products: a "Track price changes" checkbox on each product
* Track whole categories or tags at once
* Suspicious change detection: changes bigger than your threshold are flagged
* Telegram notifications with a 2-minute connection wizard
* Google Sheets log: every change appended to a spreadsheet you own

Pro is optional — the free version above is complete and stays that way.
[Buy Price Change Alerts Pro](https://checkout.freemius.com/plugin/35058/) (opens the Freemius checkout).


== Installation ==

1. Upload the plugin to `/wp-content/plugins/`.
2. Activate it through the "Plugins" menu. WooCommerce must be active.
3. Configure recipients in Settings → Price Change Alerts. With an empty list, notifications go to the site admin email.

== Frequently Asked Questions ==

= Does it catch price changes made by importers or other plugins? =
Yes. The plugin hooks into WordPress metadata updates, which is the layer virtually every importer and plugin writes prices through.

= Will an import of 500 products send 500 emails? =
No. Changes are combined into summary emails. Importers that process products in batches may produce one summary email per batch, but never one email per product.

= Does it work with variable products? =
Yes, every variation's regular and sale price is monitored individually.

== Screenshots ==

1. Settings: add as many notification recipients as you need and pick what to watch.
2. A summary email: every price change from one bulk operation in a single table, with the old and new price and links to view or edit each product.

== External Services ==

This plugin bundles the Freemius SDK, which is used for licensing and secure checkout of the optional Pro version.

**The free version does not contact any external service.** The SDK runs in anonymous mode: it is not connected, sends nothing, and shows no opt-in prompt. Nothing leaves your site unless you deliberately opt in yourself.

Opting in is entirely optional and always off until you act. If you click the "Opt In" link that the plugin adds next to itself on the Plugins screen, and confirm on the screen that follows, basic diagnostic data (WordPress and PHP version, site language, site URL, admin email, plugin version) is sent to Freemius. You can opt out again at any time from the same link, which stops all communication.

If you buy and activate a Pro license, the data required to validate and manage that license (license key, site URL, account email) is sent to Freemius. This only happens after you enter a license key.

* Service: [Freemius](https://freemius.com)
* Terms of Service: [freemius.com/terms](https://freemius.com/terms/)
* Privacy Policy: [freemius.com/privacy](https://freemius.com/privacy/)


== Changelog ==

= 1.3.4 =
* Fix: the feature lists in the plugin description showed raw asterisks instead of bullets.

= 1.3.3 =
* Added screenshots of the settings page and of a summary email.
* The plugin listing now describes what the Pro version adds.

= 1.3.2 =
* The translation template no longer lists strings from the Pro-only files, which are not part of this package.

= 1.3.1 =
* The bundled Freemius SDK now runs in anonymous mode: the free version contacts no external service and shows no opt-in prompt. Opting in is voluntary, off by default, and available from the "Opt In" link on the Plugins screen.
* readme: the External Services section describes exactly what is sent, and only after you opt in.

= 1.3.0 =
* Fix: bulk updates that rewrite a price by deleting and re-adding it no longer produce false "new price: not set" notifications.
* The recipient limit was removed: the free version now supports any number of notification recipients.
* Settings page script is now properly enqueued instead of being printed inline.
* readme: documented the Freemius opt-in and the external service it connects to.

= 1.2.3 =
* The "Track price changes" checkbox moved to Product data → General.

= 1.2.2 =
* Fix: Telegram chat detection now works when the bot had a webhook configured (it is removed automatically).

= 1.2.1 =
* Google Sheets integration now uses your own Google OAuth client (guided setup in settings) — no vendor keys shipped in the plugin.

= 1.2.0 =
* New (Pro): suspicious price change detection with configurable threshold.
* New (Pro): Telegram notifications with guided setup.
* New (Pro): track whole product categories or tags.
* New (Pro): Google Sheets log of all price changes.

= 1.1.0 =
* New: tracking mode setting — monitor all products (default) or only selected ones (Pro).
* New (Pro): "Track price changes" checkbox on each product.

= 1.0.3 =
* Added translation template (languages/), confirmed compatibility with WordPress 7.0.

= 1.0.2 =
* Removed Plugin URI header (WordPress.org requires it to differ from Author URI).

= 1.0.1 =
* Updated Freemius SDK to 2.13.4.

= 1.0.0 =
* Initial release: price change monitoring, summary emails, recipients settings.

== Upgrade Notice ==

= 1.3.4 =
Listing only: fixes the bullet lists in the description. No functional changes.

= 1.3.3 =
Listing only: screenshots and a description of the Pro version. No functional changes.

= 1.3.2 =
Maintenance release: cleaner translation template.

= 1.3.1 =
No data is sent anywhere unless you explicitly opt in.

= 1.3.0 =
The free version no longer limits the number of notification recipients.

= 1.2.3 =
Minor UI improvement.

= 1.2.2 =
Fixes Telegram connection for bots with a leftover webhook.

= 1.2.1 =
Google Sheets setup now uses your own OAuth client.

= 1.2.0 =
Pro: anomaly detection, Telegram, category tracking, Google Sheets log.

= 1.1.0 =
Adds tracking mode: all products or only selected (Pro).

= 1.0.3 =
Maintenance release.

= 1.0.2 =
Maintenance release.

= 1.0.1 =
Maintenance release: updated Freemius SDK.

= 1.0.0 =
Initial release.
