=== A2Reviews === Contributors: eosvn Donate link: https://www.a2rev.com Tags: reviews, woocommerce, product reviews, ratings, questions Requires at least: 4.8 Requires PHP: 7.0 Tested up to: 7.1 Stable tag: 1.3.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Display and manage WooCommerce product reviews, ratings and Q&A with the A2Reviews service. Customize everything with its own editor. == Description == A2Reviews is a product reviews and ratings application for WooCommerce. It connects your store to the A2Reviews service (https://www.a2rev.com) so you can collect, import, moderate and display customer reviews, star ratings and questions & answers on your product pages. [Home Page](https://www.a2rev.com "A2Reviews Homepage") | [App](https://app.a2rev.com "App") | [A2Reviews Help](https://help.a2rev.com "A2Reviews Help") = Features = * Install and connect with a few clicks. * Add reviews from CSV, manually, or imported from AliExpress and Amazon. * A smart review editor to help you manage reviews easily. * Email customers to request a review after purchase. * Review, total-rating and Questions & Answers widgets with flexible placement. * Shortcodes to display review blocks and widgets anywhere. = Shortcodes = * `[a2reviews-widget-feature]` - Display the best curated reviews on your website. * `[a2reviews-widget product-id="123"]` - Display reviews of a particular product. * `[a2reviews-widget type="total" product-id="123"]` - Display only the total review widget. * `[a2reviews-widget type="total-collection" product-id="123"]` - Display only the total review widget without text. * `[a2reviews-block id="123"]` - Display a curated review block created in the app. == External services == This plugin is a client for the A2Reviews service and requires an A2Reviews account. To provide its functionality it connects to several third-party services operated by A2Reviews (EOSVN). It is important to disclose this because the plugin sends and receives data from these services. **When data is sent** * When you click "Authentication" / "Connect" in the plugin settings, and while your store is connected. * On the front end of your product pages, when the review widgets load (the client script is requested so reviews can be displayed). * When a WooCommerce order is completed (so the service can request a review from the customer). **What is sent and to where** * **A2Reviews API — https://api.a2rev.com and https://app.a2rev.com** — During connection and normal operation the plugin exchanges your site URL and domain, a connection signature, and, on connect, basic store/administrator information (site name, admin email and name) so the service can link your store. Review, rating and product metadata is synchronised for the products you manage. * **A2Reviews real-time service — https://socket.a2rev.com** — Used by the client script for real-time updates of review data. * **A2Reviews CDN — https://s1-cdn.a2rev.com** — The front-end client script that renders the review widgets is loaded from the A2Reviews content delivery network. Your store domain is passed as a query parameter so the correct reviews are displayed. Use of the A2Reviews service is subject to its terms and privacy policy: * Terms of Service: https://www.a2rev.com/terms-of-service * Privacy Policy: https://www.a2rev.com/privacy-policy == Installation == 1. Upload the plugin to your `/wp-content/plugins/` directory and activate it (alternatively, install it through the WordPress admin plugins screen). 2. Make sure WooCommerce is installed and active. 3. Go to Settings > A2reviews and click "Authentication" to connect your store to the A2Reviews service. == Frequently Asked Questions == = Does this plugin require an account? = Yes. A2Reviews is a hosted service; you need an A2Reviews account to collect and display reviews. See the "External services" section for details on the data exchanged. = Does it work without WooCommerce? = The plugin is built for WooCommerce product reviews and requires WooCommerce to be active. == Changelog == = 1.3.1 = * Fixed the reviews/Q&A widget collapsing (and the content below it overlapping) when its tab is opened after being hidden; the widget now reflows correctly. * Added an option to hide the default WooCommerce star rating on the product page so only the A2Reviews rating is shown. = 1.3.0 = * Security: Fixed an authorization flaw in the plugin's connect/API endpoints that could allow an unauthenticated request to be processed on a store that had not yet connected to the A2Reviews service. All API commands now fail closed when the store is not connected, the one-time connection code is verified with a constant-time comparison (hash_equals()), and WooCommerce API keys can no longer be created from an unauthenticated request. Reported by Muni Nitish Kumar Yaddala. * Security: Escaped all plugin output and hardened input handling. * Compliance: Resolved WordPress Plugin Check issues (output escaping, direct file access protection, i18n, prefixing, safe redirects). * Updated the A2Reviews client to the latest version (1.2.6), and the client now updates automatically when the service publishes a newer one (never downgrading). * Fixed the review widgets showing an endless loading spinner when the store is not connected; a clear message is shown instead. * Added an "External services" disclosure to the readme. * Updated "Tested up to" to WordPress 7.1. = 1.2.3 = * Fixed clear cache with WP Rocket = 1.2.2 = * Fixed API port = 1.1.11 = * Fixed bugs and change default CDN = 1.1.10 = * Fixed update stars rating with wp-super-cache plugin = 1.1.8 = * Custom version of script on your site * Fix bug and optimization * Multiple CDN server = 1.1.7 = * Fixed some issues with total widget display. * Updated to allow customers to choose client-side version. * Add some options in settings * Add template layout for paid store. * A few optimization improvements. = 1.1.6 = * Improve website authentication, easily connect to A2Reviews application = 1.1.4 = * Fix bug on widget shortcode = 1.1.3 = * Fix bug "Uncaught Error: Cannot use object of type WP_Error as array." = 1.1.2 = * Updated some Shortcodes to show reviews. = 1.1.1 = * Change to new CDN = 1.0.9 = * Fix custom position for total widget reviews = 1.0.7 & 1.0.8 = * Fix authentication with APP = 1.0.6 = * Add order complete action and shortcode to show block reviews = 1.0.5 = * Fix bugs = 1.0.4 = * Fix bugs and support woocommerce order assign to customer = 1.0.1 = * Release the first version == Upgrade Notice == = 1.3.0 = Important security update. All users should update immediately.