You are on page 1of 3

Web Programming (2) - Lab

Online Shopping System


Project Description

Using PHP and MySQLI, implement a Web-based application for an


online store. The online store maintains an inventory of any products or
services you choose (products or service can purchase online).

The project consists of two parts that are:

 Public web site: that shows the service or products the company
need to sale.
 Control Panel: that used by legal(admin) users to add, update,
delete products.

General Functional Requirements:

The features and functionalities that you need to provide in the web
application:

1. Control Panel

- Login with remember me

- Add Category
- Update Category
- Delete Category
- View Categories

- Add product
- Update product
- Delete product
- View products

- Log out
2. Web site

1. View Categories.
2. View products of each Category.
3. Search by keyword (choose any keyword to search of your choice).

Detailed Requirements

1. Category: Every category has id, name and description.

2. Product

 Has fields that are: id, name, type, price, image “bonus”,
categoryId, discount.
 The type of product is normal or discount.
 The normal product is purchased by the specified price.
 The discount product is purchased by discount price that calculated
using price and discount percentage fields.

3. View Categories

 View all information of categories as a table.

4. View Products
 View all information of products as a table (name,
categoryName, type, price, percentage).

Notes:
1. Don’t forget use session.
2. login information: username and password.
3. Make validation if username not admin.
4. Any operation performed in the application, the status of executing it
must be shown (e.g. as alert).
5. The passwords of the users must be one-way-encrypted.

Front-End

About the theme you want to use in the Store. You can develop a new one or
.get from the internet one. But the template must be responsive

You might also like