This allow us to write cleaner code, without polluting the namespace like we had to do in version 1.4. Now let’s create our template files. The module API in Prestashop 1.4 (and before) used to be great. It was easy to understand and extremely straightforward. Then, we can concentrate on the other parts of our module. The new module API is more complete and allows for a better file organization. We’ll look at all that in detail by creating an actual module. Step 2: Creating the constructor Now that we have the essentials set up, let’s get started with the actual coding.