Summary

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!

Get PrestaShop Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.