The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Removing the reviews tab (9 posts)

  1. virtue_fan1
    Posted 2 years ago #

    Hi everyone,

    Could you please tell me how do I remove the reviews tab from the product's page?

    I don't know how to use code snippets exactly:

    also, could you tell me how do I add the additional details content to be displayed in the description tab? (right after the short description)

    Thank you:)


  2. lorro
    Posted 2 years ago #

    Q1. You don't need to use a code snippet to hide the Review tab. Just go to the product page, Product data section, Advanced tab, and uncheck the Enable reviews box.

    Q2. To add code snippets, first make a child theme. This is so that if your theme is updated your customisations are not lost. Next, make a file called functions.php in your child theme's directory. Put your selected code snippets in there. Be sure to start the file with <?php The functions.php you just made is executed before and in addition to the functions.php in the template theme.

  3. mungle
    Posted 2 years ago #

    "lorro" is right... follow his guidelines.

    Anyway, I would like to use woocommerce just as a catalog showcase at the moment without sell anything so: how to remove / hide tabs also in the backend? I would like to be able to see just the attribute tab...

    PS: I know there is http://www.woothemes.com/products/catalog-visibility-options/ but it doesn't hide backend tabs... and it is expensive for me at the moment... :-(

    Thank you!

  4. virtue_fan1
    Posted 2 years ago #

    Could you give me a direction as to how I can add the attributes data right after the short description, in the short description tab?

    And you were right about the reviews tab, much easier solution, thank you so much!:)

  5. mungle
    Posted 2 years ago #

    Found a solution to remove product data tabs in backend:

    Install this plugin: http://wordpress.org/plugins/add-admin-css (or something similar)

    Add these css: .general_options {display:none !important;}

    With that rule you can hide the general price tab.
    If you need to remove others tabs just add separated by , these classes:

    .general_options, .inventory_options, .shipping_options, .advanced_options, .linked_product_options, .attribute_options, .advanced_options  {display:none !important;} `

    (all af these classes remove all tabs... so write only tabs you want to delete!!!)

  6. virtue_fan1
    Posted 2 years ago #

    Where should I post my question on how to add the additional information tab content (which is the attributs' data) into the short description tab?

    Thank you

  7. mungle
    Posted 2 years ago #

    You need to copy the files which display your product from woocommerce plugin folder to your theme folder and customize them... You just need to place the attribute php strings in your description file...
    But that require some knowledge...

  8. lorro
    Posted 2 years ago #

    This forum is the most relevant.

    You can look for a plugin.

    Otherwise, the solution will involve making a modified page template by rewriting the PHP code. Its really a code development project. You may have to post a job.

  9. virtue_fan1
    Posted 2 years ago #

    Could you please give me some direction as to how I should do this?

    I thought it should be something like mungle described.

    I am not an expert on php, but it seems to me that I just have to find the correct file and paste the necessary code to show the attribute's information.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic