Guest Posted July 30, 2003 Posted July 30, 2003 I took a look at the link provided, and I still can't do what I need to.. Let me point out that I want to use HTML documents to run the shopping cart, i.e. - they login at a prompt at the top of every screen, cart details are at the top, etc.. Is this even poss? If you need a better idea of what I'm talking about - look at the Alpha 2 version of the website in question at www.cxcs.addr.com, and tell me if I can even do this.. Thanks for your help! -Jerry
Guest Posted July 30, 2003 Posted July 30, 2003 adding require(DIR_WS_BOXES . 'login.php'); to header.php should let you do that.
Guest Posted August 1, 2003 Posted August 1, 2003 OK - I'm lost. :oops: I want to use the shopping cart, but I don't want the interface. I want to use my interface, the output should goto my HTMLs, where I want them, and the buttons need to goto the PHPs needed to access and do all the wonderous things it does. Understand? Maybe? Basicly - I don't know anything about PHP. I grabed some docs that say that HTML and PHP work great together - and explain GET and POST form commands and how they work - but even that I can't understand very well. Do I need to alter my HTML codes to include the PHP scripts? Or just point? Or do I have to re-write everything? Serious help is needed! I love the interface I spent the last 6mos developing - but I need a better paypal cart system, and this one is the best. Can someone help me?? Or just tell me it can't be done. ?? I would hire someone if I could afford it, but it's for a small home busniess as it is. Thanks in advance.
Guest Posted August 1, 2003 Posted August 1, 2003 The simplest thing would be to redo the osCommerce layout to match the rest of your site. This is certainly doable. Over the course of the project you will find yourself learning some PHP, mostly to troubleshoot why things aren't working (when you rearrange things, sometimes it breaks the PHP logic). osCommerce is not currently modular enough to access just the cart features without modifying the code. To do that would actually be more difficult, since you would need to know how to call the php from your layout. If you have a budget for this, you could post in the Seeking Commercial Help section for quotes to retemplate your site for you. Hth, Matt
Guest Posted August 1, 2003 Posted August 1, 2003 Thank you Matt. That mad better sence. By chance, what codes would I look for? Are they HTML style codes or PHP? Maybe you have another link to help me out there. Thanks again! Lost and Starting to See to the Light! - Jerry
Guest Posted August 1, 2003 Posted August 1, 2003 PHP is a server side preprocessor that creates HTML code. The way it works is that the PHP is actually embedded in the HTML code. You can rewrite the HTML code, so long as you don't rearrange the PHP code blocks (<?php //php code that may be multi-line// ?>). Wiki catalog modifications link Hth, Matt
Guest Posted August 2, 2003 Posted August 2, 2003 Thank you, Thank you, Thank YOU! That simple post made me understand everything so much better. So I can keep my HTML codes, and place the PHP code blocks (unbroken) within. Thats nice. Thank you again Matt! Your a hell of a programmer to know so much about PHP. *Edit* - Johnson - author pm'd
Recommended Posts
Archived
This topic is now archived and is closed to further replies.