magento : display ‘no’ or ‘n/a’ when attribute is empty. | Techbirds

Problem: empty attribute should NOT be empty, but rather display “No” or “N/A”, depending on its type.
Solution:

Open the file /app/design/frontend/default/[theme name]/template/catalog/product/view/attribute.phtml

        

        

    

    

replace these lines with :

        

        

    

    

    

    

622 total views, 1 views today

Share this Onfacebook-4747572twitter-3759332linkedin-8034281google-5537276