Check out our Zen Cart Packages. Get Started Now!


Change the Page Name 2 etc. & Browser Bar/Breadcrumb Title

The More Information sidebox in zen cart is perfect for adding extra pages of content to your site. It is very useful because you can edit the content of the pages via the define pages editor in the zen cart admin. By default, it comes installed with generic page names, titles, etc. This tutorial will show you step by step how to customize this sidebox to use it for your custom content. This tutorial will use our free zen cart template Andover Modern as an example. You can download this template for free here.

Preparation

Go to your Admin -> Tools -> Layout Boxes Controller and activate the more_information.php sidebox.

more information Easy Help Zen Cart Tutorial™: How To Customize the More Information Sidebox

Change the Name of the Sidebox and the Names of the Sidebox Links

1. In your favorite plain text editor, open includes/languages/english.php. On or around line 147 find this code:

// information box text in sideboxes/more_information.php - were TUTORIAL_
define(
'BOX_HEADING_MORE_INFORMATION','More Information');
define(
'BOX_INFORMATION_PAGE_2', 'Page 2');
define(
'BOX_INFORMATION_PAGE_3', 'Page 3');
define(
'BOX_INFORMATION_PAGE_4', 'Page 4');

2. Change the text in green to your new text.

// information box text in sideboxes/more_information.php - were TUTORIAL_
define(
'BOX_HEADING_MORE_INFORMATION','Your Sidebox Heading');
define(
'BOX_INFORMATION_PAGE_2', 'Your Page Name');
define(
'BOX_INFORMATION_PAGE_3', 'Your Page Name');
define(
'BOX_INFORMATION_PAGE_4', 'Your Page Name');

3. Save the file to your template override directory, in this case includes/languages/andover_modern/english.php

***This is a php file and MUST be edited in a plain text editor. If you try to edit this file in any type of wysiwyg editor, the code will be corrupted and when you insert the file back into your zen cart it will break your entire site.***

more information 1 Easy Help Zen Cart Tutorial™: How To Customize the More Information Sidebox

Change the Page Name and Browser Bar/Breadcrumb Title

more information 3 Easy Help Zen Cart Tutorial™: How To Customize the More Information Sidebox

more information 2 Easy Help Zen Cart Tutorial™: How To Customize the More Information Sidebox

Open includes/languages/english/page_2.php. Find this code:

define('NAVBAR_TITLE', 'Page 2'');
define(
'HEADING_TITLE', 'Page 2');

4. Change the ‘Page 2′ to your page name.

define('NAVBAR_TITLE', 'Your page name'');
define(
'HEADING_TITLE', 'Your page name');

5. Save the file to your template override directory, in this case it is includes/languages/english/andover_modern/page_2.php

more information 4 Easy Help Zen Cart Tutorial™: How To Customize the More Information Sidebox

Add Your Text to the Page

6. Log into your zen cart admin and go to Admin -> Tools -> Define Pages Editor

define pages Easy Help Zen Cart Tutorial™: How To Customize the More Information Sidebox

7. Select define_page_2.php from the pull down menu.

define pages 3 Easy Help Zen Cart Tutorial™: How To Customize the More Information Sidebox

8. Enter your page content into the big box.

define pages 4 Easy Help Zen Cart Tutorial™: How To Customize the More Information Sidebox

You are all finished!

more information 5 Easy Help Zen Cart Tutorial™: How To Customize the More Information Sidebox

If you need help with your zen cart web site, please contact us for a quote.