Margo Posted February 5, 2004 Share Posted February 5, 2004 This is my first oscommerce site and I have a pretty basic question: The products in my DB all have the same product model as product name. When you go to a product page, it lists them both at the top. ex. DG-100KG[DG-100KG] Where can I change this so that just the name appears without the model (or visa versa)? http://www.gaugemarket.com//product_info.p...d9c4674dc8ff3ee Thanks! Link to comment Share on other sites More sharing options...
Guest Posted February 6, 2004 Share Posted February 6, 2004 In product_info.php change this line: ? ?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 Link to comment Share on other sites More sharing options...
Margo Posted February 6, 2004 Author Share Posted February 6, 2004 Where is this file located? Thanks. Link to comment Share on other sites More sharing options...
Margo Posted February 6, 2004 Author Share Posted February 6, 2004 Matti, Hey, I found it. templates/content/index_products.tpl.php It did the trick. No model showing up any more. Thanks! Link to comment Share on other sites More sharing options...
Margo Posted February 6, 2004 Author Share Posted February 6, 2004 Sorry, the file I changed was: templates/content/product_info.tpl.php Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.