Manual for Opencart 2.3

In Opencart (ocStore), the product "Description" tab is displayed even when there is no description.

Hide this tab if the product description is not filled in the admin panel:

In the file: catalog/view/theme/ваша тема/template/product/product.tpl

Find

<a href="#tab-description" data-toggle="tab"><?php echo $tab_description; ?></a>

Replace with

<?php $desc = strip_tags($description); ?>
<?php $descr = trim(str_replace(' ', '', $desc)); ?>
<?php if (iconv_strlen($descr,'UTF-8') > 0) { ?>
<a href="#tab-description"><?php echo $tab_description; ?></a>
<?php } ?>

Also find

<div class="tab-pane active" id="tab-description"><?php echo $description; ?></div>

And replace

<?php if (iconv_strlen($descr,'UTF-8') > 0) { ?>
<div class="tab-pane active" id="tab-description"><?php echo $description; ?></div>
<?php } ?>

In result: if the description is - the tab is showed, if the description is absent - tab is not display.