Jump to content

Show Categories and respective SubCategories on Page


MichaelMcG

Recommended Posts

Hi,

I'd like to have a Page on my site which could show the following:

Category 1
Sub-category
Sub-category

Category 2
Sub-category
Sub-category

Category 3
Sub-category
Sub-category


So basically repeat what's stored in the 'Categories' menu but on a Page.

Is this possible to show on one page of my PrestaShop site?



Many thanks

Link to comment
Share on other sites

  • 3 months later...

Hey,

Yep, I achieved this...in a way.

I think I eventually just added the 'Categories' block to the Page. I think this was done in the .phtml file itself but can't remember right now.

I can check when I'm in work on Monday / Tuesday if that's ok?


Thanks

Link to comment
Share on other sites

Hi All
I have written new file to show
Show Categories and respective SubCategories on Page

copy paste categorylisting.php in root folder
copy paste CategorylistingController.php in controller folder
copy paste categorylisting.tpl in themes at your themes folder (default themes->prestashop)

Modify css according to you need

just type www.yoursitename/categorylisting.php to get all category and their sub categorie listing

please find the attachment for all files

prestashop.zip

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

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