PRO Members Only
This video requires a PRO membership. You can upgrade your account to a PRO membership at anytime.
Tutorial Notes
This tutorial expands upon our basic HTML form that we built in the previous tutorial. We will look at how to handled POST data in our OpenCart controller and how to manage application state by using the database.
Controller File
- How to detect POST data.
- Saving POST data into the OpenCart database.
- Using prebuilt OpenCart models.
- Correct application flow using redirects.
Language File
- Adding additional entries to your language file.
View Templates
- Writing HTML forms linked with module controllers.
Outcome
At the completion of this tutorial our basic OpenCart module is almost complete. We can now save data from our template form into the database and retrieve the data as required.
Download module files