=== CCK Review Flow for WooCommerce ===
Contributors: muratzden
Tags: woocommerce, reviews, customer feedback, post purchase, redirect
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Requires Plugins: woocommerce
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Collect customer ratings after WooCommerce orders and invite satisfied customers to leave a Google review.

== Description ==

CCK Review Flow for WooCommerce helps store owners collect customer sentiment after completed purchases.

On the WooCommerce order received page, customers can choose a star rating. Ratings at or above the configured threshold reveal a Google review button. Lower ratings open a private feedback form so the store can share feedback directly with the store owner before leaving a public review.

The plugin can also add review request content to WooCommerce completed order emails.

== Features ==

* Enable or disable the review prompt.
* Configure the Google review URL.
* Customize the popup title and message.
* Set the positive rating threshold.
* Store private low-rating feedback with the related WooCommerce order.
* Send email notifications for low-rating feedback.
* Optionally add review request content to WooCommerce completed order emails.
* Verify order keys before accepting private feedback.
* Prevent repeated review prompts for the same order in the same browser.
* Compatible with WooCommerce High-Performance Order Storage (HPOS).

== Requirements ==

* WordPress 6.0 or higher.
* PHP 7.4 or higher.
* WooCommerce 7.0 or higher.

== Installation ==

1. Upload the `cck-review-flow-for-woocommerce` folder to `/wp-content/plugins/`.
2. Activate the plugin from the Plugins screen in WordPress.
3. Open **WooCommerce → Marketing → CCK Review Flow**.
4. Configure your Google review URL and plugin settings.

== Frequently Asked Questions ==

= Does this plugin require WooCommerce? =

Yes. CCK Review Flow for WooCommerce depends on WooCommerce order pages and WooCommerce email hooks.

= Does the plugin automatically redirect customers? =

No. Customers always decide whether they want to visit your Google review page.

= Which Google review URLs are accepted? =

The Google review URL must use one of the following hosts:

* google.com
* www.google.com
* g.page
* maps.app.goo.gl
* search.google.com

= Does the plugin override WooCommerce email templates? =

No. It uses WooCommerce email hooks and does not replace WooCommerce email templates.

= Where is private feedback stored? =

Private low-rating feedback is securely stored with the related WooCommerce order.

== Screenshots ==

1. CCK Review Flow settings page.
2. Customer review prompt after checkout.
3. Private feedback form for low ratings.

== Changelog ==

= 1.0.1 =

* Fixed WordPress.org prefix compliance issues.
* Improved internal naming consistency.
* Updated review flow architecture.
* Improved compatibility and code quality.
* Minor maintenance and documentation updates.

= 1.0.0 =

* Initial public release.

== Upgrade Notice ==

= 1.0.1 =

Maintenance release with WordPress.org compliance improvements.
