WP Manifestindependent plugin directory
manifest / ecommerce / duplicate-woocommerce-reviews

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

0stars
0forks

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.zip

Duplicate & 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

  1. Clone this repository (Skip to step 3 if downloading as a .zip)
  2. Zip the repository
  3. Navigate to your Plugins dashboard in your Wordpress environment
  4. At the top, click "Install" and then upload your file