Jump to content

How to display a certain number of subcategories?


InMix

Recommended Posts

Hello dear specialists of prestashop,

It is necessary to make a listing (pagination) of subcategories on the category page.

Example:
The parent category TILES has many subcategories - tile collections (4000+)

According to this instruction I brought out the subcategories, and now if you go to the TILE category, all subcategories are shown (displayed) in it at once on one page.

Question:
How to display 50 subcategories on 1 page, 50 more on the second page, and so on (pagination of subcategories, just as it is done with products)?

I've been looking for a solution for many days, but I just can't find it ... (

On another forum I was told that I need to override the Category controller and take ProductSearchQuery as an example, but unfortunately I'm weak in php and don't really understand what exactly needs to be done ...

Help please, tell me how to do it right?

Prestashop 1.7.6.7 + standard theme

Thanks in advance

scr-min.png

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