[thelist] php shopping carts

Andrew Maynes andrew at humanbehaviour.co.uk
Sat Nov 2 09:25:00 CST 2002


payment gateway is needed but the client doesn't have a merchant account.  Only
Barclay's provided this apparently!

Anyone know the way forward?

Andrew

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Dunstan Orchard
Sent: Tuesday, October 22, 2002 15:33
To: thelist at lists.evolt.org
Subject: Re: [thelist] php shopping carts


> I have an opportunity to bid on a job with a shopping cart. Since
> I've been learning PHP and really liking it - I'd like to push for
> PHP / mySQL on the job. How easy/difficult is it to set up a fairly
> simple cart system in PHP? I'm sure there are some scripts out there
> too, so if anyone can point me to some reliable stuff that would be
> great. I'm also concerned about security issues and all that, not
> having built a system like that before...

Hey tom,

I'd build your own - it's jolly easy when you sit down and think about what it
is. The only point at which security comes in is when people submit any
payment details... I'd have to let others coment on that side of things.

The basics of shopping carts (as far as I know) are just that you give a user
a unique id (either via a cookie or a session variable) and then each time
they add something to their cart you just add it to the database with their
unique id. Ditto for remove. When they want to display the cart you just
search the db table for all records with their id and display them.

I hunted around for ages for a shopping cart that would suit my purposes, but
when I sat down to work out what they did, it turned out to be very simple
indeed.

Admittadley I've got a question on this list asking for help with my shopping
cart, but we'll ignore that for now! :op

Just think what you want to do, break it down into steps and you'll soon be
well on your way and probably a lot wiser about php. It's a good learning
exercise I think.

cheerio - dunstan

---------------------------
Dorset, England
http://www.1976design.com/
http://www.orchard.it/
http://www.maccaws.org/
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 10/15/02

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002




More information about the thelist mailing list