How to Remove Related Products from WooCommerce Easily Now
5 quick methods to remove related products from WooCommerce.
- March 1, 2024
This blog contains five easy and quick methods to remove related products from WooCommerce store.
In WooCommerce, related products are displayed automatically on a product’s page based on similarities in tags, categories, or attributes. While this feature enhances further shop discovery, it may not always align with the desired experience you want to offer your customers.
Removing related products can be done in a few simple steps. We have also covered the benefits of removing related products from WooCommerce and the considerations for developers.
Remove Related Products from WooCommerce
Here’s a list of all the topics discussed in this post. Feel free to click on any of them to jump directly to the section you’re most interested in.
Benefits of Removing Related Products
There are several benefits to removing related products from the WooCommerce store. This feature usually appears on a single product page. Some of the main benefits are listed below:
- Simplify the shopping experience for your customers, specifically for returning customers who visit to purchase any specific product and do not want to deal with related products. These customers are a valuable asset for any e-commerce business.
- Encourage customers to purchase by following the simple checkout process. Related products confuse customers, and they often leave without buying anything.
Removing related products simplifies the marketing strategy and increases sales by making valuable customers happy.
How to Remove Related Products from WooCommerce: 5 Quick Methods
There are different ways to remove related products from the WooCommerce store. In this article, we will discuss each of the following methods:
1. Using WooCommerce Settings:
Currently, WooCommerce doesn’t provide a direct setting option to remove related product features. However, you can unlink products with categories and tags. Note that related product features appear when you group products into the same categories or tags.
This way, you can easily remove the related products from your WooCommerce store. But if categories are crucial for your e-commerce business, then you can consider trying other methods of using CSS, plugins, or simply editing the functions.php file.
2. Editing the Functions.php file:
One method to remove related products from WooCommerce is by editing the functions.php file. You don’t need to write code. Just follow these steps.
Login to your dashboard and paste the following code into your child theme’s functions.php file:
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );
Don’t know how to edit the child theme’s functions.php file? Let’s make it simpler by using a plugin. Go to the plugins section, search for the Code Snippets plugin, and install and activate the plugin.
Now click on add new snippet, add name, and paste the same code. Select the run snippet everywhere option and click save changes. See the example below:
This code snippet plugin removes related products from product pages on your WooCommerce store, making it easy to show or hide products as needed.
Note: Never add custom code directly to the unctions.php file of your parent/main theme because the code will be erased during the theme update.
3. Remove Related Products from WooCommerce Using a Plugin:
There are several plugins that you can use to remove related products from WooCommerce. So, if you’re someone who doesn’t want to deal with code then this method is for you. In this tutorial, we will use NS Remove Related Products from WooCommerce. Simply:
- Login to your WordPress dashboard, and go to Plugins> Add New.
- Install the NS Remove Related Products plugin and activate it.
This plugin doesn’t require much configuration, so once you activate it, it will automatically remove the related products from your website.
Check any of your single product pages; you will see that the related products have been removed.
4. Remove Related Products from WooCommerce Using Custom CSS:
You can also remove related products using simple CSS code. Go to Appearance > Customize > Additional CSS, and paste the following code:
.related.products {
display: none;
}
This is the simplest way to remove related products in WooCommerce. Save settings after pasting your code, and you’re good to go.
5. Remove Related Products Using Theme Options:
Many paid themes come with built-in options to manage the display of related products in WooCommerce. This can be a straightforward solution for those who prefer not to deal with code or plugins. Here’s a quick guide on how to remove related products from WooCommerce using the theme:
- Login to your WordPress dashboard, go to Appearance > Customize.
- Look for sections labeled ‘WooCommerce’ > Single Product and find the options related to related products.
- In settings, remove or adjust the display of related products on your product pages.
This method is specifically useful for those using premium themes like Xstore to remove related products from WooCommerce. You can easily customize your store using the default theme options.
Conclusion
Overall, related products can boost sales. However, there might be a time when you want to remove it. In this article, we have discussed 5 methods to remove related products from WooCommerce.
- Using WooCommerce settings.
- Editing the function.php file.
- Using a plugin.
- Using custom CSS code.
- Using theme options.
The easiest way to remove related products from WooCommerce is by using a plugin or the CSS code.
So, that’s all for this blog. All the methods explained in this blog are personally tested and approved by experts. I hope you will find these helpful. If you are stuck anywhere then SavyCoder is just a text away to help. Approach via contact us.
If you like this article then please subscribe to the newsletter below.
Stay Ahead with AI & Productivity Insights
Get the latest tools and tips in AI and productivity delivered straight to your inbox.
Recent Posts
-
25+ Unique Automated Email Do Not Reply Message Template & Tips
-
How to Cancel Shopify Subscription? Easy Tutorial Now!
-
The Best Shopify Payment Gateway in Pakistan - Sell Globally Now!
-
Easypaisa Payment Gateway: All You Need to Know to Boost Sales
-
10 Only the Best Legit Side Hustles for Women Now
-
Do You Need a Business License to Sell on Etsy? Your Easy Guide Here
Freelancing
-
The Best Shopify Payment Gateway in Pakistan - Sell Globally Now!
-
Easypaisa Payment Gateway: All You Need to Know to Boost Sales
-
10 Only the Best Legit Side Hustles for Women Now
-
Do You Need a Business License to Sell on Etsy? Your Easy Guide Here
-
How to Email Like a Boss: 20+ Powerful Phrases
-
Cards No Longer Available for Elevate Pay Users! What Now?
Shopify
-
How to Cancel Shopify Subscription? Easy Tutorial Now!
-
How to Add Another Admin to Shopify? Quick Tutorial!
-
How to add Store Locator on Shopify for FREE? Easy Tutorial!
-
How to Create and Send Email Campaigns in Shopify for FREE?
-
How to Create and Use Collections in Shopify? High Traffic!
-
How to Easily Transfer Data from WooCommerce to Shopify?