Forum Moderators: coopster
Does anyone know any very basic PHP based shopping cart that doesnt use databases and works with Windows IIS?
I want something very basic. There is currently a javascript based one that i use which is: ht*p://www.nopdesign.com/freecart/ . i want something as simple as that but not in javascript i need it in php.
any suggestions would be appreciated
Cheers
Linda
you can use the seesion functions build in php and take an array as the shopping bag. each item represents one item in the basket then.
each array item itself is then again an array storing the needed values like product id, quantity, title, price etc.
for a smaller shop this will do the job. you won't need a database for it either.
-hakre
any suggestions would be very much appreciated.
Cheers
Linda
Have you tried the usual script resources? PHPBuilder currently has an article on building a mini shopping basket with only PHP4 sessions.
If your customers are unable to add items to your Javascript cart it may be because they have cookies disabled. Unless you know about sessions in PHP you might get the same problem with the above tutorial.
Good luck in your hunt, but if you've already implemented the Javascript cart you may have the best luck asking questions in the NOP forums. A PHP solution might not be an easy 'bolt-on' to your HTML pages in the same way that NOP cart is.
the javascript cart i am referring to is from www.nopdesign.com/freecart
there are two main reasons i cannot use it anymore. firstly, alot of my customers are students and they use college computers to order, and alot of colleges turn off their cookies and as a result my customers cannot order.
and secondly javascripts dont work perfect on all browsers, it gives some javascript error alerts to people with other browsers and that gets pretty annoying.
Any help would very much be appreciated.
Cheers
Linda