Description
Revunest for WooCommerce extends the default WooCommerce product review form. Customers can add photos and videos to their reviews, and store owners can set limits on what can be uploaded.
WooCommerce must be installed and product reviews must be enabled. If reviews are disabled in the WooCommerce settings, the plugin settings page shows a notice.
Review form
- Upload photos and videos from the product review form. Files are uploaded with AJAX when they are selected.
- Previews of the selected files, with a button to remove a file before the review is submitted.
- Choose where the upload button appears: above the stars, below the stars, or below the comment field.
Product page
- Media from each review is shown with the review, either above or below the review text.
- Lightbox: clicking a photo or video opens it together with the review author, rating and review text. Previous and next buttons move through the media shown on the page.
- Media gallery (optional): thumbnails of the media from approved reviews, with a limit on the number of items shown and a “View all” overlay for the rest.
- Review summary (optional): average rating, number of reviews and a percentage bar for each star rating.
- Review filters (optional): show only reviews with photos or videos, filter by star rating, and sort by newest, oldest, highest rated or lowest rated. The list is updated with AJAX.
Upload limits and permissions
Photos and videos each have their own settings:
- Turn photo or video uploads on or off.
- Maximum number of files per review.
- Maximum file size in MB.
- Allowed file extensions, for example jpg, png or mp4.
- Maximum width and height in pixels (photos only).
- Restrict uploads to selected user roles.
- Restrict uploads to customers who have purchased the product (“verified owners”).
General settings:
- Allow only one review with photos or videos per product for each logged-in customer.
- Email blacklist: one email address or pattern per line. Use
*as a wildcard, for example*@example.com. Matching users cannot upload media.
Administration
- A “Photo/Video” column in the comments list shows the media attached to each review.
- Clicking the media in that column opens the lightbox. A “Delete Media” button removes a file from the review.
- The Media Library has a filter to show files uploaded through reviews, and the attachment details show where a file came from.
- Settings page with General, Photo Settings, Video Settings and Tools tabs.
Temporary files
Files that are uploaded but not saved with a review are marked as temporary. Temporary files older than 24 hours are removed by a daily scheduled task. The Tools tab shows the number of review media files that are not attached to a post and has a button to delete them.
Installation
- Make sure WooCommerce is installed and active.
- Upload the plugin folder to the
/wp-content/plugins/directory, or install it from the Plugins screen in WordPress. - Activate the plugin through the “Plugins” menu in WordPress.
- Go to Revunest in the admin menu to configure the settings.
Changelog
1.0.1
- Security: media uploads from the review form now require a nonce.
- Security: only temporary uploads that belong to the current user or guest session can be attached to a review.
- Security: AJAX uploads now follow the role and verified-owner settings, accept only valid photo and video files, and require a valid product and upload type.
- Fix: the “Delete All Temporary Files” tool and the temporary file count no longer include media that is already saved with a review.
- Fix: the “View Files” link in the Tools tab now lists only temporary files.
- Added “Requires PHP: 7.4” to the plugin header and readme.
1.0.0
- Initial release.