In this chapter, we learned about hooks and how to register a module on them in a way to display the comments form on the front office. We also saw how to use the native
Db class of PrestaShop to register a customer's comments in the database. Finally, we talked a little about how to add new hooks and use dynamic hooks. In the next chapter, we will learn more about the
Context object and the useful methods available with it. We will improve the ergonomy on the front office and our module will become multilingual!