Mark-UK Posted October 5, 2005 Share Posted October 5, 2005 How can I stop my product code appearing under the product title please on its page. thanks Link to comment Share on other sites More sharing options...
jasper98 Posted October 6, 2005 Share Posted October 6, 2005 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 More sharing options...
Mark-UK Posted October 7, 2005 Author Share Posted October 7, 2005 I always have trouble finding right file, i have a product_info.php in the pulic.html folder, theres a fwe product_info.php files which one is it please, can someone show me teh filepath thanks. Link to comment Share on other sites More sharing options...
jasper98 Posted October 7, 2005 Share Posted October 7, 2005 You need to edit mysite.com/catalog/product_info.php. If you are using a template with STS you probably need to remove the $productmodel from your product_info.php.html file. Link to comment Share on other sites More sharing options...
Mark-UK Posted October 7, 2005 Author Share Posted October 7, 2005 tHANKS BUT WHATS STS, IM USING A TEMPLATE WITH OSCOMMERCE YES. i DONT HAVE CATOLOG FOLDER JUST PUBLIC_HTML. THANKS Link to comment Share on other sites More sharing options...
jasper98 Posted October 7, 2005 Share Posted October 7, 2005 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.