|
Two weeks ago I documented a bug that affects the way attribute labels show up in frontend view within the layered navigation as well as on the product pages. All attributes does show up with their default labels only! In version 1.3 of Magento the issue is sill not solved. As this function is obviously needed to use Magento in production environments with multiple languages I found a working fix for that issue (only two minor changes):
1. to fix the labels on the product pages:
open app/code/core/Mage/Catalog/Block/Product/View/attributes.php and change line 52 to:
'label' => $this->__($attribute->getFrontend()->getLabel()),
2. to fix the labels used as filters in the layered navigation:
open app/design/frontend/default/default/template/catalog/layer/view.phtml and change line 44 to:
<dt><?php echo $this->__($_filter->getName()) ?></dt>
Have a nice day using magento with multiple languages
|