Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What have I done to display "HEADING_TITLE"


Guest

Recommended Posts

Posted

Can anyone help me rectify the following issues that were created when I was messing around with site deisgn (I take full credit for being an idiot).

 

The default catalog homepage displays "HEADING_TITLE" where the welcome message used to be. Link below:

 

http://www.bonce.co.uk/catalog/default.php

 

in addition, if you go to one of the product/category pages that has no product listed you'll see another error in "TEXT_NO_PRODUCTS" Link below:

 

http://www.bonce.co.uk/catalog/default.php?cPath=43

 

Thanks in advance.

 

GW.

Posted

Upload catalog/includes/languages/english/default.php and these errors should miraculously disappear!!!

 

Piff paff poof abracadabra! :wink:

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

Thanks for the prompt reply.

 

I've uploaded as per your instructions but with no positive result. The code from the default PHP is below. Can you spot the problem? (apart from me) :oops:

 

<?php

/*

$Id: default.php,v 1.20 2003/02/14 12:51:58 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '');

define('TABLE_HEADING_NEW_PRODUCTS', '');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || ($HTTP_GET_VARS['manufacturers_id']) ) {

define('HEADING_TITLE', 'Let's See What We Have Here');

define('TABLE_HEADING_IMAGE', 'Category');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TEXT_ALL', 'All');

} elseif ($category_depth == 'top') {

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 '');

define('TEXT_NOW', '' now');

 

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Posted

Try this

 

<?php 

/* 

$Id: default.php,v 1.20 2003/02/14 12:51:58 dgw_ Exp $ 



osCommerce, Open Source E-Commerce Solutions 

http://www.oscommerce.com 



Copyright (c) 2003 osCommerce 



Released under the GNU General Public License 

*/ 



define('TEXT_MAIN', ''); 

define('TABLE_HEADING_NEW_PRODUCTS', ''); 

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); 

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); 



if ( ($category_depth == 'products') || ($HTTP_GET_VARS['manufacturers_id']) ) { 

define('HEADING_TITLE', 'Let's See What We Have Here'); 

define('TABLE_HEADING_IMAGE', 'Category'); 

define('TABLE_HEADING_MODEL', 'Model'); 

define('TABLE_HEADING_PRODUCTS', 'Product Name'); 

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); 

define('TABLE_HEADING_QUANTITY', 'Quantity'); 

define('TEXT_ALL', 'All'); 

define('TABLE_HEADING_PRICE', 'Price'); 

define('TABLE_HEADING_WEIGHT', 'Weight'); 

define('TABLE_HEADING_BUY_NOW', 'Buy Now'); 

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); 

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); 

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); 

define('TEXT_SHOW', '<b>Show:</b>'); 

define('TEXT_BUY', 'Buy 1 ''); 

define('TEXT_NOW', '' now'); 

} elseif ($category_depth == 'top') { 

define('HEADING_TITLE', 'Welcome'); 

} elseif ($category_depth == 'nested') { 

define('HEADING_TITLE', 'Categories'); 

} 

?>

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

In the kingdom of the blind :wink:

 

I can now concentrate on making other schoolboy errors. Very much appreciated :D

 

GW

Posted

Hey how did you know i was one eyed!!!??? lol

 

Now i know where to come for HUGE discounts on pc equipment :lol:

 

Well worth a try! 8)

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

If you don't ask you don't get :wink:

 

Just gotta figure out how to put both search options in a banner underneath the logo and get the categories and shopping cart boxes to sit flush with it. Can't seem to find that exact option anywhere in forum, wiki

 

I wish I'd never been pointed in the direction of Osc - I've started dreaming about it :shock:

 

All the best.

 

GW.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...