rnvst Posted July 11, 2005 Share Posted July 11, 2005 Hello All, My question is, is it possible to merge the shopping cart to my web site or should i place my web site in the shopping cart. Either way, which file(s) do i need to modify? Thanks Link to comment Share on other sites More sharing options...
BGSoyCandle Posted July 11, 2005 Share Posted July 11, 2005 This is one of my questions as well. I'm searching the forum to try to find the answer. Joyce Link to comment Share on other sites More sharing options...
wizardsandwars Posted July 11, 2005 Share Posted July 11, 2005 You'll need to modify your osc cart to resemble the webpage. header.php footer.php column_left.php column_right.php all of the infoboxes .php and stylesheet.php. index.php also contains 3 sections that will need to be altered. You'll need to merge the html and php where appropriate. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
wizardsandwars Posted July 11, 2005 Share Posted July 11, 2005 p.s., in order to chagne some aspects of the infoboxes, you'll need to alter the boxes class found in /includes/classes/boxes.php. In order to chagne the way products are displayed in categories, you'll need to alter the product_listing module, found in /includes/modules/product_listing.php. There are a few more things that are hard to find, but that should be enough to get you started. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
rnvst Posted July 11, 2005 Author Share Posted July 11, 2005 Thanks alot wizardsandwars, i'll try to apply those changes immediately. Link to comment Share on other sites More sharing options...
wizardsandwars Posted July 11, 2005 Share Posted July 11, 2005 My pleasure. If you do something often enough, it becomes second nature. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
rnvst Posted July 11, 2005 Author Share Posted July 11, 2005 wizardsandwars: I am totally new at this and hence was hoping you might know which page such information can be found. The index.php page you mentioned, is it the one in e.g. OS Cart/includes/languages/english/index.php? Link to comment Share on other sites More sharing options...
♥Vger Posted July 11, 2005 Share Posted July 11, 2005 In osCommerce there are two files for most things (excepting files which deal purely with functions). So, you'll find an index.php in the root, and this calls in (includes) information contained in column_left and column_right, in the header and footer, and calls in information from the index.php file in the includes/languages/english/ folder. Don't use the osCommerce File Manager to edit files - it causes parse errors - read below my name for how to avoid them. Vger Link to comment Share on other sites More sharing options...
rnvst Posted July 12, 2005 Author Share Posted July 12, 2005 So should i begin changing code at the first listed "index.php"? Link to comment Share on other sites More sharing options...
wizardsandwars Posted July 12, 2005 Share Posted July 12, 2005 Yeah, the index.php contains the 'top' level of the catalog, amoung other things. Towards the bottom of the index.php you'll find a section labeled with a comment // show default page. Thats where you would start to modify that page. If I may, I would suggest, however, that you start in the header.php. it's not quite as easy to mess up, and it might be a little easier for you to understand. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.