djavet Posted December 19, 2003 Share Posted December 19, 2003 Hello, I wish to have the product name instead of the model in the menu path: Haut ? Catalogue ? Asie ? Divers ? orch00509 Is that possible? I can't find where I must change this! Many thx for your time and help, Dominique Link to comment Share on other sites More sharing options...
ElWhite Posted April 23, 2004 Share Posted April 23, 2004 Sorry, me this question interests too. Say please, you have already found on it answer? Motherland - Eternity Link to comment Share on other sites More sharing options...
djavet Posted April 23, 2004 Author Share Posted April 23, 2004 Hello, Yop, check this: -> http://www.orchidarium.ch/dev/catalog/prod...roducts_id=2485 In the file "application_top.php" find around line 527: $breadcrumb->add($model['products_model'], tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . $HTTP_GET_VARS['products_id'])); and replace with: $breadcrumb->add($model['products_name'], tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . $HTTP_GET_VARS['products_id'])); Not that we change the product_model into product_name only. Hope that willl help, fo me yes :P See ya, Dom Link to comment Share on other sites More sharing options...
TrymBeast Posted April 27, 2004 Share Posted April 27, 2004 you have to change the file includes/application_top.php around the line 489 from this: if (isset($HTTP_GET_VARS['products_id'])) { $model_query = tep_db_query("select products_model from " . TABLE_PRODUCTS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'"); if (tep_db_num_rows($model_query)) { $model = tep_db_fetch_array($model_query); $breadcrumb->add($model['products_model'], tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . $HTTP_GET_VARS['products_id'])); } } to this: if (isset($HTTP_GET_VARS['products_id'])) { $name_query = tep_db_query("select products_name from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'"); if (tep_db_num_rows($name_query)) { $name = tep_db_fetch_array($name_query); $breadcrumb->add($name['products_name'], tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . $HTTP_GET_VARS['products_id'])); } } Portuguese Metalian Forces Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.