I seem to be having trouble getting this to work for me. I’ve added the above code to my child theme functions.php, but I can’t seem to disable this %$^$#$$ gallery! I’ve successfully eliminated some unnecessary tabs by adding the following, but cannot get the gallery slider to go away. Basically, I want all the product gallery images to be displayed all at once. Thanks in advance.
// add_filter( ‘woocommerce_product_tabs’, ‘bbloomer_remove_product_tabs’, 98 );
add_action( ‘woocommerce_after_single_product_summary’, ‘comments_template’, 50 );
add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_product_tabs’, 98 );
function woo_remove_product_tabs( $tabs ) {
// unset( $tabs[‘description’] ); // Remove the description tab
unset( $tabs[‘reviews’] ); // Remove the reviews tab
unset( $tabs[‘additional_information’] ); // Remove the additional information tab
return $tabs;
}