shopping cart
Posted: Sun Dec 16, 2007 8:38 pm
I want to make a simple shopping cart using oop.
The table structure is:
category
cat_id
cat_name
sub_category
sub_cat_id
cat_id
sub_cat_name
product
sub_cat_id
product_id
product_name
product_qty
product_price
product_image
size
size_id
size_name
member
member_id
member_name
member_name
member_country
member_state
member_city
member_zip
member_address
cart
cart_id
product_id
size_id
qty
order
member_id
order_status
order_date
As this is the first attempt in OOP, i am not sure which method should go to which class?
The table structure is:
category
cat_id
cat_name
sub_category
sub_cat_id
cat_id
sub_cat_name
product
sub_cat_id
product_id
product_name
product_qty
product_price
product_image
size
size_id
size_name
member
member_id
member_name
member_name
member_country
member_state
member_city
member_zip
member_address
cart
cart_id
product_id
size_id
qty
order
member_id
order_status
order_date
As this is the first attempt in OOP, i am not sure which method should go to which class?