WooCommerce Clean Orphaned Variations
WooCommerce plugin which helps you find and delete any product variations without parents.
by @anttiviljami · github.com/anttiviljami/woocommerce-clean-orphaned-variations · website
★ 10stars
48composer installs
2forks
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/anttiviljami/woocommerce-clean-orphaned-variations/archive/refs/heads/master.zipAlso on Packagist as anttiviljami/woocommerce-clean-orphaned-variations:
composer require anttiviljami/woocommerce-clean-orphaned-variationsFrom the readme
WooCommerce Clean Orphaned Variations
Adds a tool to the WooCommerce tools page which finds and deletes any Product variations without parents.
Usage
1. Navigate to: WooCommerce System Status Tools (/wp-admin/admin.php?page=wc-status&tab=tools)
2. Click the "Clean Orphaned Variations" -button
Screenshots
Why?
Sometimes, for reasons unknown, WooCommerce will leave orphaned variation products in the database which can cause all sorts of problems.
Most commonly, you would get this error message
This small tool is a quick and easy fix for those situations.
Installation
The Composer Way (preferred)
Install the plugin via Composer
Activate the plugin
The Old Fashioned Way
You can also install the plugin by directly uploading the zip file as instructed below:
1. Download the plugin
2. Upload to the plugin to /wp-content/plugins/ via the WordPress plugin uploader or your preferred method
3. Activate the plugin