I managed to hide empty fields within the item.php template through checking whether the $extraField->value is empty or not; and it worked: <?php foreach ($this->item->extra_fields as $key=>$extraField):?><li...
More