Hi,
That tab is supposed to be removed automatically already if it is empty.
The tab content is generated with this code in the show_tabular view file:
$this->setLayout('show_block_dimensions');
$specif_tab_content = trim($this->loadTemplate());
if(!empty($this->fields)){
$this->setLayout('show_block_custom_main');
$specif_tab_content = trim($this->loadTemplate()) . $specif_tab_content;
}
And then, it only displays the tab if the content is not empty.
And so, the content depends on the view files show_block_dimensions and show_block_custom_main
And both of them are coded in a way that doesn't output any HTML if they have nothing to display.
So, what all that means is that either in show_tabular, or in show_block_dimensions, or in show_block_custom_main you must have modifications which made the HTML of the specifications tab not empty even though nothing is rendered by the browser.