Jump to content

BlockTopMenu : Change home button URL


Recommended Posts

Thanks for your reply.

 

But in fact, I renamed the HOME button to 'all products', so on hover it displays the shop categories. And i wanted it to redirect to the all products page on click.

 

If i add a custom category (like in the video you showed me) named 'all product', I'll have to add every product in this category.

And this is not optimal.

So I need to change the default home button URL directly.

 

 

I hope you get what I mean, I'm not sure of my english.

 

Thanks anyway ;)

Link to comment
Share on other sites

Post closed. Finally found a solution.

 

For those who might be interested.

 

inside blocktopmenu.php :

in function generateCategoriesMenu, test if $category['id_category'] == the ID that match the one you need (for me it was 2).

 

You can close this topic.

Edited by Rondelle (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...