PoZel Posted January 17, 2004 Share Posted January 17, 2004 Firstly. this is the link http://www.pozel.co.uk/hotpack. It is pretty much my first osCommerce site. I am a webdesigner, and a semi competent coder. I want to create a good looking site, but don't mind OSC's default layout. These are a few changes I would like to start with. 1. I would like to change the color scheme. (is this image files, or an RGB html code?) 2. I will primarily be selling one product, so I want to have this on the front page, in a larger area than the current newly added products. 3. Larger area for a logo at the top of the page. Could I please ask that any advise be given in really simple terms. I would greatly appreciate it if all editing advice included the file that needed to be edited, and what text should be replaced with what. Thanks for any help you can provide. PoZel Link to comment Share on other sites More sharing options...
SunYe Posted January 17, 2004 Share Posted January 17, 2004 1. This contribution may be what you want -> Important help to change theme everybody who whants to change color, size, font, background can use this help. Indeed, I explain all details about the files "stylecss" which is the most important file to change aspect of your shop. I apologize for speaking so bad english. Hope you will be happy in reading this help. http://www.oscommerce.com/community/contributions,870 2. If you want to add one product by your hand in the homepage, . You can modify the description "define('TEXT_MAIN', 'This is ........"). You can see the default valuse also HTML format. You can write the HTML as you like. The new content will display in the homepage. Don't forget like the product detail to the productdetail page This is in catalog\includes\languages\english\index.php. 3. Want to modify the top of site. You can modify the header.php in catalog/includes directory. If you know some php should be better. You can only modify the HTML code. PHP is very simple and powerful script language. :) Fan of OSC system................. Comming From China............. Link to comment Share on other sites More sharing options...
PoZel Posted January 17, 2004 Author Share Posted January 17, 2004 Thanks for the info. Not sure what part of the css file must be changed in order to change the background of the wording on the site (for example behind the bar under the logo at the top of the page, and behind manufacturers, Categories etc.). It is currently grey. What needs to be changed to edit this? Link to comment Share on other sites More sharing options...
PoZel Posted January 17, 2004 Author Share Posted January 17, 2004 Also what do i have to change in order for the pages title to be something other than "osCommerce'? Link to comment Share on other sites More sharing options...
markchiu Posted January 17, 2004 Share Posted January 17, 2004 ;) i believe you can do it at english.php.....or index.php...can't remember.... OS-commerce is great, but with other magical contributions, that is just so "COOL"! Link to comment Share on other sites More sharing options...
PoZel Posted January 17, 2004 Author Share Posted January 17, 2004 ;) i believe you can do it at english.php.....or index.php...can't remember.... Thanks for the help, changed the page title. i need to know what file needs to be edited to center the logo at the top of the page. I have looked, but can't find it anywhere. Can you please tell me what file, and what part of the text to edit. Thanks for the help so far :rolleyes: Link to comment Share on other sites More sharing options...
Guest Posted January 17, 2004 Share Posted January 17, 2004 To centre the logo: In includes/header.php find: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'Oscommerce') . '</a>'; ?></td> change <td valign="middle"> to <td valign="middle" align="center"> To change the stylesheet: http://wiki.oscommerce.com/docsCatStyle Link to comment Share on other sites More sharing options...
PoZel Posted January 17, 2004 Author Share Posted January 17, 2004 thanks a lot, thats great. The sites coming on. As soon as the DNS servers update, it will be at: http://www.hot-pack.co.uk Will be back with more questions soon. Link to comment Share on other sites More sharing options...
PoZel Posted January 19, 2004 Author Share Posted January 19, 2004 Ok, a few more questions. 1) How do I remove the "What's nre here" text from the front page of the shop? 2) How do I remove the "new products for January" section, i do not want the items to appear. I do not want to remove other coding by mistake, so a sample of the text to be removed would be helpful. 30 Once i remove the "new products for [month]" section, I will add in the links in html, as I will only have 2 products to start. Is there a way that instead of doing this, I could change the coding in the January section, so that it shows all products that i have in my catalogue, not just the new ones? Thanks in advance, http://www.hot-pack.co.uk PoZel Link to comment Share on other sites More sharing options...
PoZel Posted January 19, 2004 Author Share Posted January 19, 2004 Also, is there anyway of adding a "collection' form of shipping, that excludes flat rate shipping, (but may have a different charge)???? Link to comment Share on other sites More sharing options...
PoZel Posted January 19, 2004 Author Share Posted January 19, 2004 Any help?? Link to comment Share on other sites More sharing options...
PoZel Posted January 19, 2004 Author Share Posted January 19, 2004 Please help some1 :rolleyes: Link to comment Share on other sites More sharing options...
PoZel Posted January 20, 2004 Author Share Posted January 20, 2004 Can anybody help??? Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2004 Share Posted January 20, 2004 Ok, a few more questions. 1) How do I remove the "What's nre here" text from the front page of the shop? 2) How do I remove the "new products for January" section, i do not want the items to appear. I do not want to remove other coding by mistake, so a sample of the text to be removed would be helpful. 30 Once i remove the "new products for [month]" section, I will add in the links in html, as I will only have 2 products to start. Is there a way that instead of doing this, I could change the coding in the January section, so that it shows all products that i have in my catalogue, not just the new ones? Thanks in advance, http://www.hot-pack.co.uk PoZel Probably the reason no one is answering is that these questions have been asked and answered a million times on here and sometimes people get frustrated at answering the same questions over and over again when a simple search would have provided the answer. I have personally answered these same questions several times in the last week. These questions are also answered in the wiki docs Still, I will answer them once agin. 1) To remove the text, go to catalog/includes/lanagues/english/default.php (or index.php depending on your version). Find the DEFINE statement that has 'What/s New Here'); at the end of it. Remove all the text within the apostrophes but leave the apostrophes there. If you want to replcve the text with something else, put your new text within the apostrophes. 2) To remove the entire section, go to catalog/default.php (See 1) and find <td><br><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> Change it to <td><br><?php // include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> As for your shipping issue - I'm not sure what you want to do. There is a COD on delivery option. You could just edit the text to say what you need it to say. Why would you be charging people to come and pick up their stuff? Link to comment Share on other sites More sharing options...
PoZel Posted January 20, 2004 Author Share Posted January 20, 2004 Ok, thanks so much for the help, I appreciate that this has been asked before, and would like to appologise. Anyway, thanks for all the help. Link to comment Share on other sites More sharing options...
yogidegr8 Posted January 20, 2004 Share Posted January 20, 2004 Also Don't forget to read this forum... I think this forum is most educative for using OSC. You will learn basic working of PHP. The posts in General Support are rich in information... B) Also there are people to support and help is fast. Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2004 Share Posted January 20, 2004 The best thing to do is edit the following files: index.php default.php Headr.php footer.php english.php All the info you want to change will be in these. Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2004 Share Posted January 20, 2004 For some ideas, check out my site. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.