Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing manufacturer header


peuge

Recommended Posts

Posted

So I am using this funtion to get the manufacturers name:

function tep_get_manufacturers_name($manufacturers_id) {

  global $languages_id;



  $manufacturer_query = tep_db_query("select manufacturers_name from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . $manufacturers_id . "'");

  $manufacturer = tep_db_fetch_array($manufacturer_query);



  return $manufacturer['manufacturers_name'];

}

 

And then I use this in index.php in my includes/languages/english:

 

define('HEADING_TITLE', tep_get_manufacturers_name($current_manufacturers_id));

 

This does not work? I also have a function to get categorie names which works fine, but when I try this one (on its own just to see if it works) it does not work?

Any help please?

Archived

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

×
×
  • Create New...