Jump to content

How to change footer title 'Categories' to 'Products'


Recommended Posts

make sure that you changed correct file.

if this file exists in theme directory - you have to modify it there.

 

in addition, in back office, while you're trying to translate modules, make sure that you selected your theme from second dropdown.

Link to comment
Share on other sites

I'm only using the default theme out of the box as it stands, and changing 'Categories' to 'Products' in translations still doesn't change anything (i've first used the drop down to select 'installed modules translation' and then for theme 'default bootstrap' then selecting 'english'). Even selecting 'core' as the template, it already reads 'products' but still it does not not show on the site.  

  • Like 1
Link to comment
Share on other sites

I've just managed to change it on the front of the site! (by choosing the Blockcategories_footer.tpl under >themes >modules in the server files, however, am i right in thinking i shouldn't be changing core files? Won't i lose such changes whenever i update prestashop? and i wonder why translations doesn't work) 

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

I have also tried a bunch of things and have had no success. I am not keen on changing tpl file because it seems just wrong, especially since the admin console says "Here you can modify translations for every line of text inside PrestaShop.". I'm in a bit of disbelief. I've cleared smarty cache and looked in most all of the different translation types. I'm befuddled. If someone has a recipe for doing this the right way, pls provide since the recommendation here is not working. 

Link to comment
Share on other sites

I did some digging into the directory structure and found a way of doing this. I'm not saying its the right way, but one that worked for me. I found in my themes/default-bootstrap/modules/blockcategories/translations an en.php and changed the first line from Categories to Products

 

$_MODULE['<{blockcategories}default-bootstrap>blockcategories_footer_af1b98adf7f686b84cd0b443e022b7a0'] = 'Products';

 

then I went into Advanced Parameters->Performance and clicked 'Clear Cache' in first Smarty section. 

 

this could backfire on me if this is a generated file from the admin tool but I feel its better than changing template. 

Link to comment
Share on other sites

×
×
  • Create New...