WooCommerce · Guide
How to Get Rid of WooCommerce (Step by Step)

Short answer
Back up your site and export any orders you need. Then deactivate and delete WooCommerce extensions, followed by WooCommerce itself, from the Plugins screen. To also wipe products, orders and settings, add the WC_REMOVE_ALL_DATA constant to your config file before deleting the plugin.
Key takeaways
- Deleting WooCommerce keeps its data in the database by default.
- Export orders and back up the site before removing anything.
- Remove WooCommerce extensions before the main plugin.
- The WC_REMOVE_ALL_DATA constant wipes store data during uninstall.
- Clean up store pages, menus and old product URLs afterwards.
How do you get rid of WooCommerce?
Back up your site, deactivate and delete WooCommerce extensions, then deactivate and delete WooCommerce itself from the Plugins screen, and optionally remove its leftover data.
That removes the store features. Your posts, pages and normal WordPress settings stay in place.
What it does not do by default is wipe your store data. WooCommerce keeps products, orders and settings in the database after you delete the plugin. That is deliberate, so you do not lose orders by accident.
So there are really two levels:
- Remove the plugin only. Store features vanish, but data stays in the database. You can reinstall later and pick up where you left off.
- Remove the plugin and all data. Products, orders, customers and settings are deleted for good.
Decide which you need before you start. The rest of this guide walks through both.
A good rule: remove only the plugin if there is any chance you will sell again on this site. Remove all data if the store is closed for good and you want a clean, smaller database.
What should you do before removing WooCommerce?
Take a full backup, export orders and customer data you must keep, and check which theme and plugins depend on WooCommerce.
Order records often need to be kept for tax and accounting. This is general information, not legal or tax advice, so check what applies to your business.
Before you remove anything:
- Back up the whole site. Files and database. Our guide to backing up a WooCommerce store covers what to include.
- Export orders. WooCommerce can export order data to CSV. See our guide on exporting WooCommerce orders to CSV.
- Export products if you might sell them elsewhere. WooCommerce has a built-in product CSV exporter.
- Cancel subscriptions to paid extensions and payment services.
- Note your store pages such as Shop, Cart, Checkout and My account.
Ideally, test the removal on a staging copy first. Our guide to setting up a staging site shows how.
Also download your tax reports and any payout statements from your payment provider. Once the store is gone, the reports built into WooCommerce go with it.
How do you remove WooCommerce extensions first?
Deactivate and delete every WooCommerce add-on before WooCommerce itself, because many extensions throw errors or leave data behind when their parent plugin disappears.
Extensions include payment gateways, shipping plugins, product add-ons and anything with for WooCommerce in the name. Some themes also bundle store plugins.
Go to Plugins > Installed Plugins and type WooCommerce in the search box. That shows most related plugins.
For each one:
- Click Deactivate.
- Click Delete.
- Confirm the deletion.
Some extensions have their own setting to remove data on uninstall. Check their settings page before you delete them if you want a clean database.
Payment gateways deserve extra care. Before deleting them, disconnect the account in the gateway settings, and remove any webhooks you created in your payment provider's dashboard. Otherwise the provider may keep trying to send events to a site that no longer listens.
How do you deactivate and delete WooCommerce?
Go to Plugins > Installed Plugins, click Deactivate under WooCommerce, then click Delete and confirm.
The steps are the same as for any plugin:
- Log in as an administrator.
- Go to Plugins > Installed Plugins.
- Find WooCommerce and click Deactivate.
- Click Delete under it.
- Confirm when WordPress asks.
WordPress explains this process in its plugin management documentation.
If the dashboard breaks after deactivation, your theme probably relies on WooCommerce functions. Our guide on deactivating plugins without admin access helps you recover. Switching to a default theme usually fixes it.
How do you delete all WooCommerce data?
Add the WC_REMOVE_ALL_DATA constant to wp-config.php before deleting the plugin, and WooCommerce will remove its tables, products, orders and settings when uninstalled.
By default, deleting WooCommerce keeps its data. To remove it, add this line to your wp-config.php file above the line that says to stop editing:
define( 'WC_REMOVE_ALL_DATA', true );
Then deactivate and delete WooCommerce as normal. During uninstall, WooCommerce reads that constant and removes its data.
WooCommerce documents this in its guide to uninstalling and removing all WooCommerce data. Read it first, because this step cannot be undone without a backup.
After the uninstall finishes, remove the line from wp-config.php again. Our guide on where to find wp-config.php shows where the file lives.
Leaving the constant in place is risky. If someone reinstalls WooCommerce later and then deletes it again, the store data would be wiped without any warning.
What data does WooCommerce leave behind?
Without the constant, WooCommerce leaves its database tables, product and order records, options, scheduled actions and store pages.
Here is a quick view of what stays and what goes:
| Item | Plugin delete only | With WC_REMOVE_ALL_DATA |
|---|---|---|
| Plugin files | Removed | Removed |
| Products and variations | Kept | Removed |
| Orders and customers data | Kept | Removed |
| WooCommerce tables | Kept | Removed |
| Store settings | Kept | Removed |
| Shop, Cart, Checkout pages | Kept | Usually removed |
| Customer user accounts | Kept | Kept |
| Extension data | Depends on extension | Depends on extension |
Customer accounts are normal WordPress users with the Customer role. If you want them gone, delete them from the Users screen. Consider your privacy duties first, and keep records you are required to keep.
How do you clean up after removing WooCommerce?
Delete leftover store pages, remove menu links to them, set up redirects for old product URLs, and clear every cache.
Leftovers confuse visitors and search engines. Work through this list:
- Pages. Delete Shop, Cart, Checkout and My account if they still exist.
- Menus. Remove links to those pages under Appearance > Menus or in the Site Editor.
- Widgets and blocks. Remove cart icons and product blocks.
- Redirects. Point old product and category URLs to useful pages so they do not return errors.
- Caches. Clear plugin, server and CDN caches.
Some tables may stay behind from extensions or from the Action Scheduler library, which other plugins also use. Do not delete tables by hand unless you are sure nothing else needs them.
Our guide to optimizing the WordPress database explains how to clean up safely.
What if you only want to pause the store?
If you only want a break, keep WooCommerce installed and hide the store or disable purchasing instead of removing it.
Removing WooCommerce is overkill for a short pause. Options include:
- Turning on WooCommerce's coming soon mode for the store.
- Setting products to draft or private.
- Removing payment methods so checkout is unavailable.
- Adding a notice on the shop page.
This keeps your orders, settings and product data ready for when you reopen.
What if you are moving to another store platform?
If you are moving to another platform, export everything you need first, then remove WooCommerce only after the new store is live and working.
Shopify, BigCommerce and other platforms offer import tools that read WooCommerce exports. Export products, customers and orders, then check the import before switching domains.
Keep the old site backed up for a while after the move. You may need old order details for refunds or disputes.
Store the backup somewhere other than your hosting account, such as cloud storage. If the hosting plan is cancelled, the backups on that server usually go with it.
If you are comparing platforms, our breakdown of WooCommerce vs BigCommerce can help you decide. You can also check the official WooCommerce plugin page for its current requirements if you are thinking of staying.
Does removing WooCommerce speed up your site?
Removing WooCommerce usually makes a site lighter, because it loads scripts, styles and background tasks even on pages that are not part of the store.
How much faster depends on your theme, hosting and how many extensions you used. Sites with many store extensions tend to see the largest change.
Test before and after with a tool such as PageSpeed Insights to see the real difference on your site.
Frequently asked questions
Will deleting WooCommerce delete my WordPress site?
No. Deleting WooCommerce removes the store plugin, not WordPress. Your posts, pages, media and normal settings remain. Only store features disappear, and store data stays in the database unless you deliberately remove it.
Can I reinstall WooCommerce and get my products back?
Yes, if you deleted the plugin without the remove-all-data constant. Your products, orders and settings stay in the database, so reinstalling WooCommerce usually restores them. If you wiped the data, you need a backup to get it back.
Do I need to delete customer accounts after removing WooCommerce?
Not necessarily. Customers are regular WordPress users, so their accounts remain after WooCommerce is removed. Delete them if they no longer need access, but check your record-keeping and privacy obligations first.
Why did my site break after deactivating WooCommerce?
Your theme or another plugin probably calls WooCommerce functions directly. Without WooCommerce, those calls cause a fatal error. Switch to a default theme or remove the dependent plugin through your hosting file manager to get back in.
Is it safe to delete WooCommerce tables manually?
Only if you are sure nothing else uses them and you have a backup. Some shared tables, such as the Action Scheduler ones, are also used by other plugins. Using the official removal constant is safer than deleting tables by hand.
Sources
- Uninstall and remove all WooCommerce data WooCommerce Developer Docs
- Manage plugins WordPress.org Documentation
- WooCommerce plugin WordPress.org
- PageSpeed Insights Google
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


