Jump to content

Add custom route parameters to manufacturer


Prestadrishop

Recommended Posts

Hi,

 

I'm trying during several hours how to add an optional parameter to my manufacturer route because I would have this kind of URL in my shop :

 

http://www.myshop.com/brand/1-mybrand/?id_category=12

 

Currently when I enter this url, it returns me 404 error.

 

I have this in my SEO & URLs : 

brand/{id}-{rewrite}

I would like to have

brand/{id}-{rewrite}{/:selected_filters}

Like the blocklayered module route. I would like to get selected_filters param in my ManufacturerController.

I'm on Prestashop 1.6.

 

 

Have you any idea how to achieve this ?

 

Thank you in advance.

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