Jump to content
xt:Commerce Community Forum

Artikelname Anstatt Artikelnummer In Navigation?


xmtx

Recommended Posts

Hallo,

habs rausgefunden :rock:

wen es interessiert:

in der datei:

includes/application_top.php


// add the products model to the breadcrumb trail

if (isset($_GET['products_id'])) {

 $model_query = xtc_db_query("select products_model from " . TABLE_PRODUCTS . " where products_id = '" . (int)$_GET['products_id'] . "'");

 $model = xtc_db_fetch_array($model_query);

 $breadcrumb->add($model['products_model'], xtc_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . (int)$_GET['products_id']));

}

ersetzen mit:

 // add the products model to the breadcrumb trail

  if (isset($_GET['products_id'])) {

  $model_query = xtc_db_query("select products_name from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$_GET['products_id'] . "'");

  $model = xtc_db_fetch_array($model_query);

  $breadcrumb->add($model['products_name'], xtc_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . (int)$_GET['products_id']));

 } 

gr?sse, mt

Link to comment
Share on other sites

Archived

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

×
  • Create New...