How to remove empty attributes “N/A” in Magento 2?

Just Override attributes.phtml file from Catalog module into your theme, Its working for Multilanguage store also.

Theme Path for attributes.phtml file,


Just keep line,

<?php if($_data[‘value’] == __( ‘N/A’)) continue;?>


<?php foreach ($_additional as $_data): ?> line,

Full code of attributes.phtml file,


Clear cache using php bin/magento cache:flush.

Magento 2 Basic Commands.

Magento 2 comes with multiple Commands by default,

For Install Extension in magento 2, You must to run command for install extension.

Run below command for install new extension,

Where Packagename_Modulename is your Extension Package and module name.