You will need to edit the template file that compiles the All Products listing, AND the Language file for the all_products defines.
includes/templates/template_default/templates/tpl_products_all_default.php
FIND
PHP Code:
<?php
/**
* Page Template
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_products_all_default.php 2603 2005-12-19 20:22:08Z wilt $
*/
?>
<div class="centerColumn" id="allProductsDefault">
<h1 id="allProductsDefaultHeading"><?php echo HEADING_TITLE; ?></h1>
<?php
ADD MY BIT IN, AS SEEN:-
PHP Code:
<?php
/**
* Page Template
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_products_all_default.php 2603 2005-12-19 20:22:08Z wilt $
*/
?>
<div class="centerColumn" id="allProductsDefault">
<h1 id="allProductsDefaultHeading"><?php echo HEADING_TITLE; ?></h1>
<div id="allProductsMessage"><?php echo TEXT_ALL_PRODUCTS_MESSAGE; ?></div>
<?php
SAVE THIS NEW EDITED FILE TO:
includes/templates/YOUR_CUSTOM_TEMPLATE/templates/
Now... the Language File
includes/languages/english/products_all.php
FIND:-
PHP Code:
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004 The zen-cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | [email protected] so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// $Id: products_all.php 1969 2005-09-13 06:57:21Z drbyte $
//
define('NAVBAR_TITLE', 'All Products');
define('HEADING_TITLE', 'All Products');
define('TEXT_DATE_ADDED', 'Date Added:');
define('TEXT_MANUFACTURER', 'Manufacturer:');
define('TEXT_PRICE', 'Price:');
define('TEXT_PRODUCTS_MODEL','Model: ');
define('TEXT_PRODUCTS_WEIGHT','Weight: ');
define('TEXT_PRODUCTS_QUANTITY','In Stock: ');
define('TEXT_OUT_OF_STOCK','Out of Stock');
?>
ADD MY BIT IN, AS SEEN:-
PHP Code:
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004 The zen-cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | [email protected] so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// $Id: products_all.php 1969 2005-09-13 06:57:21Z drbyte $
//
define('NAVBAR_TITLE', 'All Products');
define('HEADING_TITLE', 'All Products');
define('TEXT_DATE_ADDED', 'Date Added:');
define('TEXT_MANUFACTURER', 'Manufacturer:');
define('TEXT_PRICE', 'Price:');
define('TEXT_PRODUCTS_MODEL','Model: ');
define('TEXT_PRODUCTS_WEIGHT','Weight: ');
define('TEXT_PRODUCTS_QUANTITY','In Stock: ');
define('TEXT_OUT_OF_STOCK','Out of Stock');
define{'TEXT_ALL_PRODUCTS_MESSAGE','This is my special message that I would like to appear on All Products Listing Page');
?>
SAVE THIS NEW EDITED FILE TO:
includes/languages/english/YOUR_CUSTOM_TEMPLATE/