How can hide not Available attribute




Dear friend it is very simple to hide No or NA  , from attribute field,just follow the below path: app/design/frontend/default/[Your Theme]/template/catalog/product/view/attributes.phtml

 And add below code :

<?php foreach ($_additional as $_data):
// Add these 2 lines
$_test_data_value = trim($_data['value']);
if ((empty($_test_data_value) || in_array($_test_data_value, array(Mage::helper('catalog')->__('N/A'), Mage::helper('catalog')->__('No'))))) continue;?>


Previous
Next Post »
Thanks for your comment