Jump to content

Add URL parameter to Module


poochinithedog

Recommended Posts

Hi,

I want to enrich the functionality of the default Manufacturers module by adding a sub-category to the manufacturer, which is simply a list of products from a category a manufacturer has products in.

 

ex:

website.com/12-manufacturer-name/15-lamps

 

I have already edited the default module, controller and views. everything works apart from "nice" rooting. 

I have made changes in the non-user-friendly URL :

website.com//index.php?id_manufacturer=12&controller=manufacturer&id_category=15

 

It works, but now i have no clue how to format into a nicely looking URL:

website.com/12-manufacturer-name/15-lamps

 

Thank you!

Link to comment
Share on other sites

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