WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] disable/removing products descriptions (4 posts)

  1. gonchotorena
    Member
    Posted 1 year ago #

    Hello everybody!!

    I´ve got woocommerce and I have a doub. I wondered how I can remove or disable the description tab of a product. Because the short description is enough for me.

    Thank you very much and best regards from Spain!!

    http://wordpress.org/extend/plugins/woocommerce/

  2. mikejolley
    Member
    Plugin Author

    Posted 1 year ago #

    remove_action( 'woocommerce_product_tabs', 'woocommerce_product_description_tab', 10 );
    remove_action( 'woocommerce_product_tab_panels', 'woocommerce_product_description_panel', 10 );

    ^ add that code to your theme functions.php file.

  3. gonchotorena
    Member
    Posted 1 year ago #

    Thank you for your answer im going to try it.

    I have never change an archive php and i my new questions are:

    Where have i to paste this? At the begining or at the botton of the archive php?

    do i have to write somehing on the old codes or only i have to paste the new code?

    Finally i have to include this ^ too?

    Sorry if i ask for basic things jejeje

    Thank you!

  4. gonchotorena
    Member
    Posted 1 year ago #

    Ok

    I´ve tried and its works! I pasted this to the archive called woocommerce-functions.

    The problem that i´ve now it´s that the label called "Detail" doesn´t dissapear. Now what can I do?

    Thank you for you help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.