Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

The safe default is to deactivate and delete WooCommerce from Plugins → Installed Plugins without defining a removal constant. WordPress removes the plugin files, while WooCommerce data—products, orders, coupons, settings and related records—is left in the database by default. Make and verify a complete backup, export records you must keep, remove dependent extensions first, and test the site afterward. Only use WC_REMOVE_ALL_DATA when you have confirmed that the store data is no longer needed and a tested recovery copy exists.

What “uninstall WooCommerce” can mean

There are two materially different operations. The ordinary WordPress uninstall lifecycle removes the WooCommerce plugin but intentionally keeps its data. The optional full-removal path tells WooCommerce to erase its stored data when the plugin is deleted. Choosing the wrong path is the difference between a reversible shutdown and a permanent loss of store records.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Route How it is started What happens to store data Reversibility When it fits
Normal deletion Deactivate WooCommerce, then click Delete in Plugins → Installed Plugins WooCommerce data is retained by default; plugin files are removed Generally reversible if the database and uploads are preserved You are pausing a store, changing platforms, troubleshooting, or may need products and orders later
Full data removal Add define( 'WC_REMOVE_ALL_DATA', true ); to wp-config.php, then deactivate and delete WooCommerce WooCommerce says all WooCommerce data, including products, order data and coupons, is removed Destructive and permanent The store and its records are no longer required and verified exports and backups exist

Deleting the plugin is therefore not the same as deleting the store. If your question is “Will deleting WooCommerce delete my orders?”, the answer for an ordinary plugin deletion is no: the default behavior leaves the data in place. If you enable the full-removal constant, the answer changes to yes for WooCommerce data covered by that removal process.

Before touching the plugin: a safe-removal checklist

Do these checks while the site is still intact. They reduce the chance of an irreversible mistake and expose integrations that may fail after WooCommerce disappears.

  • Create a complete backup. Capture both the WordPress database and the site files, including uploads and configuration. Keep a copy outside the site—an external hard drive or SSD for WordPress backups can provide an offline recovery copy. Restore or otherwise verify that the backup is usable; a backup that cannot be recovered is not a safety net.
  • Export records you are required to retain. Save the product catalog, orders, refunds, customer information, coupons, tax or accounting records and any other business data needed for legal, tax, accounting, customer-service or migration work. Store the exports outside WordPress and check that they open and contain the expected rows.
  • Record the current configuration. Note the active theme, WooCommerce extensions, payment methods, shipping and tax connections, webhooks, scheduled integrations and custom code that references WooCommerce. Screenshots or written notes of important settings make rebuilding easier.
  • Inventory active companion plugins. Look for extensions that require WooCommerce. WordPress.com support specifically identifies WooPayments, WooCommerce Shipping and WooCommerce Tax as examples that should be deactivated and, where appropriate, deleted before WooCommerce.
  • Plan a maintenance window. Prevent new orders while you work, tell staff who use the dashboard, and have administrator or hosting access available. Do not perform a permanent purge while customers or fulfillment staff are still relying on the store.

These precautions are especially important for the full-removal route because WooCommerce warns that the action is destructive and permanent and that support cannot help recover consequences from it.

How to remove WooCommerce while keeping its data

This is the appropriate route when you may need the catalog or order history later. It follows WordPress’s documented lifecycle: deactivate first, then delete.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Stop dependent activity. Disable checkout, pause external synchronizations and make sure no administrator is editing orders while the plugin is being removed.
  2. Handle dependent extensions first. In Plugins → Installed Plugins, deactivate companion extensions that require WooCommerce. If you no longer need them, delete them after deactivation. The documented examples include WooPayments, WooCommerce Shipping and WooCommerce Tax. Removing a dependent extension first helps prevent an extension from trying to call code that no longer exists.
  3. Open the plugin list. Sign in to WordPress as an administrator and go to Plugins → Installed Plugins.
  4. Deactivate WooCommerce. Find WooCommerce and select Deactivate. Deactivation turns off runtime behavior; it is not the same operation as uninstalling and does not by itself remove plugin files or data.
  5. Delete the plugin. After deactivation, select Delete for WooCommerce and confirm WordPress’s prompt. WordPress’s uninstall lifecycle is deactivation followed by this Delete action.
  6. Leave removal constants absent. Do not add WC_REMOVE_ALL_DATA if you intend to preserve products, orders or other WooCommerce records. With no constant enabled, WooCommerce’s documented default is to leave the data in place.
  7. Check the front end and administration. Visit the home page, product or catalog URLs that should remain, login, relevant admin screens and any non-commerce forms. Confirm that the theme and remaining plugins load without fatal errors.
  8. Clean references deliberately. Remove or repoint navigation menus, widgets, shortcodes, template overrides, payment webhooks and scheduled integrations that still target WooCommerce. Search custom theme and plugin code for WooCommerce hooks or functions before deleting a reference; a blind search-and-replace can damage unrelated code.

Normal deletion does not promise that every visible trace vanishes. Pages, media, theme files, custom options and third-party records can be outside WooCommerce’s own uninstall scope. Treat the post-removal review as a separate site-maintenance task.

What remains after ordinary deletion

Because WooCommerce leaves data by default, a later reinstall can often see the existing store records again, provided the database and related files were not separately altered. That does not mean the entire site is untouched. The plugin files are gone, dependent extensions may have been removed, and integrations can be left pointing at unavailable endpoints.

  • Database records: WooCommerce products, orders, coupons, settings and related records are retained by the default path.
  • Site content: Pages, menus, widgets, media and theme templates can remain because they are WordPress or theme content rather than the plugin’s executable files.
  • External systems: Payment providers, tax services, shipping services and automation platforms may retain their own records or webhooks. Disable or repoint those connections according to their documentation.
  • Custom code: Theme functions, mu-plugins and bespoke integrations can still reference WooCommerce classes, actions or shortcodes. Those references must be removed or replaced by whoever maintains the code.

If your goal is a temporary pause, leave the database intact and document the exact extensions and integrations you disabled. If your goal is a migration, keep the exports and the original backup even after the new system is operating.

How to permanently remove WooCommerce data

Use this procedure only after the backup and exports have been verified and the business has approved permanent deletion. WooCommerce’s warning is explicit: “As this action is destructive and permanent, the information is provided as is. WooCommerce Support cannot help with this process or anything that happens as a result.”

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

1. Confirm that permanent deletion is really required

Do not choose this route merely because you want a shorter plugin list or a tidier database. If there is any chance that orders, products, coupons or customer records will be needed, use ordinary deletion instead.

2. Edit the WordPress configuration file

Open the site’s wp-config.php using your host’s file manager, secure file transfer or another method appropriate to your environment. Add the following line above the comment /* That's all, stop editing. */:

define( 'WC_REMOVE_ALL_DATA', true );

Preserve the existing PHP syntax and file encoding. Make a second copy of the original file before saving so you can undo the configuration change if you stop the process.

3. Deactivate and delete WooCommerce

Return to Plugins → Installed Plugins, deactivate WooCommerce, then click Delete. With the constant enabled, WooCommerce runs its full-removal procedure as part of uninstall. The documented scope includes products, order data, coupons and other WooCommerce data. Do not assume that unrelated theme, plugin or external-service records are covered.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

4. Remove the constant after the operation

Once the deletion has completed, edit wp-config.php again and remove the WC_REMOVE_ALL_DATA line. Leaving a destructive constant in place creates a future risk if WooCommerce is installed and removed again.

5. Verify the result and the rest of the site

Check that the plugin is gone, the public site loads, administrator login works and no remaining extension throws a fatal error. Review scheduled integrations, webhooks, menus, widgets and theme templates. Keep the verified backup and exported records for the retention period your organization requires.

Action Scheduler: the database cleanup you must not guess about

WooCommerce uses Action Scheduler for background jobs, but its tables can be shared by other active plugins. For that reason, WC_REMOVE_ALL_DATA does not remove Action Scheduler tables automatically.

WooCommerce documents a second constant:

define( 'WC_REMOVE_ACTION_SCHEDULER', true );

Only add that line when you have verified that no other active plugin depends on Action Scheduler. Both constants are required for the additional Action Scheduler table removal. Enabling it simply to make the database look cleaner can destroy queued or historical jobs belonging to another plugin.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How to decide safely

  • List every active plugin before uninstalling WooCommerce.
  • Read the documentation for plugins that perform background processing, scheduled imports, email delivery, memberships, bookings or subscriptions.
  • Ask the developer or host if documentation does not establish whether Action Scheduler is shared.
  • If dependency status is uncertain, leave WC_REMOVE_ACTION_SCHEDULER undefined. Removing WooCommerce data without removing shared scheduler tables is safer than deleting tables another plugin needs.

Database-table names and prefixes vary by site, so do not delete tables manually based on a guessed prefix. Use the documented constants only after the dependency check and backup.

Scheduled tasks WooCommerce clears during uninstall

The published WooCommerce uninstall code clears WooCommerce’s scheduled hooks. The list includes:

  • Scheduled sale events
  • Automatic cancellation of unpaid orders
  • Session cleanup
  • Personal-data cleanup
  • Log cleanup
  • GeoIP database updates
  • Tracking tasks
  • Rate-limit cleanup
  • WooCommerce Admin daily tasks
  • Category lookup-table generation

Clearing these WooCommerce hooks prevents the removed plugin from continuing its own scheduled work. It does not cancel jobs owned by unrelated plugins, and it does not automatically remove remote webhooks or tasks configured in an external service.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Dependencies and failure modes

A dependent extension causes an error or crash

This usually means an extension was left active while WooCommerce was removed. Restore the backup or reinstall WooCommerce if necessary to regain access, then deactivate and delete the dependent extension first. The named examples from WordPress.com support are WooPayments, WooCommerce Shipping and WooCommerce Tax; other extensions can have the same dependency relationship.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Teacher Record Book
  • Keep track of everything from attendance to test scores
  • Spiral bound
  • Measures 8-1/2" x 11"

The Delete button is unavailable

WooCommerce must be deactivated before WordPress offers deletion. If another administrator or a deployment process reactivated it, repeat the deactivation and check that you are using an account permitted to manage plugins.

The site shows a fatal error after deletion

Use the backup or hosting recovery tools to restore service, then inspect the active theme, mu-plugins and remaining extensions for WooCommerce function calls, classes, shortcodes or hooks. Remove or update those references before attempting deletion again.

Orders appear to be missing after reinstalling

First confirm which route was used. Ordinary deletion leaves WooCommerce data by default; the full-removal constant is intended to erase it. Check that you restored the correct database and site files, and compare the database backup with your exported records. Do not perform another uninstall while investigating.

Scheduled jobs still appear in another tool

WooCommerce clears its own scheduled hooks during uninstall, but external automation platforms, hosting cron jobs and other plugins can keep independent schedules. Disable those separately and verify ownership before deleting any shared scheduler data.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Old menus, pages or shortcodes remain

Those items can be ordinary WordPress content and are not proof that WooCommerce data removal failed. Review each item’s purpose, replace links that lead to checkout or account pages, and delete content only after confirming it is no longer needed.

Choosing the right route

Question Choose normal deletion Choose full removal
Could the catalog or order history be needed later? Yes; preserve the data No; verified exports exist
Are you troubleshooting or temporarily closing the store? Yes No
Has a complete, recoverable backup been tested? Still recommended Mandatory before proceeding
Are dependent extensions and integrations identified? Handle them before deletion Handle them before deletion
Is Action Scheduler shared or uncertain? Do not remove its tables Do not set WC_REMOVE_ACTION_SCHEDULER until no dependency remains
Do you need a clean database more than historical records? Keep data; cleanliness is not a sufficient reason for destruction Only if permanent deletion is approved and documented

After uninstall: a practical verification pass

  1. Open the home page and several important public URLs.
  2. Test administrator login and the dashboard screens still used by the organization.
  3. Check navigation menus, widgets and templates for commerce links or missing shortcodes.
  4. Review payment, shipping, tax and analytics dashboards for webhooks or scheduled connections that still point to the old store.
  5. Inspect server and WordPress logs for new fatal errors, then resolve the responsible theme or extension.
  6. Confirm that the backup, exports and configuration notes are stored outside the site and can be located by the people responsible for retention.

For a reversible removal, keep the database backup and exports until the replacement system has been accepted. For a permanent removal, retain the evidence of approval and the final backup according to your accounting, legal and operational requirements.

Quick Recap

SaleBestseller No. 1
SaleBestseller No. 3
Bestseller No. 4
Teacher Record Book
Teacher Record Book
Keep track of everything from attendance to test scores; Spiral bound; Measures 8-1/2" x 11"
$4.89

Key distinctions to remember

  • Deactivate is not delete: deactivation stops runtime code; deleting completes WordPress’s uninstall step.
  • Delete is not purge: ordinary deletion removes plugin files while WooCommerce data remains by default.
  • A purge is not a database tidy-up: WC_REMOVE_ALL_DATA is permanent, and Action Scheduler may be shared.
  • Plugin removal is not integration removal: themes, menus, webhooks, external automations and custom code require their own review.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.