Jump to content

pass value from controller to module


Recommended Posts

Hello I creating my module. I want to create form using helper class.

Form is creating in mymudule.php file. Now I want to pass some data to that form. Data I'm need is in current controller.

Is there any way to pass data from controller to module ? I dont want to use session or cookie because there will be array o data.

I want to get order shipping data and order total payment. Can and how i use context to set value in controller and then get that data inside of my module file ?


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