Skip to content

Instantly share code, notes, and snippets.

@iftee
Last active July 4, 2021 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iftee/cb564d26cf03ba6c8330 to your computer and use it in GitHub Desktop.
Save iftee/cb564d26cf03ba6c8330 to your computer and use it in GitHub Desktop.
PrestaShop Custom Page without CMS - Custom Page File
<?php
/* Create a custom page in PrestaShop without CMS - Custom Page File
* Read the detailed tutorial at https://www.linkedin.com/pulse/prestashop-how-create-custom-page-without-cms-iftakhar-hasan/
*/
include(dirname(__FILE__).'/config/config.inc.php');
Tools::displayFileAsDeprecated();
include(dirname(__FILE__).'/header.php');
$smarty->display(_PS_THEME_DIR_.'custom-page.tpl');
include(dirname(__FILE__).'/footer.php');
@jogendra-yadav
Copy link

Nothing is working for me. i followed the same method which is mentioned in the following blog,
but i am not able to open my page, with the following url [xyz.com/index.php?page=custom-page], please help me, what can be the cause??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment