A Customer Callback Request Module
The last chapter provided us with the opportunity to reapply all the processes of the module folder and class creation, and to learn new knowledge, such as the use of the Smarty templating library and new display hooks. Even if it was a great first use-case example, we will now discover many new useful features with the creation of a new module: a customer callback request module, hooked in the footer of our FO pages. This module will present a customer details form, enabling a visitor to receive a callback from customer services. It will send an email to customer services whenever a request is sent and archive the requests in a BO controller presented as a paginated and filtered list.
We will follow this process to code our new module:
- Define our module design
- Create the module’s initial structure
- Implement the display hook and GDPR compliance
- Create the callback request entity
- Handle inserting a callback request...