Technology Insights

How to Add a New Define Pages Page to the Information SideBox in ZenCart

This article describes how to add a link to the Information sidebox that links to a new page in the defined pages section. You will be required to create files, modify files, and insert SQL code into the MySQL database.

In the instructions below yourpage or YOURPAGE is the title of the page you are adding. For instance if you wanted to add one called technology you would replace YOURPAGE and yourpage with technology and TECHNOLOGY. The actual file would be technology.php.

1. Modify File:

Modify the following file <zencart-root>/includes/filenames.php by adding the following two lines of code:


  1. define('FILENAME_DEFINE_YOURPAGE', 'define_yourpage');
  2. define('FILENAME_YOURPAGE', 'yourpage');



  1. define('FILENAME_DEFINE_PRIVACY', 'define_privacy');
  2. define('FILENAME_PRIVACY, 'privacy');