Online Shop

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lepass_7
Forum Newbie
Posts: 7
Joined: Wed Apr 02, 2008 5:15 am

Online Shop

Post by lepass_7 »

Hey guys a friend of mine owns a fast food restaurant and he asked me if we can make a web page php-based where his customers can order online :drunk: .
I am looking for a good tutorial or something.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Online Shop

Post by aceconcepts »

I dont know of any tutorials, try using a search engine.

However, if you were to code the shop from scratch you would need the following tables:

1. product table (dishes)
product_id
product_name
product_description
product_price

2. shopping cart
product_id
session_id
qty

3. delivery table
delivery_id
delivery_title
delivery_description

4. order table
order_id
date
time
session_id
delivery_id
order_total

5. order details table
order_id
product_id
qty
order_total_ea

So that should just about do it for your shop.

If you need anymore help let me know.
fiorefrank
Forum Newbie
Posts: 3
Joined: Thu Apr 03, 2008 4:53 am

Re: Online Shop

Post by fiorefrank »

lepass_7 wrote:Hey guys a friend of mine owns a fast food restaurant and he asked me if we can make a web page php-based where his customers can order online :drunk: .
I am looking for a good tutorial or something.
hi,
just order or pay too?
Post Reply