Create custom page in Prestashop


ust create a controller with the name you want for the page, and put it in /classes/front/. The name of the controller must be NameyouwantforthepageController.php

Here is a basic class that will work:

Take a look at the FrontController to see what method you need to override to add functionnalities, for example setMedia() to add CSS / JS files.

You will then be able to add a pretty url in the back office in the SEO panel.

Author: bm on January 10, 2014
Category: prestashop

Your comment:

Your Name


Last articles