Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ide poduct code from appearing under product title on store


Mark-UK

Recommended Posts

catalog/product_info.php

 

find:

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'];
}

 

replace with:

if (tep_not_null($product_info['products_model'])) {
  $products_name = $product_info['products_name'];
} else {
  $products_name = $product_info['products_name'];
}

 

That will allow you to keep the model in your admin, meta info, etc. but will remove the text from the customer's view.

Link to comment
Share on other sites

STS is just a template system. Obviously you aren't using it.

 

No catalog folder? Did you just put all the catalog contents in your root directory?

 

So it looks like you need to edit /public_html/product_info.php. If you find the code I mentioned above in that file you're looking in the right place.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...