Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #989665

    Hi there.

    I’m trying to remove the data tabs on the single product page.

    I tried
    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );

    after I saw that Enfold changes the default priority (10), but the tabs won’t get removed.

    Any idea?

    #989797

    Hey Pixel_Production,

    Here is a thread for you to consider

    How to remove "woocommerce_after_single_product_summary" action

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #989801

    Hey Victoria,

    this thread says to use the same command I’m using. So it doesn’t work. Or am Imissing something?

    #989818

    Hi,

    Please try this code – add it to the child theme functions.php:

    
    add_action( 'init', 'after_enfold_theme_setup' );
    
    function after_enfold_theme_setup() {
    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );
    }
    

    Best regards,
    Dude

    #990116

    Thanks Dude, this snippet worked. :)

    #990436

    Hi,

    Glad we could help!

    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    Don’t forget to bookmark Enfold Documentation for future reference.

    Thank you for using Enfold :)

    Best regards,
    Basilis

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.