Removing Legacy Data
-
Hi,
I’ve cloned an existing Woocommerce website to use as a template/starting point. However, I want to clean out all of the old Woocommerce data (orders, customers etc) and start with a clean install of Woocommerce.I’ve tried manually deleting all the orders and also tried adding the line
define (‘WC_REMOVE_ALL_DATA’, true); to the wp-config file and uninstalling the plugin. However, with that line in place when I try to uninstall the plugin it just gets stuck on ‘deleting….’ and doesn’t complete.If I uninstall and delete the plugin without that line in the config file when I reinstall Woocommerce, its still showing ‘All (37)’ above the order listings even though there are no orders listed and none in the bin.
See screenshot: https://prnt.sc/spZMmQx7BGcq
I’ve also looked in the database and can’t see any tables that are still populated. Also tried clearing all transients under the tools area.
Any further assistance would be very much appreciated.
Thanks.
- The topic ‘Removing Legacy Data’ is closed to new replies.