[PHP] Simple shopping basket tutorial

Associate
Joined
29 May 2003
Posts
2,038
Location
Cambridge
Can anybody recommend a tutorial for a simple shopping basket system using PHP and MySQL? I spent a couple of hours on Google last night but didn't find anything that really fitted the bill - then again, I was knackered at the time ...

It doesn't need to have all the bells and whistles, just a simple system that would allow someone to browse a site with a few (way less than 100) products and add/remove one or more of them to/from their basket. That said, the option to do free delivery on an order totalling over a certain amount would be nice to have. I'd then pass them on to a payment gateway like Protx or something similar for final payment.

If they're needed, I'd rather use sessions than cookies if possible - I know sessions need cookies enabled to work to their best and that cookies don't deserve the paranoia that surrounds them, but if their use could be avoided or minimised that would be ideal.

Unfortunately, I work for a very design-centred company and none of the off-the-shelf packages like Actinic or OSCommerce offer anything like the kind of design flexibility that our designers demand, so we'd have to develop something that could effectively be 'bolted on' to a bespoke site. Any ideas?
 
That was one of the ones I found last night - as I say I was knackered at the time, so I didn't study it in vast detail. It may well turn out to do what I need.

Just wondered if there were any more that anybody here had personally used and could recommend ...
 
Adnams Drinker said:
That was one of the ones I found last night - as I say I was knackered at the time, so I didn't study it in vast detail. It may well turn out to do what I need.

Just wondered if there were any more that anybody here had personally used and could recommend ...
Hi. I *think* I used that one in the past.....

I'd use an existing checkout, however, instead..... thinking of security etc.
 
Adnams Drinker said:
Unfortunately, I work for a very design-centred company and none of the off-the-shelf packages like Actinic or OSCommerce offer anything like the kind of design flexibility that our designers demand, so we'd have to develop something that could effectively be 'bolted on' to a bespoke site. Any ideas?
Try X-Cart. It uses the [**=http://smarty.php.net]Smarty[/url] templating system so it's totally flexible in that regard (or should be - depends what you want to do with it) - probably worth a shot :)
 
Add me on MSN if you get stuck or need any help

Ive just finished creating a shopping cart from scratch for the company I work for and integrating it into Protx Form VSP :)

The Protx part of it is really simple, a lot simpler than you think, only problems that I ever came across were minuscule.
 
tsinc80697 said:
Add me on MSN if you get stuck or need any help

Ive just finished creating a shopping cart from scratch for the company I work for and integrating it into Protx Form VSP :)

The Protx part of it is really simple, a lot simpler than you think, only problems that I ever came across were minuscule.
Cheers dude, that's much appreciated :)
 
Back
Top Bottom