Jump to content

Show cms category subcategories cms pages in Prestashop


Recommended Posts



I didn't find a solution (not even similar) to my problem so I created a new topic.

My problem is: I don't know how to show my category's subcategory's pages.

This is how my cms tree looks like:

CMS: Home/Categories -> myCategory (id->4) - > mySubcategory1 (id->5) -> mySubcategory1_pages -> content

                                                                                        mySubcategory2 (id->6) -> mySubcategory2_pages -> content

I want when I go to myCategory webpage show my mySubcategory1|2_pages and the content of them.

I am here so far:

{if $cms_category->id==4}

       {var_dump($sub_category)} -> this shows my the array when given my subcategories names, ids but no deeper for example pages, content of the pages etc.



I hope somebody can help me.

Thank you!

Share this post

Link to post
Share on other sites

  • 4 weeks 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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More