newtech Posted June 26, 2007 Share Posted June 26, 2007 How can I make it so that the model # does not appear below the product title in the product page? Link to comment Share on other sites More sharing options...
Iggy Posted June 26, 2007 Share Posted June 26, 2007 How can I make it so that the model # does not appear below the product title in the product page? Around line 83 of product_info.php you should 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']; } ?> Just comment out the lines that generate the model number on the page like this // Uncomment below to restore model number // 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']; // } ?> Hope that's helpful, Iggy Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
newtech Posted June 26, 2007 Author Share Posted June 26, 2007 Thanks for pointing me in the right direction. Your directions would be to remove the produtct title and model #. I just wanted to remove the model #. So the following is how to do this. Around line 83 of product_info.php you should 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']; } ?> Change to: $products_name = $product_info['products_name']; Link to comment Share on other sites More sharing options...
Iggy Posted June 26, 2007 Share Posted June 26, 2007 Thanks for pointing me in the right direction. Your directions would be to remove the produtct title and model #. I just wanted to remove the model #. So the following is how to do this. Shouldn't. Commenting out the lines in question is basically the same as what you describe and leaves you the option to easily restore that function if need be. Iggy Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.