Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

editing breadcrumbs


Guest

Recommended Posts

Posted

When viewing the product_info.php page, at the end of the breadcrumbs comes up the model number.

Doesn't look so great.

How do I take that out or replace with the product name ?

Posted

In catalog/includes/product_info.php change:

 

    if (tep_not_null($product_info['products_model'])) {
     $products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>';
   } else {
     $products_name = $product_info['products_name'];
   }

 

to:

 

      $products_name = $product_info['products_name'];

 

Matti

  • 2 weeks later...
Posted

oops...

 

I forgot about this thread. Thanks for the reply.

 

Although didn't you mean catalog/product_info.php instead of includes/product_info.php ?

 

This fixed the product model number from showing in the page, but not in the breadcrumbs links. Any thoughts on that ?

 

I just want the product name to show up instead of the model number

 

Thanks

Posted

Awesome Ken !!

 

I didn't even think to look at the contributions

 

Thanks alot :P

Archived

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

×
×
  • Create New...