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!

PrestaShop Module Development
By :

PrestaShop Module Development
By:
Overview of this book
Table of Contents (19 chapters)
PrestaShop Module Development
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Creating a New Module
Hooks
Using Context and its Methods
Building Module Updates
Front Controllers, Object Models, and Overrides
Admin Controllers and Hooks
The Carrier Module
The Payment Module
Multistore
Security and Performance
Native Hooks
Index
Customer Reviews