CustomSoftwareUK Posted August 8, 2006 Share Posted August 8, 2006 Hi Searched this forum high and low and cant find the answer. When search results return from the index page of my site, I have been able to sort the order they are displayed, e.g. Image, Product Name, Model, Weight, Buy now etc which were set up from the Admin page. What file contains the headers Product Name, Model, Weight etc so I can change them to something else e.g. Product Name to Title or Weight to Reference. I have already changed the table structure using myphpadmin, I'm just looking to change headers for cosmetic purposes. Thank you guys Lee Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted August 8, 2006 Share Posted August 8, 2006 If it's just cosmetic you should be able to do it in the css pageHeading at the end of the day the code will be good Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted August 8, 2006 Share Posted August 8, 2006 If it's just cosmetic you should be able to do it in the css pageHeading at the end of the day the code will be good Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted August 8, 2006 Share Posted August 8, 2006 If it's just cosmetic you should be able to do it in the css pageHeading It shuld be line 160 or so I change my CSS a bit as well but look for TD.pageHeading, DIV.pageHeading { at the end of the day the code will be good Link to comment Share on other sites More sharing options...
CustomSoftwareUK Posted August 8, 2006 Author Share Posted August 8, 2006 Hi MoisesZaragoza Managed to find it now. That's the only thing with oscommerce it's not very clear where everything is. I have bought two books which were very useful. Anyway, for others doing a search in the forum I found what I was looking for in the following file: Catalog\includes\languages\english\advanced_search.php I changed some of the code and now it works fine define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); Thank you for your post and suggestion Lee Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted August 8, 2006 Share Posted August 8, 2006 Ok you are going to leave that alone. you are going to look for a file called "stylesheet.css" and then look for TD.pageHeading, DIV.pageHeading { you can make your text bolder or ant way you want to change your heding } at the end of the day the code will be good Link to comment Share on other sites More sharing options...
squeekit Posted August 13, 2006 Share Posted August 13, 2006 Ok you are going to leave that alone. you are going to look for a file called "stylesheet.css" and then look for TD.pageHeading, DIV.pageHeading { you can make your text bolder or ant way you want to change your heding } MoisesZaragoza, You have completely misunderstood what CustomSoftwareUK was asking and in turn submitted. When CustomSoftwareUK stated "just looking to change headers for cosmetic purposes" he was not refering to cosmetic stylings - he merely meant he wanted to change certain text that appears in the osC that didn't involve any of the osC functionality. CustomSoftwareUK solution is 100% valid - but your responses might throw some readers off and they should know that they have nothing to do with what CustomSoftwareUK is discussing. CustomSoftwareUK, and any other readers - a neat little PHP'ing tip > since most (the better) PHP scripts tend to be so modular (seperation of functions, names, data, etc.) in nature, a super help is a handy FIND application that searches text of designated file-types in designated folders and optionally the sub-folders. (usually such is within an 'advanced find and replace' app). Of course I refer to such use locally and not online - well, you shouldn't really be "test tweaking" the live online shop anyway. Do your modifications locally first - then when their good go live. But, anywho, with such an app (locally) you could have found those values with just a few clicks - as well, you can pretty much find anything with just a few clicks. Link to comment Share on other sites More sharing options...
CustomSoftwareUK Posted August 14, 2006 Author Share Posted August 14, 2006 Hi sqeekit Yes, you were right. My problem has now been solved. Lee Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.