Jump to content

[solved] Best way to pass parameters to controllers?


stratboy

Recommended Posts

Hi. I've got to pass a different ID to a controller, based on the previously clicked link. So the next controller can do queries based on the passed ID. I can add it to urlvars, so the link looks like this:

 

http://mydomain.com/...&id={$data->id}

 

Since I'm new to prestashop, I wanted to know if it's the right way to do it or maybe if there are better/official ways or best practices.

 

Thank you

Edited by stratboy (see edit history)
Link to comment
Share on other sites

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