pdxluddite Posted February 26, 2004 Share Posted February 26, 2004 hi all, I have an install of oscommerce up and running, with STS as the templating application. Now I need to integrate the cart into the rest of the existing site by just including the cart box and an "add to cart" button for each product page. I'm not having much luck figuring out how to include() or require() the relevant information into the rest of the site. Any suggestions? Thanks in advance! Link to comment Share on other sites More sharing options...
pdxluddite Posted February 27, 2004 Author Share Posted February 27, 2004 bump Link to comment Share on other sites More sharing options...
pdxluddite Posted February 28, 2004 Author Share Posted February 28, 2004 for those that may be interested in a solution: http://www.oscommerce.com/community/contri...ons,1075/page,3 This worked well. Watch the cookie path; wacky things happen if the cookies aren't accessible to the OSCommerce directory as well as sitewide. I just changed all my cookie paths to the root, is working fine now. Is it just me, or is OSCommerce one of those pieces of software that is coded correctly, and in so doing is next to impossible to work with? not that I'm frustrated or anything. like why the hell is there a config file named english.php as well as a directory for english? any reason to have things scattered all over like that? Link to comment Share on other sites More sharing options...
Guest Posted March 10, 2004 Share Posted March 10, 2004 total agreement- following the workings of this application is like an african swallow. Seepms that the app has to be configured this way because of the multitude of developers working on it and the features it has. Thanks for the tip on the infobox outside- needed that. and I never would have thought english.php was a config file! Link to comment Share on other sites More sharing options...
ptrau Posted March 10, 2004 Share Posted March 10, 2004 Not true.....the configure.php and the english.php serve two completely different functions. config is for File server, web server and database configurations. The catalog/includes/languages/english.php file is to define the most commonly used language terms used accross the website making it extraordinarily simple to make changes. The files contained in catalog/includes/languages/english are to define language specific to certain pages. Most programs that are well coded seperate these fuctions for simplicity. OSC is not a simple shopping cart script. It is a highly evolved, and may I mention FREE, ecommerce suite that is highly configurable and offers an amazing array of add-ons and FREE support. If all of config and lang files were combined, the speed of the program would suffer and the majority of the newbies (including myself) could have never gotten past the first paragraph of the instructions. Just my opinion. "Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.