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?
Hey Pixel_Production,
Here is a thread for you to consider
If you need further assistance please let us know.
Best regards,
Victoria
Hey Victoria,
this thread says to use the same command I’m using. So it doesn’t work. Or am Imissing something?
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
Thanks Dude, this snippet worked. :)
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