Jump to content

Change categories block title in the left column to show parent category of selected category


ksinghal

Recommended Posts

Hi,

 

I have added categories block to the left column of my website. The title (i.e. heading) of this block always displays the name of currently selected category. I need to change this title to display the name of parent category of this selected category.

 

I have tried to look into 'blockcategories.tpl', but did not find any solution there.

 

I think there must be some tweak in 'hookLeftColumn' method of 'blockcategories.php', but could not understand the changes that need to be done there.

 

Need urgent help in this matter.

 

Note: I am using Prestashop 1.6 and default categories block.

 

Thanks in advance.

Edited by ksinghal (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...