• Resolved vandehee

    (@vandehee)


    Hello,
    Do you now how I turn the description and related products off, or offline? I see this at my website under my products and I find that very ugly ,, I hope you can help me ..
    Great P.van de Hee

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Please use the below code,

    
    // remove product description from single product pages
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
    add_filter( 'woocommerce_product_tabs', 'ced_remove_description_tab', 11, 1 );
    function ced_remove_description_tab( $tabs ) {
        if ( isset( $tabs['description'] ) ) {
            unset( $tabs['description'] );
        }
    }
    
    //for related products from single page
    
    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );
    Thread Starter vandehee

    (@vandehee)

    Thank you,
    But i dont now how to do ?
    Do I have to do this with the theme editor? And where should I paste these codes?
    Greats P,van de Hee

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘description and related products delete’ is closed to new replies.