Skip to content
Woo Product Table
Woo Product Table

Woo Product Table

Revolution of WooCommerce

  • Home
  • Demos
  • Doc
    • Documentation
    • Video Tutorial
    • Plugin API
    • API – Filter & Action
  • Products
    • Min Max Quantity & Step Control
    • UltraAddons Elementor Lite
    • Post Classified for making Documentation
    • Add to Cart Text Changer
    • Astha WordPress Theme
  • Pricing
  • Support
  • Blog
  • Contact Us
GET PRODUCT TABLE

How to Hide Additional Information in WooCommerce

  • Home
  • Blog
  • How to Hide Additional Information in WooCommerce
hide additional information woocommerce
BlogBy Jakir Hossain

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.

Table of Contents

  • How to hide additional information in WooCommerce
  • Follow these steps to hide the Additional Information Tab by PHP method:
    • Step 1:
    • Step 2:
    • Step 3:
    • Step 4:
    • Step 5:
  • Follow these steps to hide Additional Information Tab by CSS method:
    • Step 1:
    • Step 2:
    • Step 3:
    • Step 4:
    • Step 5:
  • Plugin Methods
  • Conclusion

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.

Additional Information woocommerce wordpresss

Share

Post navigation

Previous: Top 10 Best WooCommerce Payment Gateways for WordPress [2022]
Code Astrology New Logo-07

Subscribe to our Newsletter

Resource
  • Affiliate Program
  • Affiliate Area
  • Video Tutorial
  • Blog & News
  • Supports
  • FAQ
Company
  • Our Service
  • Get Quote
  • Refund Policy
  • Support Policy
  • Privacy Policy
  • Terms of Service
Our Products
  • Product Table for WooCommerce
  • Min Max Quantity & Step Control
  • UltraAddons Elementor Lite
  • Quantity Plus Minus Button
  • Post Classified for making Documentation
  • Add to Cart Text Changer
  • Astha WordPress Theme
Facebook-f Twitter Linkedin Instagram Youtube
© 2022, Product Table from CodeAstrology. All Rights Reserved
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT