View Full Version : Question about Shopping Cart

01-18-2010, 11:24 PM
I downloaded osCommerce Online Merchant v3.0 which is a PHP shopping cart. I've never used one before in a script.

Would anyone be willing to help step me through it to learn how to install one and use one. After I learn it I can help others.

01-19-2010, 12:52 AM
Did you create a new MySQL database?
That's the first step.

You should have:
the host name
the database name
the user name
the password

... and you enable the user to read/write/modify .. full permissions

(but don't post them here).

let us know when you have that part done.

01-19-2010, 01:03 AM
Ok got that done

01-19-2010, 03:23 AM
Now you need to determine where to put your store.
You can create a directory called "store" if you want.
Determine where you want to put the script, create the directory,
and upload all of the files/folders into that directory, keeping all
of them in the same locations that they are now (the folders, sub-folders, etc).

There must be some instructions that came with it.

Then, they have one file called "config.php" or "config .. something" and that's
where you edit your MySQL account settings, and any other settings they need.

Then, they probably have an install program that does the final installation.
Run that program and delete it after a successful installation.

Read and follow the instructions that came with it.

If something fails, it will tell you.

01-19-2010, 04:22 AM
All that will be easy to do, but the problem is how do I build it into my PHP site? Like I want the shopping cart page and checkout to be in my template.

Here is a test site I built. All fake content on there, just built it to test. I want the shopping cart to look like this, where it's all within my scripts and website.


01-19-2010, 03:13 PM
wow ... usually you do it the other way around.
You install the shopping cart script, and then customize IT to look like your site or template.
The shopping cart has some theme setup that will get you close to the layout.
Number of columns, banner, footer, etc. You then change the graphics, colors, fonts,
and other things to make it look as close as possible to what you want it to be.

01-19-2010, 03:43 PM
I wasn't sure how it was done, having not done one before. So basically it'd be easier to create a custom shopping cart from blank, rather than, delete my website and start over around the shopping cart?

I wish these things were simple.

01-19-2010, 06:19 PM
In my opinion, I would start over.

Save a safe backup of your existing website on your PC and delete all online files.

I would install the shopping cart script in your main directory, configure it, install it,
and make sure it works. It comes with "fake" items to test it (most likely).
Upload some of your own items and learn how it works.
Experiment with the PayPal gateway, and get things working properly.

THEN ...
If you get that far successfully, begin working on the "theme", the CSS files,
and graphics to make it look "sort of" like your original design. You won't get
it exact, but you can make it look similar.

But, that's just my opinion. I think creating one from scratch will take you
until the end of the year to make it all work ... especially the credit card stuff.

01-19-2010, 06:51 PM
Bummer, thanks for the help, doubt I will do it after all. I don't have the time to spend doing that much work alone.

01-19-2010, 08:25 PM
Sorry ... hire a programmer and see what their opinion is.
Maybe they can pull-off some coding that I'm not familiar with.

01-19-2010, 10:33 PM
It's an idea, but it'd get expensive, I see people charging $100+ to install shopping carts, can only think how much it'd be to do layout.