How to Deactivate WooCommerce from WordPress

WooCommerce is one of the most popular eCommerce plugins for WordPress, giving you the ability to transform your website into a fully functioning online store. It offers a variety of features like product listings, payment gateways, and inventory management to help you run an e-commerce business seamlessly. However, if you no longer need an online store, or have decided to switch to a different platform or plugin, you may want to Deactivate WooCommerce from WordPress.

The good news is that uninstalling WooCommerce is relatively simple. In many cases, you can deactivate and delete the plugin directly from your WordPress dashboard. However, it’s important to note that if your website relies on a theme or other plugins that are integrated with WooCommerce, there could be some additional steps involved to ensure a complete removal of all WooCommerce-related files and data.

In this article, we’ll provide a comprehensive, step-by-step guide on how to properly Deactivate WooCommerce from the WordPress site.

storemate-dokan

What is WooCommerce and Why Would You Consider Removing It?

WooCommerce is a popular plugin that lets you create an online store on your WordPress site. While many users find it valuable, there may be situations where you’d want to remove it from your site.

You might decide to uninstall WooCommerce for several reasons, such as no longer needing to sell products online or having another reason to remove the plugin. Regardless of the reason, the process of removing WooCommerce is fairly simple. In just a few steps, you can easily uninstall WooCommerce from your WordPress site.

How to Uninstall WooCommerce from Your WordPress Site

To completely erase WooCommerce data, follow this simple method. Insert the following line into your wp-config.php file using FTP or File Manager:

define('WC_REMOVE_ALL_DATA', true);

Make sure to use straight quotation marks and place this code above any existing lines in the file.

After adding the code, go to your WordPress admin panel to deactivate and delete the WooCommerce plugin. Finally, remove the added code from the wp-config.php file. This will ensure that all WooCommerce data is fully removed from your WordPress site.

Also Read: Available Dokan Shortcodes and Their Usages

Manual Approach- Deactivate WooCommerce from WordPress

To remove the plugin manually, follow these steps:

1. Delete WooCommerce Data

  • If you choose to remove a plugin, start by clearing all associated data from the admin area.
  • To delete all product pages and categories, navigate to the “Products > All Products” and “Products > Categories” sections.
  • To remove coupons and orders, go to “WooCommerce > Coupons” and “WooCommerce > Orders” and delete them.
  • To delete log data, go to “WooCommerce > Status > Logs” and remove the logs.
  • Use the “WooCommerce > Status > Tools” section to clear any transient data.

Delete WooCommerce Data- Deactivate WooCommerce from WordPress

Delete Customer Information

When a user purchases WooCommerce, WordPress automatically creates a user account with the “Customer” role. After uninstalling the plugin, you need to remove all customer accounts from your site.

  • In the admin area, go to “Users > All Users” from the drop-down menu.
  • To filter for customer accounts, click on the “Customers” button.
  • Select “Delete” from the “Bulk Actions” dropdown menu.
  • Click “Apply” to remove all selected customer accounts.

If you have multiple pages of customer data, the deletion process may take some time. To speed things up, go to “Screen Options” and increase the number of items displayed per page to 100 or more.

Delete Customer Information- Deactivate WooCommerce from WordPress

Also Read: How to Delete WordPress Site? – A Step-By-Step Guide

Deactivate and Uninstall the WooCommerce Plugin from the WordPress Dashboard

To deactivate the WooCommerce plugin, follow these steps from your WordPress dashboard:

  • Go to “Plugins” in the menu,
  • Select “Installed Plugins,”
  • Find and click “Deactivate” next to the WooCommerce plugin.

Deactivate Plugin- Deactivate WooCommerce from WordPress

  • Once you’ve deactivated the plugin, you can proceed to delete it from your site.

Delete Plugin

After deleting the plugin, only the files associated with it will be removed from your website. Any integrations or settings added by the plugin will need to be manually removed.

Reign-ad-02

Delete Any Remaining WooCommerce Tables- Deactivate WooCommerce from WordPress

If you only delete the plugin files, some WooCommerce data may remain in your database, which could cause conflicts with other plugins or themes. To avoid this, you should also delete the WooCommerce tables.

Here’s how to do it:

  • Connect to your database using phpMyAdmin.
  • Select the WooCommerce tables you want to delete.
  • Go to the “Operations” tab.
  • Click on the “Delete the table (DROP)” button to remove both the tables and their data.
  • Once you’ve deleted the tables, WooCommerce will be fully removed from your WordPress site.

Interesting Reads:

How To Install WordPress Plugin

Do Inactive Plugins Slow Down My WordPress Website?

Does WordPress Status Plugin have a good impact on your community website?

Facebook
Twitter
LinkedIn
Pinterest

Newsletter

Get tips, product updates, and discounts straight to your inbox.

This field is hidden when viewing the form

Name
Privacy(Required)
This field is for validation purposes and should be left unchanged.