Tag: design
-
Customising Prestashop Module Templates
Please don’t edit those originals! I came across this little gem a while ago on the Prestashop forum, and thought I would draw attention to it in the hopes that it will help someone, somewhere. I’m not one to complain, but my pet hate is folks who edit the original source files on their stores,…
-
Writing your own Prestashop Module – Part 4
Form Validation and Security Introduction While being sufficiently functional for what it does, the module we created in Part 2 does present us with some issues to consider when implementing “real world” modules to extend Prestashop. In particular the user input we captured with our form was written directly to the configuration entry without any…
-
Writing your own Prestashop Module – Part 3
Storing Module Configuration Introduction In the third part of this series we’ll look at how we can store configuration data for our modules in the Prestashop database, and how we can allow users to interact with this data to control the module’s behaviour. We will also briefly touch on how we can generate output from…
-
Writing your own Prestashop Module – Part 2
Creating a basic module Introduction In this second part of the series we will look at creating our first basic Prestashop module that can be controlled from the Back Office. The Module class Similar to the ObjectModel base class, all Prestashop modules are extended from a common base class used to define their basic functionality.…
-
Writing your own PrestaShop Module – Part 1
So you want to write a module? Introduction There has always been a little bit of Voodoo associated Prestashop modules. This has been mainly down to a lack of documentation available, but never fear — this series of tutorials aim to introduce module writing to the PHP programming masses. This series will look at building…