10

Category Extension Module

With the customer callback module, we learned about many important features of module creation, from the Symfony-based BO controllers and using the CQRS design pattern to entity creation, grid component creation, and form creation/handling. This was sometimes tough, but it was necessary to see all the possibilities offered by Symfony in PrestaShop.

In this chapter, we will create a new module, adding two localized fields and a file upload input to the category creation and edition modes of the Symfony form by using hooks, after which we will display their saved content. We will reuse some knowledge from previous modules and will look at new features in more detail.

We will cover the following topics to achieve

Get Practical Module Development for Prestashop 8 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.