Trailz Posted December 20, 2003 Posted December 20, 2003 How do I keep what is in the cart when I add other html/php pages? Is there a contrib? Or is it as simple as just adding require('includes/application_top.php'); to the top? Thanks
GBillerty Posted December 23, 2003 Posted December 23, 2003 If someone as clues.... I'm also searching for that king of mod or contrib or instructions... I searched all of the forum and get no results except a mod called osWrapper but that mod dosen't work properly. Running ms2
quietflyer Posted December 23, 2003 Posted December 23, 2003 I to want to know how to do this, I tried just adding the require('includes/application_top.php');, but that didn't work. If anybody has any ideas, it would help a lot. Cory
doby48 Posted December 23, 2003 Posted December 23, 2003 Ok, I have many added on pages to my site and I like to keep my entire site in .php versus .html that way I can keep dynamic info across all pages and still maintain header/footer/navbar info from one file. That being said, when I want to add a new page I define it in catalog\includes\application_top.php in the section: // define the filenames used in the project The next thing to do is to create the actual page. The easiest way to do this is to create a template one time and then always work off the same template. To create your first template, I would suggest making a copy of something simple such as login.php and naming it template.php. If you use a copy of login.php then you will need to remove some information at the top of the page, pretty much everything AFTER require('includes/application_top.php'); and BEFORE require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGIN); and change the name of your file on approx line #3 to whatever you are going to save the file as. Next thing to do is to create your language file in catalog\includes\languages\english (or whatever language you are working on) The easiest way to do this is to make a copy of a basic file, in this case a copy account.php is one of the easiest to work off of. You will define any necessary values in that form and save it as the SAME name as the file you had created in the step above. Depending on your configurations you made need to do some fine tuning, but that should at least get you on your way. Remember... Pillage BEFORE you burn!
gottaloveit Posted December 23, 2003 Posted December 23, 2003 I've done this as well, and it was pretty easy to do. Check out My latest osCommerce and look at the "Furniture" box on the left hand side. Also, the 2 main pictures in the center on the front page are clickable to non-oscommerce pages. GottaLoveIT PHP5 Fixes Cancelled Orders Faster Page Loads, Less DB Queries Enhanced Vendors Category Images / Folders Tree
Guest Posted December 23, 2003 Posted December 23, 2003 I've done this as well, and it was pretty easy to do. Check out My latest osCommerce and look at the "Furniture" box on the left hand side. Also, the 2 main pictures in the center on the front page are clickable to non-oscommerce pages. That looks pretty good. Its like having a super-customized categories box. I bet the next step is to make each pic on the furniture or julian pages, etc, clickable so as to go to more info, etc, so as to place an order.
gottaloveit Posted December 23, 2003 Posted December 23, 2003 Well thats what I wanted to do as well, but those two lines in this store are custom made to order, so it would be really hard, unless there was integration to a CAD program to osCommerce :D But nonetheless, that would be something that would add a lot of value and pretty easily done. It would be basically like making the pic clickable form just as the "buy now" button. GottaLoveIT PHP5 Fixes Cancelled Orders Faster Page Loads, Less DB Queries Enhanced Vendors Category Images / Folders Tree
Recommended Posts
Archived
This topic is now archived and is closed to further replies.