How To Remove Wishlist From Woocommerce

How To Articles

As an avid user of WooCommerce, I understand the importance of customizing your online store to meet your specific needs. One feature that some store owners may want to remove is the wishlist functionality. While the wishlist feature can be useful for some customers, it may not align with every business model. In this article, I will guide you through the process of removing the wishlist from your WooCommerce store.

Why Remove the Wishlist?

Before we dive into the technical steps, let’s take a moment to discuss why you might want to remove the wishlist functionality from your WooCommerce store. While the wishlist feature can be a valuable tool for customers to save products for later, it may not make sense for every type of store. Some businesses, particularly those selling low-cost or one-time-use items, may find that the wishlist feature is not being utilized or is creating unnecessary clutter on their site.

Step 1: Backup Your Website

Before making any changes to your WooCommerce store, it’s always a good idea to create a backup of your website. This will ensure that you have a restore point in case anything goes wrong during the removal process. There are several plugins available that can help you create a full backup of your website, such as UpdraftPlus.

Step 2: Disable the Wishlist Functionality

To remove the wishlist functionality from your WooCommerce store, you will need to make some modifications to the code. Here’s how you can do it:

  1. Login to your WordPress admin dashboard.
  2. Navigate to “Appearance” -> “Theme Editor”.
  3. Select the “functions.php” file from the right-hand side.
  4. Add the following code snippet to the end of the file:

    function remove_wishlist() {
    if (class_exists('YITH_WCWL')) {
    remove_action('woocommerce_single_product_summary', array(YITH_WCWL(), 'add_wishlist_title'), 35);
    remove_action('woocommerce_after_single_product_summary', array(YITH_WCWL(), 'add_wishlist_template'), 10);
    add_action('woocommerce_init', 'remove_wishlist');
  5. Click the “Update File” button to save the changes.

This code snippet checks if the YITH WooCommerce Wishlist plugin is active and if so, it removes the actions responsible for displaying the wishlist title and template on the single product pages.

Step 3: Clear Cache and Test

After making the code changes, it’s important to clear your website’s cache to ensure that the updated code takes effect. If you are using a caching plugin, navigate to its settings and clear the cache. Once cleared, visit your WooCommerce store and test whether the wishlist functionality has been successfully removed.


Removing the wishlist functionality from your WooCommerce store can help streamline your website and provide a more focused shopping experience for your customers. By following the steps outlined in this article, you should be able to remove the wishlist feature without any issues. Remember to always create a backup of your website before making any changes and test thoroughly to ensure everything is working as expected.