=== CheckShop.eu — Trust Badge & Reviews for WooCommerce ===
Contributors: checkshopeu
Tags: trust badge, reviews, verification, woocommerce, e-commerce
Requires at least: 6.0
Tested up to: 6.7
Stable tag: 1.0.0
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 9.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display your CheckShop.eu trust badge and automatically collect verified purchase reviews for your WooCommerce store.

== Description ==

**CheckShop.eu** is the European trust verification platform for online shops. This plugin connects your WooCommerce store to CheckShop.eu, enabling:

= Trust Badge =
* Display a real-time trust badge showing your verification score
* Multiple badge styles: floating, inline, checkout, mini
* Fully customizable position and pages
* Shortcode `[checkshop_badge]` for manual placement
* Gutenberg block support
* Classic widget support
* Compatible with the new block-based WooCommerce Checkout

= Automatic Review Invitations =
* Automatically invite customers to leave a review after their order is completed
* Configurable delay (0-30 days after order completion)
* Verified purchase reviews linked to real orders
* Review invitation status visible in order admin
* Manual "Send invitation now" action from the order screen
* "Write a Review" call-to-action on the customer order page

= Privacy & GDPR =
* Built-in WordPress privacy policy snippet (Settings > Privacy)
* Personal-data exporter and eraser registered for the WP data-request tools
* Customer email is only sent to CheckShop.eu when an invitation is dispatched

= Features =
* One-click setup with API key
* WooCommerce HPOS (custom order tables) compatible
* Block-based Checkout / Cart compatible
* Lightweight — no performance impact (5-minute badge cache, lazy iframe)
* Works with all WooCommerce themes
* Translation-ready (PO/POT included)

== Installation ==

1. Upload the `checkshop-woocommerce` folder to `/wp-content/plugins/`, or install via the Plugins screen.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to **WooCommerce &rsaquo; Settings &rsaquo; CheckShop**.
4. Enter your API key (found in your [CheckShop.eu dashboard](https://checkshop.eu/dashboard/badge)).
5. Click "Verify Connection".
6. Configure badge position and review invitation settings.

== Frequently Asked Questions ==

= Where do I get an API key? =
Register your shop at [checkshop.eu](https://checkshop.eu/register) and find your API key under Dashboard &rsaquo; Badge &rsaquo; Installation.

= Does this plugin slow down my site? =
No. The badge uses lazy loading and is cached for 5 minutes. The review invitation system runs asynchronously via WordPress cron.

= Can I customize the badge appearance? =
Yes. Choose from floating (bottom-right/left), inline (shortcode/widget), or checkout badge. Colors are determined by your trust score. Custom styling is available on the Pro plan at checkshop.eu.

= What if I don't have a paid CheckShop plan? =
A free CheckShop plan is sufficient to display the badge and send a limited number of review invitations. Higher plans unlock larger invitation volumes and custom branding.

= Does it work with the new block-based WooCommerce Checkout? =
Yes. The checkout trust badge renders on both the classic `[woocommerce_checkout]` shortcode and the block-based Checkout / Cart blocks introduced in WooCommerce 8+.

= Is customer data shared with CheckShop.eu? =
Only when you enable review invitations. In that case, the customer's name, email and order number are sent to CheckShop.eu solely to deliver a one-off review invitation. The plugin registers WordPress GDPR exporter and eraser hooks so customer-driven data requests work out of the box. Disclose this processing in your own privacy policy.

== Screenshots ==

1. Settings page in WooCommerce admin — connect via API key, verify in one click.
2. Trust badge floating in the bottom-right corner of a storefront.
3. Inline checkout badge boosting conversion at the final step.
4. Review invitation status meta box on the order edit screen.

== Changelog ==

= 1.0.0 — 2026-04-26 =
* Initial public release.
* Trust badge display: floating, inline, checkout and mini styles.
* Automatic review invitations after `woocommerce_order_status_completed`.
* Configurable delay (0–30 days) and per-status filtering.
* Manual "Send invitation now" action from the order edit screen.
* WooCommerce settings tab under WooCommerce &rsaquo; Settings &rsaquo; CheckShop.
* Gutenberg block (`checkshop/badge`) and classic widget.
* Shortcode `[checkshop_badge style="full|mini"]`.
* HPOS (custom order tables) compatibility.
* Block-based Checkout / Cart compatibility.
* Built-in privacy policy snippet, personal-data exporter and eraser hooks.
* Translation template (`languages/checkshop.pot`) included.

== Upgrade Notice ==

= 1.0.0 =
First public release. Reviews and trust badge for WooCommerce.
