Zen Cart How To Add Extra Links To The Header/Footer – Part One

This is the first of a two part Zen Cart Easy Help Tutorial which will teach you how to add extra links to your header, and/or footer. When attempting to add extra links to your header or footer, there are two ways to go about doing it. We will go over the first of these in this zen cart tutorial.

The first of these options requires you to edit two files; tpl_header.php and tpl_footer.php.
You can add internal page links, and/or external links as you desire.

To add a link to an internal page of your zen cart, open includes -> templates -> template_default -> common -> tpl_header.php in your favorite plain text editor. If you want to add a link to your footer, just open includes -> templates -> template_default -> common -> tpl_footer.php instead.

First, find the following code:

<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
<ul class="back">
<li><?php echo '<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>

Add this code under the last line in the code above:

<?php if (DEFINE_CONTACT_US_STATUS <= 1) { ?>
    <li><?php echo '<a href="YOURLINKHERE.COM' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>'; ?></li>
  <?php } ?>

Then replace the ‘YOURLINKHERE.COM’ with your link.

Save the modified file to includes -> templates -> CUSTOM -> common -> tpl_header.php and upload it to your server.

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

At Picaflor Azul, we specialize in custom designed responsive zen carts to fit any business, and accommodate any budget. Contact us today about converting your current zen cart to a responsive design, or to have a fantastic new custom design custom tailored to fit your needs and preferences. Now that more and more people shop online from their mobile devices(smart phones, ipads, etc.), mobile friendly websites are more important than ever to convert customers, and increase sales. We can also offer you help with module installation, wordpress integration, or a full zen cart upgrade.

zen cart plus picaflor azul equals success