Jump to content

Prestashop Category Url


Recommended Posts

Does anyone know what is the form of PRESTASHOP's category URLs?


What if I want to use other parameters like pagination and number of products to get per request?


For instance, I need to get products under category_id = 33, page = 5, and 10 products per page?


I am hoping there is something similar to the URL of a product:

$productUrl = 'http://example.com/index.php?controller=product&id_product=' . $productId;

Thank you so much in advanced for any help. It is highly appreciated.


Link to comment
Share on other sites

Someone gave me this answer in another forum. I hope it helps others here:


The basic category URL is


In theory the variables n and p should control the number of products and the page number respectively, but I haven't been able to get them to work very well.


Depending on what you are doing, you may be able to use something like


in a template to generate a URL instead.

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