I want to change the label of Category text at the layered navigation.Want to change category Label text Category to Categories
here in the layered navigation but I cannot find where can I do this please help me.
Kindly see the screen shot
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityYou need change at getName function at class Mage_Catalog_Model_Layer_Filter_Category
public function getName()
{
return Mage::helper('catalog')->__('Category');
to
public function getName()
{
return Mage::helper('catalog')->__('Categories ');
}
For proper way you need to rewrite this model class.To Over write core model class refer this.
left.phtml
(Copy from the base folder file path [base_template]/catalog/navigation/left.phtml
) as in your current theme template
[current_theme_template]/catalog/navigation/left.phtml
and change the text echo $this->__('Category')
line number 44 as Categories
app/locale/en_US/Mage_Catalog.csv
line number 168 as categories. But this will change Category
as Categories
in all places.
theme/template/catalog/navigation/topnavigation.phtml
this displays the category navigation bar.<?php echo str_replace('Category', 'Categories', $this->__($_filter->getName())) ?>
inapp/design/frontend/package/theme/template/catalog/layer/view.phtml