Hi Bert,
I’m not sure which tab you’re talking about, but it is most likely a WooCommerce default tab and not something added by our plugin. Could you provide a URL for a variable product so we can check it out?
Thanks,
Kevin.
Hi Kevin,
It’s a woocommerce tab “Additional Information”.
The instruction on https://docs.woocommerce.com/document/editing-product-data-tabs/ didn’t work.
What worked was to change the sequence of that instruction. First the function. Secondly the filter:
// Remove the additional information tab
function woo_remove_product_tabs( $tabs ) {
unset( $tabs[‘additional_information’] );
return $tabs;
}
add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_product_tabs’, 98 );
It works nicely, combined with the reordering as described in te before mentioned woocommerce page.
Tip: put it in your knowledge base 😉
Best regards
Bert