=== Sabdov Reviews ===
Contributors: sabdov
Donate link: https://www.sabdov.com/
Tags: reviews, woocommerce, rating, testimonials, floating reviews
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 2.2.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically injects Sabdov review widget, star rating summary badge, and floating review notifications into WooCommerce.

== Description ==

Connect your WooCommerce store to Sabdov to automatically display product reviews on every product page.

Sabdov Reviews helps you collect, manage, and showcase customer reviews and ratings on your WooCommerce store. It builds trust, increases conversion rates, and displays social proof beautifully.

Key Features:
*   **Automatic Widget Injection:** Showcase reviews automatically in a list, grid, mosaic, or carousel layout.
*   **Star Rating Badges:** Automatically show star rating summaries under product titles on product pages and shop loops.
*   **Floating Reviews Popup:** Display recent positive reviews as subtle, interactive corner notifications to boost confidence.
*   **Shortcode Support:** Easily place the widgets anywhere using simple shortcodes (`[sabdov_widget]`, `[sabdov_stars]`, `[sabdov_floating]`).

== Installation ==

1. Upload the `sabdov-woocommerce` folder to the `/wp-content/plugins/` directory, or install the plugin directly through the WordPress admin screen.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to **Settings > Sabdov Reviews** in your WordPress admin menu.
4. Enter your **Widget Public Key** (which you can find in your Sabdov Dashboard under Settings > Integration > WooCommerce).
5. Customize your layout preferences and save settings.

== Frequently Asked Questions ==

= Where do I find my Widget Public Key? =
You can find your Widget Public Key in your Sabdov Dashboard under **Settings > Integration > WooCommerce** or **Settings > API Access**.

= Do I need a Sabdov account? =
Yes, a Sabdov account is required to collect and manage reviews. You can register at https://www.sabdov.com/.

= Can I place the widgets manually? =
Yes, if you use a page builder (Elementor, Divi, Gutenberg) or want to place the widgets manually, you can use these shortcodes:
*   `[sabdov_widget]` - Main Review Showcase Widget
*   `[sabdov_stars]` - Star Rating Summary Badge
*   `[sabdov_floating]` - Floating Reviews Popup

== External services ==

This plugin relies on the external Sabdov service (https://www.sabdov.com) to fetch and display customer product reviews, rating summaries, and floating notification popups on the WooCommerce storefront.

When a customer visits pages with active reviews or rating badges, the plugin loads a widget script from `https://www.sabdov.com` (or your configured app URL). This script sends the merchant's public widget key (to identify the store), the product ID, and standard visitor browser information (IP address, user-agent) to Sabdov's servers to fetch and show reviews.
Additionally, when linking the store, the administrator is redirected to the Sabdov dashboard to configure the connection.

Sabdov is provided by Sabdov:
* Terms of Service: https://www.sabdov.com/terms-of-service
* Privacy Policy: https://www.sabdov.com/privacy-policy

== Screenshots ==

1. Sabdov Reviews Settings Page & WooCommerce Connection setup.
2. Review Showcase Widget with List, Grid, Mosaic, and Carousel layouts.
3. Automatic Star Rating Badge placed under product titles.
4. Floating Reviews Popup Notifications displaying real-time customer feedback.
5. Customer Review Submission Form with photo and video upload.
6. Shortcode Integration for page builders (Elementor, Gutenberg, Divi).
7. Merchant Moderation Dashboard on Sabdov platform.

== Changelog ==

= 2.2.2 =
* Fix: Auto-enqueue widget script on WooCommerce Shop catalog and category pages.
* Enhance: Upgrade review and question submission forms to open in full viewport overlay.
* Fix: Resolve connection status check with remote Sabdov verification API.
* UI: Refine plugin settings dashboard and add quick feedback link.

= 2.2.1 =
* Fix automatic 1-click status polling check with remote Sabdov status API.
* Improve connection status detection for WooCommerce stores.

= 2.2.0 =
* Initial public release with WooCommerce support.
* Add option for grid, mosaic, and carousel layouts.
* Add support for floating review popups and custom shortcodes.
