magento : display ‘no’ or ‘n/a’ when attribute is empty. | Techbirds
Posted on: September 4, 2017 /
Categories: Mobile Applications
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 On