Forum Moderators: coopster

Message Too Old, No Replies

Shopping Cart

shopping cart script

         

Ricky

5:47 pm on Mar 3, 2005 (gmt 0)

10+ Year Member



Ok, I need to create a shopping cart, just wondering if anyone has already created one that i can have a look and use as an example.

the simplier the better, dont matter and it would be nice if it had good comments

Kind regards
thanks All

coopster

6:25 pm on Mar 3, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, Ricky.

Have you had a look at some of the open source code at sourceforge, freshmeat, hotscripts, etc? You're likely to find something there that you could start with. Also, don't forget to browse the WebmasterWorld Ecommerce Forum [webmasterworld.com].

Ricky

8:07 pm on Mar 3, 2005 (gmt 0)

10+ Year Member



thanks you, will have a look Friday

Thanks

ergophobe

4:42 pm on Mar 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Can I suggest that you download several and take a quick look at the code. If it is completely hard to follow, move on.

My first foray into PHP was customizing an existing shopping cart. I wasted a lot of time working on one cart that had just terrible spaghetti code [webmasterworld.com] - it would literally open a tablein one file and close it in a file that was included by a file that was included in the original file.

So don't get too invested in any particular cart until you find one that has a general architecture that seems organized and makes sense to you. You'll be way better off IMO by putting some time in up front to review the code in several packages than by committing to one too early. If you have to look at four or five before you find one that's right for you, don't despair.

dreamcatcher

4:45 pm on Mar 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you have something like Fantastico installed, you can install a few with one click then have a look at each. There are several free ones that are very good.

dc