Jump to content

How to change position of subcategories on Prestashop 1.7.6.1


Zana

Recommended Posts

Hi, I have created a shop which has six categories, all of which are displayed on the menu.

 

Each category has between 5-12 subcategories which are not displayed on the front office. I think this is due to the position of the subcategories which is 1 for nearly all of these. Does anyone know if this is the case and if yes how do i change the position number of the subcategories. 

I am not a developer at all!

Thank you for reading 

 

 

 

 

Link to comment
Share on other sites

you might need to try a little hardfix. Open controllers/front/Categorycontroller.php, fint public function initContent() and at the beginning add this

Category::regenerateEntireNtree();

Reload the page, clear cache, see if they appear. If they do, remove what you just added, if not you might need a developer to look into it and see why all of the positions are broken.

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...