Special Discount for a limited time

00 Days
:
00 Hours
:
00 Minutes
:
00 Seconds

When you’re selling products online, you want your customers to trust you and your store. As such, you want them to feel confident enough to buy from you. To do this, you need to make sure that your customers know that your store is reliable and that your products are genuine. There are multiple ways that you can do this, but the most obvious one is to hide additional information.

Furthermore, you can also hide information in WooCommerce products. This can be anything from attributes, descriptions, and other information to a product’s country of origin, materials, and production methods. There are many ways to display different product information to customers.


Some sellers might want to show more detailed product information to customers in a certain category, while others might want to highlight certain features of their products. Product information can be hidden from customers unless they do certain things. This is possible, no matter what.

How to hide additional information in WooCommerce

In this article, we are going to show you how to hide additional information in WooCommerce. This can be useful if you want to keep certain details private or if you just don't have a lot of space for additional data.

In order to hide additional information in WooCommerce, you can use either CSS or PHP. CSS is more straightforward, while PHP allows for more flexibility.

1. By CSS
2. By PHP
3. By Plugin


First I am going to discuss the PHP methods.

Follow these steps to hide the Additional Information Tab by PHP method:

If you want to hide extra information from WooCommerce users, you can use the PHP method. This simple technique takes only a few parts to complete and is most useful for hiding sensitive data.

Step 1:

Log into your WordPress site and access the Dashboard.

Step 2:

From the Dashboard menu,

Click on Appearance Menu >> Theme File Editor

Theme File Editor for Hide Additional Inform

Step 3:

On the Theme Editor page, look for the theme functions.php file and click on it.

 functions.php for Hide Additional Inform

Step 4:

Insert the following code at the bottom of the functions.php file:

add_filter( 'woocommerce_product_tabs', 'njengah_remove_product_tabs', 9999 );
  function njengah_remove_product_tabs( $tabs ) {
    unset( $tabs['additional_information'] );
    return $tabs;
}

set code on  functions.php

Step 5:

Don't forget to save your customization.

Click on the Update File button to save it. 

save code on  functions.php

Follow these steps to hide Additional Information Tab by CSS method:

You can use CSS to hide specific elements from view.
For example, you could hide the product page's title bar or the shopping cart button. To do this, add a style rule that states "display:none;" anywhere in the document where you want the element to disappear.
Note: This method is slightly more complicated than PHP; you'll need to know how to create stylesheets.

Step 1:

Navigate to Appearance >> Customize
This will show the WordPress theme customizer interface.

CSS set on Hide Additional Information

Step 2:

You will see your site’s live preview on the right side and theme customization options on the left panel.
Now scroll down until you find the Additional CSS tab option.

Additional CSS tab option for Hide Additional Information

Step 3:

Click on the Additional CSS tab.
When you click on the tab, a simple slide will show you a box where you can add your custom CSS.

simple box for Additional CSS tab

Step 4:

Insert the following CSS code into the box.

li.additional_information_tab {
    display: none !important;
}

set css on Additional CSS

Step 5:

When you are finished, click on the "Publish" button. You will find it at the top of the theme customization options panel.

saved css

Plugin Methods

YITH WooCommerce Tab Manager is a plugin that will help you hide additional information from shoppers in your WooCommerce shop. With this plugin, you can control which tabs are visible to shoppers and which data is shown on those tabs. This can be a great way to keep your shop more confidential or to keep specific information hidden from view for security reasons.

YITH WooCommerce Tab Manager plugin also offers other features, such as the ability to add custom tab titles and descriptions and the ability to customize the appearance of each tab. If you're interested in hiding additional information in your WooCommerce shop using this plugin, you need to buy it from this site.

YITH WooCommerce Tab Manager

Related Post

How to add a custom field to the WooCommerce checkout page programmatically?

Conclusion

In conclusion, there are many ways to hide additional information in WooCommerce, and the techniques you use will depend on your specific needs. Some of the most common include disabling third-party plugins, using a custom template, and using geotagging. The options are endless, so find what works best for you and your business. However, regardless of how you choose to hide your data, always make sure that it is safe and secure.


In my opinion, by using the PHP method, you can keep specific details about your products private and anonymous. Be creative and experiment with different methods to see which one works best for you.

Share This Article