WooCommerce Duplicate Reviews from Product to Product
This class duplicates WooCommerce product reviews from one product to another in user defined batches
by Matt Welland · github.com/matt-welland/duplicate-woocommerce-reviews
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/matt-welland/duplicate-woocommerce-reviews/archive/refs/heads/main.zipDuplicate & Move WooCommerce Product Reviews Tool
This class duplicates WooCommerce product reviews from one product to another.
Ensure to change these values in the plugin code for it to work:
private $source = 357;
private $target = 82419;
private $batch_size = 20;
The integers $source and $target are ID values of the source and target products and the integer &batch_size is how many reviews should be cloned at each iteration.
Note: This plugin is for a staging environment only, do not install/leave installed on a production environment. I am not responsible for any security vulnerabilities or problems due to this plugin.
How to run
Runs via an admin page under Tools > Duplicate Reviews
How to install
- Clone this repository (Skip to step 3 if downloading as a
.zip) - Zip the repository
- Navigate to your Plugins dashboard in your Wordpress environment
- At the top, click "Install" and then upload your file