Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

item name not showing


Guest

Recommended Posts

on the top navigation links,

 

My Store >> Category >> Item Name ............... Log Out | My Account | Shopping Cart | Checkout

 

item name isn't showing up. how can i make it show?

Link to comment
Share on other sites

Look in catalog\includes\application_top.php It is the breadcrumb trail class to set up for it. So there is something like this to show the products model (I think with the default core)

 

// add the products model to the breadcrumb trail
 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']));
   }
 }

 

Of course you could check for products_id and setup whichever products field you want with the trail.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...