6
The Themes
In previous chapters, we saw how the core of PrestaShop works and how it has evolved, as well as the added values of hooks. This will enable us to understand how modules will embed in the PrestaShop system. As modules can modify the graphical appearance of a shop, we need to understand what a PrestaShop theme is.
We will learn about themes by exploring these topics:
- Understanding what a theme is and its structure
- The FO Smarty templates
- The most used Smarty constants
- CSS/JS assets
By the end of this chapter, we will clearly understand what a theme is and where it has to be stored and structured. We will also know about the best constants and how assets are managed.
Technical requirements
As we will explore themes and their files, ...
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.