7 Replies - 790 Views - Last Post: 16 June 2010 - 08:03 PM Rate Topic: -----

#1 Codin  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 6
  • View blog
  • Posts: 45
  • Joined: 31-March 10

Shopping Carts

Posted 10 June 2010 - 09:04 AM

I have been doing some research on the internet and I understand that shopping carts are basically php and a database . So how hard is it to build my own custom shopping cart with php and where would I start? :gunsmilie:
Is This A Good Question/Topic? 0
  • +

Replies To: Shopping Carts

#2 ShaneK  Icon User is offline

  • require_once("brain.php"); //Fatal error :/
  • member icon

Reputation: 240
  • View blog
  • Posts: 1,224
  • Joined: 10-May 09

Re: Shopping Carts

Posted 10 June 2010 - 09:08 AM

Not very hard. You'd start with a server than has PHP and a database, then you'd go on to learn PHP and SQL and probably use something like the mysql_ or mysqli_ functions (mysqli preferred) to query your database.

It's pretty simple, just gotta learn the basics.

Yours,
Shane~

This post has been edited by ShaneK: 10 June 2010 - 09:09 AM

Was This Post Helpful? 1
  • +
  • -

#3 Andy M  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 14
  • Joined: 09-June 10

Re: Shopping Carts

Posted 10 June 2010 - 09:25 AM

Do you want one to work with, and just customize or one you want to make from scratch?

If you want an open source one, http://php.opensourc...3&cat=eCommerce

You can get premium ones that are obviously more professional etc.

Awaiting your answer to help you out more =P
Was This Post Helpful? 1
  • +
  • -

#4 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3718
  • View blog
  • Posts: 5,990
  • Joined: 08-June 10

Re: Shopping Carts

Posted 10 June 2010 - 09:30 AM

There are a lot of free shopping carts out there. I find it helpful, when I want to learn new things, to look through code that already works, just to see how it is actually done. I'd recommend trying that.

If you don't know the basics, though, you'd want to start there. The interwebz are crawling with beginner PHP articles and tutorials, so you shouldn't have any trouble locating something that works for you. I always liked the W3Schools PHP tutoral.

If you don't have a PHP host to play with, you can set up a test server on your on PC. The XAMPP package makes it pretty simple. Just click through the setup wizard and its ready!
Was This Post Helpful? 1
  • +
  • -

#5 Codin  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 6
  • View blog
  • Posts: 45
  • Joined: 31-March 10

Re: Shopping Carts

Posted 10 June 2010 - 02:21 PM

Thank you all for the help it has helped me decide what to do. :scooter:
Was This Post Helpful? 0
  • +
  • -

#6 nirvanarupali  Icon User is offline

  • D.I.C Stomach
  • member icon

Reputation: 13
  • View blog
  • Posts: 1,119
  • Joined: 01-August 07

Re: Shopping Carts

Posted 13 June 2010 - 04:33 PM

When I read this book, "Core Web Application Development with PHP and MySQL - Prentice Hal ", I think I have learned all I need to know which include,

1.) How to write a blog.
2.) How to write a forum.
3.) How to write a shopping cart.
4.) How to write a reusable code.

So I can recommend to read this book.
Was This Post Helpful? 0
  • +
  • -

#7 no2pencil  Icon User is online

  • Toubabo Koomi
  • member icon

Reputation: 5303
  • View blog
  • Posts: 27,188
  • Joined: 10-May 07

Re: Shopping Carts

Posted 13 June 2010 - 09:40 PM

View PostCodin, on 10 June 2010 - 10:04 AM, said:

where would I start?

Pad of paper & a pencil. Think through the layout of the database, tables, columns, & permissions, & the PHP part will be 100 times quicker & easier to code.

If your 1st step is <?php then you are doing it wrong & will hit a thousand brick walls.
Was This Post Helpful? 2
  • +
  • -

#8 xmodz  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 38
  • Joined: 07-March 10

Re: Shopping Carts

Posted 16 June 2010 - 08:03 PM

View Postno2pencil, on 13 June 2010 - 08:40 PM, said:

View PostCodin, on 10 June 2010 - 10:04 AM, said:

where would I start?

Pad of paper & a pencil. Think through the layout of the database, tables, columns, & permissions, & the PHP part will be 100 times quicker & easier to code.

If your 1st step is <?php then you are doing it wrong & will hit a thousand brick walls.


Can't argue with this one :winkiss:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1