• What Every New Zen Cart User Needs to Know RSS Feed


    CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be changed to  the name of the  template/language you are using.

    There are two options for adding additional links to the header and footer of your site.

    OPTION 1:

    Additional links requires editing two files; tpl_header.php and tpl_footer.php.
    You can add internal page links as well external links. We'll use tpl_header.php in this article, ...

    CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be changed to  the name of the  template/language you are using.

    These are called the breadcrumbs (think Hansel and Gretel ) showing where you are and how to get back to previous locations. You can either turn it off completely or you can turn it off only on the main page. Although this looks a little odd on your home page, they can very useful to your users as they go deeper into your site.

    You can turn them off completely in Admin -> Configuration -> Layout settings -> Define Breadcrumb Status and set to 0. In version 1.3.7 you have three options; off, on, turn off on home page only.


    CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be changed to  the name of the  template/language you are using.


    To change the “Sales Message Goes Here” or “Tagline Here” text to say what you want open the includes/languages/english/header.php file in your text editor. Find the following line of code:

    define('HEADER_SALES_TEXT', 'Tagline Here');>>

    Replace the tagline text with your own text, making sure that the single quote marks are not left out.

    Save the edited file to includes/languages/english/custom/header.php ...


    CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be changed to  the name of the  template/language you are using.

     By default Zen Cart uses header_bg.jpg for the name of this image, but you can use you own filename for the background image.

    Using an image editor, create a new background graphic and save it to includes/templates/CUSTOM/images/your_header_image.???.>>

    Now open your stylesheet.css and find or add the following code.

    #logoWrapper {>>
    width:760px;>>
    height:110px;>> ...


    Legend: CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be changed to  the name of the  template/language you are using.


    By default Zen Cart uses logo.gif for the name of this image, but you can use you own filename for the logo.

    Using an image editor, create your new logo and save it to includes/templates/CUSTOM/images/your_image_name.??? and upload it to your server.

    After creating your logo you can adjust the height, width and ...


    CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be changed to  the name of the  template/language you are using.

    If you don't want or need a logo, open includes/templates/template_default/common/ tpl_header.php find and comment out this line of code by adding “<!--” at the beginning, “-->” at the end and “//” between the words php and echo, as shown below.

    <!-- <div id="logo">
    <?php // echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' ...



    If you want to eliminate “Welcome Guest!” Would you like to log yourself in?” message completely, turn off the Customer Greeting in your Admin -> Configuration -> Layout settings -> Customer Greeting -> Show on Index Page and set to 0.

    If you want to replace this message with one of your own, start your text editor and open the includes/languages/ENGLISH/index.php file and locate these lines of code:

    ...

    CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be changed to  the name of the  template/language you are using.


    Copyright © 200X Zen Cart covers the design and graphics in the templates. If you are using a stock template with the included graphics you must leave the copyright.

    If you make a custom template and use your own graphics you may change the copyright as follows:

    Open the includes/languages/english.php file in your text editor.

    Find the following lines of code. We will be changing the text starting with “Copyright” and ending with the first “Zen Cart”.

    define('FOOTER_TEXT_BODY', ...


    If you want to turn your sideboxes on and off, or move them left and right, you do this from the Admin control panel in Admin -> Tools -> Layout boxes controller.

    Other files you would modify are located in includes/templates/template_default.

    Which file(s) you edit will depend on which page of your shop you want to customize. Working with these files is fairly easy since they are clearly marked with <!--bof whatever--> and <!--eof whatever-->. This makes moving sections of the file easy. After editing any of these files save them in your /CUSTOM folder.

    The most common file(s) to be customized are:

    Language Files

    • includes/languages/english.php
    • includes/languages/english/*.php
    • includes/languages/english/html_includes/*.php

    Template Files

    • includes/templates/ template_default /common/tpl_header.php>>
    • includes/templates/ template_default /common/tpl_footer.php>>
    • includes/templates/ template_default /common/tpl_main_page.php>>
    • ...

    Page 2 of 2 FirstFirst 12
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR